joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003d3e0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x100cb080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov bl, 1
push edi
lea edi, [esi + 0x414]
test edi, edi
je 0x1003d424
push 0
push 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp byte [ebp + 8], 0
jne 0x1003d434
cmp byte [esi + 8], 0
jne 0x1003d4e8
lea eax, [ebp - 0x110]
xorps xmm0, xmm0
push eax
push 0
push 0
push edi
movq qword [ebp - 0x110], xmm0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1003d4e8
mov eax, dword [ebp - 0x10c]
test eax, eax
ja 0x1003d4e8
mov ecx, dword [ebp - 0x110]
jb 0x1003d477
cmp ecx, 0x12c00000
jae 0x1003d4e8
mov edx, dword [esi + 0x3f8]
xor bl, bl
test edx, edx
je 0x1003d4a1
mov ecx, dword [edx]
push 0
push 0x80004005
push 0
mov eax, dword [ecx]
push 0x6e
call dword [eax + 4]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x110]
cmp dword [0x100c8418], 7
mov dword [0x100c82e8], 7
jg 0x1003d4e8
shrd ecx, eax, 0x14
mov edx, 0x100b337c
shr eax, 0x14
test byte [esi + 0x38], 2
push eax
push ecx
lea eax, [ebp - 0x108]
mov ecx, 0x100b3378
push eax
cmove ecx, edx
push ecx
push str.MFMuxer::CheckDiskSpace:__s__Insufficient_disk_space_on__s_._Available__lld_MB_
push 0x100c82e0
call fcn.10001a0f
add esp, 0x18
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100041bf
mov esp, ebp
pop ebp
ret 4
Function at 0x1003d6f0
Capabilities:
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100cb080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push 0
mov dword [ebp - 0x110], ebx
mov ecx, dword [ebx + 0x410]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.10002180
divsd xmm0, qword [0x100b0d20]
call fcn.10004ee4
mov ecx, dword [ebx + 0x410]
push 1
mov dword [ebx + 0x408], eax
mov dword [ebx + 0x40c], edx
mov eax, dword [ecx]
push ebx
push 0x1000516e
call dword [eax + 0x28]
mov esi, eax
test esi, esi
jns 0x1003d8a0
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
add ebx, 0x54
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x1003d847
cmp edi, 0xffffffff
je 0x1003d847
mov byte [ebp - 0x109], 1
xorps xmm0, xmm0
movq qword [ebp - 0x118], xmm0
test ebx, ebx
je 0x1003d7bf
push 0
push 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x118]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1003d7ec
cmp dword [ebp - 0x114], 0
jl 0x1003d7ec
jg 0x1003d7e5
cmp dword [ebp - 0x118], 0
jbe 0x1003d7ec
mov byte [ebp - 0x109], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x109], 0
je 0x1003d847
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1003d847
cmp dword [0x100c8418], 7
mov dword [0x100c82e8], 7
jg 0x1003d847
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
lea eax, [ebp - 0x108]
mov ecx, 0x100c82e0
push eax
call fcn.10003dc3
push eax
push str.MFM::CSF___Failed_to_delete_file__s___error:0x_X_
push 0x100c82e0
call fcn.10001a0f
add esp, 0x10
cmp dword [0x100c8418], 7
mov edi, dword [ebp - 0x110]
mov dword [0x100c82e8], 7
jg 0x1003d885
test byte [edi + 0x38], 2
mov ecx, 0x100b337c
push esi
mov eax, 0x100b3378
cmove eax, ecx
push eax
push str.MFMuxer::Finalize__s__Stop_failed_with_code_0x_08X_
push 0x100c82e0
call fcn.10001a0f
add esp, 0x10
mov ecx, dword [edi + 0x3f8]
pop edi
test ecx, ecx
je 0x1003d89e
mov ecx, dword [ecx]
push 0
push esi
push 0x69
mov eax, dword [ecx]
push 0x69
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100041bf
mov esp, ebp
pop ebp
ret
Function at 0x6d67113f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x6d67114e
pop dword [ebp - 0x44]
mov eax, 0x98364836
sub eax, 0x2acf36e8
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x3aca4eb5
sub dword [ebp - 0x54], 0xec78096a
mov dword [ebp - 0x50], 0x70132325
add dword [ebp - 0x50], 0xc2202920
mov dword [ebp - 0x4c], 0x50f589ad
add dword [ebp - 0x4c], 0xfb56ba81
mov dword [ebp - 0x48], 0xe970ae64
add dword [ebp - 0x48], 0x168f519c
lea eax, [ebp - 0x54]
push eax
mov eax, 0xd437c24a
sub eax, 0x66d09202
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xe72a8f52
sub dword [ebp - 0x54], 0x72b825fc
mov dword [ebp - 0x50], 0x8e06222
sub dword [ebp - 0x50], 0xc77400ad
mov dword [ebp - 0x4c], 0x8712d748
add dword [ebp - 0x4c], 0xdc5c9524
mov dword [ebp - 0x48], 0xdbabe845
sub dword [ebp - 0x48], 0xdbabe845
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x8d34b9b
sub eax, 0x9b6c1b9b
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3500a
push 0
call eax
mov ecx, 0xb1078b9a
add ecx, 0x4ef8b666
mov edx, eax
mov esi, 0x9dc29c81
add esi, 0xcfa4c57f
add esi, dword [ebp - 0x44]
mov ebx, 0x9524a3ad
sub ebx, 0x3f800194
sub dword [ebp - 0x3c], 0xcc39f7a0
mov edi, dword [esi]
xor edi, ebx
add dword [ebp - 0x18], edi
mov dword [edx], edi
xor dword [ebp - 0x38], esi
add edx, 4
add esi, 0x822860da
add esi, 0x7dd79f2a
loop 0x6d671270
add eax, 0xba34ce3a
sub eax, 0xba33d367
mov ebx, eax
add eax, 0x9c1bb485
add eax, 0x63e44b80
mov ecx, 0x447d8742
add ecx, 0x28e978be
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x6d6717f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x6d6717fb
repz ret
jmp fcn.6d671b91
Function at 0x403670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40f018]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403708
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036e8
xor eax, eax
push ebp
push 0x4036e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403724
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036e8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40f018]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40f018], ax
mov esp, ebp
pop ebp
ret

Function at 0x40405c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x410044], 0
je 0x4040bd
cmp word [0x410218], 0xd7b2
jne 0x404085
cmp dword [0x410220], 0
jbe 0x404085
mov eax, 0x410214
call dword [0x410230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40f084
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4040e4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40f024], 0
jne 0x4040d9
push 0
push 0x40f07c
push 0x40f084
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405720
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405786
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404450
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004030cc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405770
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40578d
lea eax, [ebp - 0x10]
call fcn.004041e0
ret

Function at 0x408d08
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x408d41
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042d0
jmp 0x408d4a
mov eax, ebx
mov edx, esi
call fcn.00404234
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x408d54
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x408d75
mov al, byte [esp]
jmp 0x408d77
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40940c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409274
mov eax, dword [0x40f448]
cmp byte [eax], 0
je 0x409488
mov eax, dword [0x40f38c]
call fcn.00402ddc
call fcn.004029d4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407044
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4094d0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4094be
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x40f368]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x410660]
call fcn.004050c4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40a1d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40a234
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404450
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00406bf4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a23b
lea eax, [ebp - 0xc]
call fcn.004041e0
ret
Function at 0x40c128
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.00404234
mov edx, esi
mov eax, ebx
call fcn.0040c104
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
push edi
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x40c16a
cmp dword [ebp - 4], 1
je 0x40c172
push ebx
call sub.advapi32.dll_RegCloseKey_1
jmp 0x40c1ba
mov eax, dword [ebp - 8]
call fcn.004028d0
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 4]
push eax
push 0
push edi
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x40c198
cmp dword [ebp - 4], 1
je 0x40c1a0
push ebx
call sub.advapi32.dll_RegCloseKey_1
jmp 0x40c1ba
mov eax, dword [ebp + 8]
mov edx, esi
call fcn.004043d8
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00402900
push ebx
call sub.advapi32.dll_RegCloseKey_1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x10008ff7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10009006
pop dword [ebp - 0x4c]
mov eax, 0x360b6e04
add eax, 0xd9f52202
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xa325ef44
add dword [ebp - 0x5c], 0xab2c5607
mov dword [ebp - 0x58], 0xedde87a4
add dword [ebp - 0x58], 0x4454c4a1
mov dword [ebp - 0x54], 0xf3569f5c
add dword [ebp - 0x54], 0x58f5a4d2
mov dword [ebp - 0x50], 0xc50015d7
sub dword [ebp - 0x50], 0xc50015d7
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x7e01e231
sub eax, 0x6e013191
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x92cb80be
add dword [ebp - 0x5c], 0xe1a6e898
mov dword [ebp - 0x58], 0x79f454b8
sub dword [ebp - 0x58], 0x3887f343
mov dword [ebp - 0x54], 0x43c6bc39
sub dword [ebp - 0x54], 0xe0574fcd
mov dword [ebp - 0x50], 0x699e65de
add dword [ebp - 0x50], 0x96619a22
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xd3076547
add eax, 0x3cf94b51
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x33913
push 0
call eax
mov ecx, 0x384f
mov ebx, eax
mov edx, 0x2c0aacc2
sub edx, 0x1c0634c2
add edx, dword [ebp - 0x4c]
mov edi, 0x1d958c01
sub edi, 0x244a057
add dword [ebp - 0x3c], 0xab618d7
mov esi, dword [edx]
xor dword [ebp - 0x40], edx
xor esi, edi
xor dword [ebp - 0x10], ebx
mov dword [ebx], esi
sub dword [ebp - 0x14], 0x8328e3f2
add ebx, 0xdc627035
add ebx, 0x239d8fcf
add edx, 0x3e482923
add edx, 0xc1b7d6e1
loop 0x10009122
add eax, 0xd40f
mov ebx, eax
add eax, 0x24e56731
sub eax, 0x24e5672c
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x802ce8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x802cf2
pushal
call 0x802cf8
pop ebp
sub ebp, 0x10
sub ebp, 0x402ce8
mov al, byte [esp + 0x28]
cmp al, 1
je 0x802d1c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x802d25
mov eax, 0x402ce8
add eax, ebp
add eax, 0x63
mov ecx, 0x615
mov edx, 0xcdd680d8
xor byte [eax], dl
inc eax
dec ecx
jne 0x802d3c
jmp 0x802d4f
push ebx
adc eax, 0xd8e45153
fcomp st(0)
pop ecx
sbb dword [eax], esp
fcomp st(0)
fcomp st(3)
adc eax, 0xd8d8dc60
fsub dword [edx - 0x10]
fcomp st(0)
fsubr dword [edi]
cmp bl, bl
adc byte [ebx + 0x59], dl
aam 0xd8
fcomp st(0)
fistp dword [0x24fcbc55]
push ecx
fdiv st(4), st(0)
mov byte [eax - 0x27295da8], dh
mov al, 0xbe
push 0xffffffffffffffe9
fcomp st(1)
hlt
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x406243
pop dword [ebp - 0x20]
mov eax, 0xd292d62c
add eax, 0x2dad8c17
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x54aa8737
add dword [ebp - 0x30], 0xf9a7be14
mov dword [ebp - 0x2c], 0x5a1010d5
sub dword [ebp - 0x2c], 0x27dcc490
mov dword [ebp - 0x28], 0x867e517b
add dword [ebp - 0x28], 0xc5cdf2b3
mov dword [ebp - 0x24], 0x44fb713f
add dword [ebp - 0x24], 0xbb048ec1
lea eax, [ebp - 0x30]
push eax
mov eax, 0x43ed0fe3
sub eax, 0x43ac8edf
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xbb8aa8eb
add dword [ebp - 0x30], 0xb8e7c06b
mov dword [ebp - 0x2c], 0x1f1c6c1b
sub dword [ebp - 0x2c], 0xddb00aa6
mov dword [ebp - 0x28], 0x2884559a
sub dword [ebp - 0x28], 0xc514e92e
mov dword [ebp - 0x24], 0xf12ec993
sub dword [ebp - 0x24], 0xf12ec993
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3832f
push 0
call eax
mov ecx, 0x576b435b
sub ecx, 0x576af6a7
mov edi, eax
mov ebx, 0x84d955fb
add ebx, 0x7b6d8e05
add ebx, dword [ebp - 0x20]
mov edx, 0xf59db817
mov dword [ebp - 8], 0xe8928809
mov esi, dword [ebx]
add dword [ebp - 8], edx
add esi, edx
mov dword [edi], esi
xor dword [ebp - 0x14], 0x4322115c
add edi, 0x26235592
sub edi, 0x2623558e
add ebx, 0xb0b4f06f
add ebx, 0x4f4b0f95
loop 0x40635a
add eax, 0xefbf71a5
add eax, 0x1041b3fe
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x949dea28
sub ecx, 0x945dea28
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x425e90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4add2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a21ab
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x425f12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049f91d
mov eax, dword [eax]
push 0x75ad28
push eax
call fcn.00491524
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a2436
test bl, bl
je 0x425f12
push 0x75ad28
lea ecx, [esp + 0xc]
call fcn.004a27c6
push 0x75ad34
lea ecx, [esp + 0xc]
call fcn.004a27c6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x425f4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a2436
jmp 0x426019
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x425fd2
lea edx, [esp + 0x7c]
push 0x75ad30
push edx
call fcn.00491524
add esp, 8
test eax, eax
je 0x425fd2
lea eax, [esp + 0x7c]
push 0x75ad2c
push eax
call fcn.00491524
add esp, 8
test eax, eax
je 0x425fd2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x425f62
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a2436
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x427280
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4272e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4272f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ade8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x766648]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x427428
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x427356
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a2436
xor eax, eax
jmp 0x42749f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a2573
push esi
lea ecx, [esp + 0xc]
call fcn.004a2802
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42747d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00427280
test eax, eax
jne 0x42747d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00427280
test eax, eax
jne 0x42747d
lea eax, [esp + 0x14]
push 0x75ad54
push eax
call fcn.00492670
mov esi, eax
add esp, 8
test esi, esi
jne 0x42745c
lea ecx, [esp + 0x14]
push 0x75ad50
push ecx
call fcn.004925f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42745c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42745f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a2523
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42736e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a2436
xor eax, eax
jmp 0x42749f
mov byte [esi], 0
push 0x75ad4c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a2436
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x43cb90
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43cbfe
cmp si, 0x69
ja 0x43cbfe
add esi, 0xffd0
cmp si, 0x11
je 0x43cbce
push 0x11
call edi
test ax, ax
jge 0x43cbce
or esi, 0x2000
cmp si, 0x10
je 0x43cbe3
push 0x10
call edi
test ax, ax
jge 0x43cbe3
or esi, 0x4000
cmp si, 0x12
je 0x43cbf8
push 0x12
call edi
test ax, ax
jge 0x43cbf8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43cc0b
mov esi, 0xbd
jmp 0x43cbbf
cmp si, 0x6e
jne 0x43cc18
mov esi, 0xbe
jmp 0x43cbbf
cmp si, 0x6f
jne 0x43cbb9
mov esi, 0xbf
jmp 0x43cbbf

Function at 0x43e540
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x777020]
xor edx, edx
cmp eax, edx
jne 0x43e566
xor eax, eax
mov byte [eax + 0x776f20], al
inc eax
cmp eax, 0x100
jl 0x43e54e
mov dword [0x777020], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x776f20
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43e5f7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43e5ca
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x43e598
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43e670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x43e6c3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43e6aa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret