joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a0d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
push edi
push 0x423294
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x40a151
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x40a14b
push esi
lea eax, [ebx + 1]
push eax
push 1
call fcn.004166f8
mov esi, eax
add esp, 8
test esi, esi
je 0x40a136
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a13b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40a13b
push ebx
push eax
push esi
call fcn.0040d680
add esp, 0xc
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret
push esi
call fcn.00416679
add esp, 4
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret
pop ebx
xor eax, eax
pop edi
pop ebp
ret
xor eax, eax
pop edi
pop ebp
ret

Function at 0x40a1d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x42c760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40a27d
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32First
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.0040f993
add esp, 8
test eax, eax
jne 0x40a240
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x124]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b37e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40a276
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.0040f993
add esp, 8
test eax, eax
je 0x40a223
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40a251
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040b37e
mov esp, ebp
pop ebp
ret
Function at 0x40a2d0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop word [eax + eax]
xor eax, eax
test cl, 1
je 0x40a2eb
bts eax, 7
shr ecx, 1
test cl, 1
je 0x40a2f6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x40a301
bts eax, 5
shr ecx, 1
test cl, 1
je 0x40a30c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x40a317
bts eax, 3
shr ecx, 1
test cl, 1
je 0x40a322
bts eax, 2
shr ecx, 1
test cl, 1
je 0x40a32d
bts eax, 1
test cl, 2
je 0x40a336
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax*4 + 0x42f848], ebx
lea ecx, [edx + 1]
test bl, 1
je 0x40a3d6
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x40a3c7
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x42f848], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x40a2e0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a4f0
Capabilities:
Create process on windows
Get common file path
Resume thread
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x42c760]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x268]
mov dword [ebp - 0x26c], 0x44
push 0
push eax
call fcn.0040cfa0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a540
sub ecx, edx
cmp byte [ebp + ecx - 0x109], 0x5c
je 0x40a56c
push 0x4230c0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0040f8ef
add esp, 0xc
push edi
push str.DSAutoDel.bat
lea eax, [ebp - 0x108]
push eax
push 0x4232ac
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00404c40
add esp, 0x14
lea eax, [ebp - 0x20c]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x214], edi
cmp edi, 0xffffffff
je 0x40a728
push ebx
push 0x74
call fcn.0040a0d0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x210], ebx
test ebx, ebx
je 0x40a727
cmp byte [ebx], 0
push esi
mov esi, ebx
je 0x40a66d
nop dword [eax]
push 0xa
push str.MODULEFN
push esi
call fcn.00416680
add esp, 0xc
test eax, eax
jne 0x40a65b
lea edi, [esi + 0xa]
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a610
sub ecx, edx
mov edx, 0x42fc58
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40a621
sub edx, ebx
lea eax, [ecx + 1]
push eax
push edi
lea eax, [edx + esi]
push eax
call fcn.0040d100
mov eax, 0x42fc58
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a643
sub eax, edx
push eax
push 0x42fc58
push esi
call fcn.0040d100
add esp, 0xc
inc esi
cmp byte [esi], 0
jne 0x40a5f0
mov ebx, dword [ebp - 0x210]
mov edi, dword [ebp - 0x214]
push 0
lea eax, [ebp - 0x228]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push ebx
call fcn.00416679
add esp, 4
mov dword [ebp - 0x240], 1
xor eax, eax
mov word [ebp - 0x23c], ax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0x44
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40a726
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xfffffffffffffff1
push dword [ebp - 0x220]
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push dword [ebp - 0x224]
call edi
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x220]
call edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040b37e
mov esp, ebp
pop ebp
ret
Function at 0x40a740
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x42c760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x9c]
push edi
push 0x98
push 0
push eax
mov dword [ebp - 0xa0], 0x9c
call fcn.0040cfa0
add esp, 0xc
lea eax, [ebp - 0xa0]
xor ebx, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x40a8b1
mov eax, dword [ebp - 0x9c]
cmp eax, 5
jne 0x40a842
mov eax, dword [ebp - 0x98]
cmp eax, 1
jne 0x40a7b9
mov ebx, 0x1fe
jmp 0x40a8b1
cmp eax, 2
jne 0x40a8b1
cmp byte [ebp - 6], 1
jne 0x40a7d2
mov ebx, 0x208
jmp 0x40a8b1
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call edi
test eax, eax
mov ecx, 0x209
mov eax, dword [ebp - 0x9c]
cmove ebx, ecx
cmp eax, 5
jne 0x40a842
cmp dword [ebp - 0x98], 2
jne 0x40a8b1
cmp byte [ebp - 6], 1
je 0x40a8b1
push 0x59
call edi
test eax, eax
mov ecx, 0x20b
mov eax, dword [ebp - 0x9c]
cmovne ebx, ecx
cmp eax, 5
jne 0x40a842
cmp dword [ebp - 0x98], 2
jne 0x40a8b1
cmp byte [ebp - 6], 1
je 0x40a8b1
test dword [ebp - 8], 0x8000
je 0x40a8b1
lea ebx, [ecx - 1]
jmp 0x40a8b1
cmp eax, 6
jne 0x40a894
mov eax, dword [ebp - 0x98]
test eax, eax
jne 0x40a862
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0x258
jmp 0x40a8b1
cmp eax, 1
jne 0x40a877
xor ebx, ebx
cmp byte [ebp - 6], al
setne bl
add ebx, 0x262
jmp 0x40a8b1
cmp eax, 2
jne 0x40a88d
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0x26c
jmp 0x40a8b1
cmp eax, 3
jne 0x40a8b1
jmp 0x40a87c
cmp eax, 0xa
jne 0x40a8b1
cmp dword [ebp - 0x98], 0
jne 0x40a8b1
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0x276
test esi, esi
je 0x40a8fb
push str.IsWow64Process
push 0x423374
mov byte [esi], 0
mov dword [ebp - 0xa4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40a8ef
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 0xa4], 1
sete al
mov byte [esi], al
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b37e
mov esp, ebp
pop ebp
ret
Function at 0x40af10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x42c760]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x230], eax
xorps xmm0, xmm0
push ebx
lea eax, [ebp - 0x108]
mov dword [ebp - 0x234], 2
xor ebx, ebx
mov dword [ebp - 0x22c], eax
push edi
xor edi, edi
movq qword [ebp - 0x226], xmm0
mov eax, 0x8694
mov dword [ebp - 0x21e], 0
mov word [ebp - 0x228], ax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], edi
cmp dword [0x42c74c], ebx
jle 0x40b142
push esi
nop
test edi, edi
jne 0x40b091
push 0x423428
push 0x423438
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00404c40
add esp, 0x10
lea ebx, [ebp - 0x108]
cmp byte [ebp - 0x108], 0
je 0x40b07c
nop dword [eax]
xor esi, esi
cmp dword [0x42c73c], esi
jle 0x40b06c
xor edi, edi
mov eax, dword [0x42c740]
add eax, edi
push dword [eax + 0x230]
push eax
push ebx
call fcn.00416680
add esp, 0xc
test eax, eax
je 0x40b00c
inc esi
add edi, 0x238
cmp esi, dword [0x42c73c]
jl 0x40afe0
jmp 0x40b06c
mov edx, dword [0x42c740]
imul esi, esi, 0x238
mov edi, dword [edx + esi + 0x230]
add edi, ebx
mov ecx, edi
lea eax, [ecx + 1]
mov dword [ebp - 0x218], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b030
sub ecx, dword [ebp - 0x218]
lea eax, [ecx + 1]
push eax
mov eax, dword [edx + esi + 0x234]
add eax, ebx
push edi
push eax
call fcn.0040d100
mov eax, dword [0x42c740]
push dword [esi + eax + 0x234]
add eax, 0x20
add eax, esi
push eax
push ebx
call fcn.0040d100
add esp, 0x18
inc ebx
cmp byte [ebx], 0
jne 0x40afd0
mov edi, dword [ebp - 0x214]
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [ebp - 0x210]
mov eax, dword [0x42c750]
imul esi, edi, 0x104
push 0x5c
add eax, esi
push eax
call fcn.0040c820
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0040cfa0
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0040cfa0
mov eax, dword [0x42c750]
add eax, esi
push eax
push 0x423440
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00404c40
push 0x423444
push str._sInit
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00404c40
add esp, 0x40
push dword [ebp - 0x22c]
call fcn.004090c0
add esp, 4
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x40b12e
inc ebx
mov dword [ebp - 0x210], ebx
inc edi
mov dword [ebp - 0x214], edi
cmp edi, dword [0x42c74c]
jl 0x40af90
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0040b37e
mov esp, ebp
pop ebp
ret
Function at 0x40b160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x42c760]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5c
push 0x42fc58
call fcn.0040c820
test eax, eax
mov ecx, 0x42fc58
lea edx, [eax + 1]
cmovne ecx, edx
lea eax, [ebp - 0x414]
push ecx
push 0x410
push eax
call fcn.0040f453
lea ecx, [ebp - 0x414]
add esp, 0x14
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b1b0
push esi
sub ecx, edx
push str..log
push 0x410
lea eax, [ebp + ecx - 0x418]
push eax
call fcn.0040f453
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b2f0
mov ecx, dword [0x42f7c0]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
test ecx, ecx
je 0x40b27d
push ecx
push 0xffffffffffffffff
call fcn.00404ca0
add esp, 8
lea ecx, [ebp - 0x414]
push 0x410
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x414]
push eax
call fcn.004090c0
lea ecx, [ebp - 0x414]
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b247
push 0
lea eax, [ebp - 0x418]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x414]
push eax
push esi
call edi
push 0
lea eax, [ebp - 0x418]
push eax
push 2
push 0x423464
push esi
call edi
mov ecx, dword [0x42f7c0]
push 0x410
lea eax, [ebp - 0x414]
push eax
xor eax, eax
test ecx, ecx
setne al
lea eax, [eax*2 + 0x406]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x414]
push eax
call fcn.004090c0
lea ecx, [ebp - 0x414]
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b2b8
push 0
lea eax, [ebp - 0x418]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x414]
push eax
push esi
call edi
push 0
lea eax, [ebp - 0x418]
push eax
push 2
push 0x423468
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040b37e
mov esp, ebp
pop ebp
ret

Function at 0x40df2c
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x423a10
push str.FlsAlloc
push 0
call fcn.0040deac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40df5e
push dword [ebp + 8]
mov ecx, esi
call fcn.0040c1f9
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x40dfa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x423a34
push str.FlsGetValue
push 2
call fcn.0040deac
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x40dfd1
mov ecx, esi
call fcn.0040c1f9
call esi
jmp 0x40dfd7
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret
Function at 0x40dfda
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x423a48
push str.FlsSetValue
push 3
call fcn.0040deac
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x40e00e
mov ecx, esi
call fcn.0040c1f9
call esi
jmp 0x40e014
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x416e8a
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416d4d

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x3aec18b0
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x5cfc70e0
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4f76a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9a000]
mov dword [edi + 0xcf740], 0x85671e3f
push edi
jmp 0x4f76ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f76d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f76c0
mov eax, 1
add ebx, ebx
jne 0x4f76e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f76f4
jne 0x4f7713
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f7713
dec eax
add ebx, ebx
jne 0x4f7700
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f76d8
add ebx, ebx
jne 0x4f770f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f7765
xor ecx, ecx
sub eax, 3
jb 0x4f772b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f779a
sar eax, 1
mov ebp, eax
jmp 0x4f7736
add ebx, ebx
jne 0x4f7736
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f7704
inc ecx
add ebx, ebx
jne 0x4f7744
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f7704
add ebx, ebx
jne 0x4f7751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f7746
jne 0x4f7762
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f7746
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f7784
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f7776
jmp 0x4f76c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f7784
add edi, ecx
jmp 0x4f76c6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f77a2
cmp byte [edi], 0x11
jne 0x4f77a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4f77a7
lea edi, [esi + 0xf0000]
mov eax, dword [edi]
or eax, eax
je 0x4f781f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x109754]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1098d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f77d4
mov ecx, edi
jns 0x4f7803
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1098d4]
or eax, eax
je 0x4f7819
mov dword [ebx], eax
add ebx, 4
jmp 0x4f77f1
call dword [esi + 0x1098e4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4f7850
cmp al, 0xef
ja 0x4f7843
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4f7825
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4f7832
mov ebp, dword [esi + 0x1098d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4f7884
sub esp, 0xffffff80
jmp 0x420577
Function at 0x433006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x9eb920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9eb96c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9eb932
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9eb9d0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9eba22
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9eba28
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa03f15
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a03bd5

Function at 0xa08d0f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a08b8e

Function at 0xa0e2c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa0e2ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa0e2ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xd8c0a29
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x76e36fec
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219