joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e5f04
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4e5fe5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x40
call fcn.00402f34
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x40
xor eax, eax
push ebp
push 0x4e5fc8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
test eax, eax
jne 0x4e5f72
push 0
push 0x4e5ff4
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x14]
call fcn.0040d3e8
mov eax, dword [ebp - 0x14]
call fcn.004050d0
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc], edx
push 0
push 0x400
push 0
push 0x400
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405d60
call fcn.00405d60
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.004099a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5fcf
mov eax, dword [ebp - 4]
call fcn.00402f68
ret

Function at 0x4e64e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050c0
mov eax, dword [ebp - 8]
call fcn.004050c0
xor eax, eax
push ebp
push 0x4e6619
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4277c8]
call fcn.004278c8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4e65f7
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.00427968
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00427af0
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004050d0
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov edx, dword [ebp - 0x18]
dec edx
lea eax, [ebp - 0xc]
call fcn.00405360
cmp dword [ebp - 0x18], 1
jbe 0x4e659e
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4e65aa
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x4e65d7
mov ebx, 1
mov eax, dword [ebp - 0xc]
cmp byte [eax + ebx - 1], 0
jne 0x4e65d3
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405138
inc ebx
dec esi
jne 0x4e65b5
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00404c94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e65fe
mov eax, dword [ebp - 0x10]
call fcn.00403d40
ret
Function at 0x4e74b8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x4e757a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x4e7539
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
lea edx, [ebx + 0x61]
call fcn.00404e28
lea eax, [ebp - 8]
mov edx, 0x4e7594
call fcn.00404f0c
mov eax, dword [ebp - 8]
call fcn.004050d0
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4e7529
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.00404e38
mov edx, dword [ebp - 0xc]
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x1a
jne 0x4e74e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e754a
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x4e755b
mov byte [ebp - 1], 0
jmp 0x4e755f
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7581
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404c64
ret
Function at 0x4e7598
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff70
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4e7791
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
lea eax, [ebp - 0x49]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x105
lea eax, [ebp - 0x6a]
push eax
lea eax, [ebp - 0x70]
mov edx, ebx
call fcn.00404e28
lea eax, [ebp - 0x70]
mov edx, 0x4e77ac
call fcn.00404f0c
mov eax, dword [ebp - 0x70]
call fcn.004050d0
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x4e7629
mov eax, esi
mov edx, 0x4e77b8
call fcn.00404c94
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x6a]
call fcn.0040a494
mov edx, dword [ebp - 0x74]
mov eax, edi
call fcn.00404c94
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x78]
mov eax, 8
call fcn.004099f8
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.00404c94
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x49]
call fcn.0040a494
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + 0x14]
call fcn.00404c94
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x80]
mov edx, ebx
call fcn.00404e28
lea eax, [ebp - 0x80]
mov edx, 0x4e77ac
call fcn.00404f0c
mov eax, dword [ebp - 0x80]
call fcn.004050d0
push eax
mov eax, dword [0x4ef1f8]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x4e76b8
mov eax, esi
mov edx, 0x4e77d8
call fcn.00404f0c
fild qword [ebp - 0x20]
fdiv dword [0x4e77ec]
fdiv dword [0x4e77ec]
fdiv dword [0x4e77ec]
fmul dword [0x4e77f0]
call fcn.0040341c
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
fild qword [ebp - 0x8c]
fdiv dword [0x4e77f0]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x84]
call fcn.0040b83c
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp + 0x10]
call fcn.00404c94
fild qword [ebp - 0x28]
fdiv dword [0x4e77ec]
fdiv dword [0x4e77ec]
fdiv dword [0x4e77ec]
fmul dword [0x4e77f0]
call fcn.0040341c
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
fild qword [ebp - 0x8c]
fdiv dword [0x4e77f0]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x90]
call fcn.0040b83c
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp + 0xc]
call fcn.00404c94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7798
lea eax, [ebp - 0x90]
call fcn.00404c40
lea eax, [ebp - 0x84]
mov edx, 6
call fcn.00404c64
ret
Function at 0x419290
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004199a0
mov esi, dword [esp + 0x28]
xor eax, eax
mov ecx, esi
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [ecx], eax
test edi, edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
jl 0x4193c2
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push edx
push eax
push edi
call fcn.00418e50
add esp, 0xc
test eax, eax
je 0x4193aa
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push edi
call fcn.004219e9
add esp, 0xc
test eax, eax
jl 0x41938c
push pe_nt_image_headers32
push esi
push edi
call fcn.0041c9ca
add esp, 0xc
cmp eax, 0x10
jne 0x41936e
mov eax, dword [esi]
mov ecx, dword [str.GXBHGXBFGXBCGExeBind_BindData:_target__tag_and_or_data_empty]
cmp ecx, eax
jne 0x419357
mov eax, dword [esi + 8]
cmp eax, 0x1000000
jne 0x419340
mov esi, dword [esi + 4]
cmp esi, 0x10
jne 0x419329
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x14
ret
push esi
push str.ReadHeader:_wrong_size
call fcn.00419980
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push eax
push str.ReadHeader:_wrong_version
call fcn.00419980
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push eax
push str.ReadHeader:_magic_header_unknown
call fcn.00419980
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
call fcn.0041d298
mov edx, dword [eax]
push edx
push str.ReadHeader:_no_read_header
call fcn.00419980
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
call fcn.0041d298
mov eax, dword [eax]
push eax
push str.ReadHeader:_no_seek_to_header
call fcn.00419980
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push 0xffffffffffffffff
push str.ReadHeader:_no_read_footer
call fcn.00419980
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push 0xffffffffffffffff
push str.ReadHeader:_no_file_given
call fcn.00419980
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x1c101f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1c144a4]
cmp dword [eax + 0x28], 0
jne 0x1c10208
xor eax, eax
jmp 0x1c10337
mov ecx, dword [0x1c14438]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x1c1442c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x1c14428], eax
push 0
call dword [0x1c13118]
mov dword [ebp - 0x10], eax
push 1
call dword [0x1c13118]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x1c1442c]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x1c14428]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x1c14490]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x1c13648
push 0x1c13698
push 0x88
call dword [0x1c13114]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x1c14424], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x1c130f4]
push eax
call fcn.01c10130
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [0x1c13100]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x1c1311c]
push 0x1c101c0
mov edx, dword [0x1c144a4]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [0x1c13120]
mov dword [0x1c14430], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [0x1c130fc]
test eax, eax
je 0x1c10337
cmp dword [ebp - 0x38], 0x12
jne 0x1c1032b
mov dword [0x1c14440], 0
call fcn.01c10340
xor eax, eax
jmp 0x1c10337
lea edx, [ebp - 0x3c]
push edx
call dword [0x1c1310c]
jmp 0x1c102fc
mov esp, ebp
pop ebp
ret 4

Function at 0x1c112d0
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [fcn.01c130c8]
call dword [fcn.01c130e0]
call dword [fcn.01c130dc]
call dword [fcn.01c13090]
mov eax, 1
pop ebp
ret 4
Function at 0x1c11a1c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x1c13130
sub eax, eax
test esi, esi
je 0x1c11af4
sub eax, 1
test ecx, ecx
je 0x1c11af2
test esi, 3
je 0x1c11a5a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x1c11a3f
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x1c11ad9
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x1c11a64
mov ecx, edx
test ecx, ecx
je 0x1c11af2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x1c11adf
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x1c11afc
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.01c11b7f
jae 0x1c11b0a
xor ecx, ecx
call fcn.01c11b7f
jae 0x1c11b39
xor eax, eax
call fcn.01c11b7f
jae 0x1c11b49
mov bl, 2
inc ecx
mov al, 0x10
call fcn.01c11b7f
adc al, al
jae 0x1c11b2b
jne 0x1c11b75
stosb byte es:[edi], al
jmp 0x1c11b0d
call fcn.01c11b8b
sub ecx, ebx
jne 0x1c11b52
call fcn.01c11b89
jmp 0x1c11b71
lodsb al, byte [esi]
shr eax, 1
je 0x1c11b9b
adc ecx, ecx
jmp 0x1c11b6e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.01c11b89
cmp eax, 0x7d00
jae 0x1c11b6e
cmp ah, 5
jae 0x1c11b6f
cmp eax, 0x7f
ja 0x1c11b70
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1c11b0d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x1c124cc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1c14000]
jne 0x1c124d6
repz ret
jmp fcn.01c1277d
Function at 0x87e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x87e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x87e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x87e06a
add dl, dl
jne 0x87e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x87e0dc
xor eax, eax
add dl, dl
jne 0x87e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x87e17d
add dl, dl
jne 0x87e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x87e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x87e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x87e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x87e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x87e075
mov eax, 1
add dl, dl
jne 0x87e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x87e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x87e0e1
sub eax, ebx
mov ebx, 1
jne 0x87e128
mov ecx, 1
add dl, dl
jne 0x87e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x87e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x87e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x87e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x87e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x87e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x87e136
cmp eax, 0x7d00
jae 0x87e16d
cmp eax, 0x500
jb 0x87e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x87e075
cmp eax, 0x7f
ja 0x87e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x87e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x87e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x87e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x411730
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x478bbb
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.0046b831
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4117b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00469247
mov eax, dword [eax]
push 0x4961d4
push eax
call fcn.0045bf54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046babc
test bl, bl
je 0x4117b2
push 0x4961d4
lea ecx, [esp + 0xc]
call fcn.0046be98
push 0x499d28
lea ecx, [esp + 0xc]
call fcn.0046be98
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 0x4117ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046babc
jmp 0x4118b9
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 0x411872
lea edx, [esp + 0x7c]
push 0x499d24
push edx
call fcn.0045bf54
add esp, 8
test eax, eax
je 0x411872
lea eax, [esp + 0x7c]
push 0x499d20
push eax
call fcn.0045bf54
add esp, 8
test eax, eax
je 0x411872
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 0x411802
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.0046babc
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 0x4120b0
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 0x412112
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 0x412120
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x478c3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a0dd0]
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 0x412258
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x412186
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046babc
xor eax, eax
jmp 0x4122cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046bc45
push esi
lea ecx, [esp + 0xc]
call fcn.0046bed4
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 0x4122ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.004120b0
test eax, eax
jne 0x4122ad
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 SysReAllocStringLen
mov ecx, edi
call fcn.004120b0
test eax, eax
jne 0x4122ad
lea eax, [esp + 0x14]
push 0x499d3c
push eax
call fcn.0045d100
mov esi, eax
add esp, 8
test esi, esi
jne 0x41228c
lea ecx, [esp + 0x14]
push 0x499d38
push ecx
call fcn.0045d080
mov esi, eax
add esp, 8
test esi, esi
jne 0x41228c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41228f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046bbf5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41219e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046babc
xor eax, eax
jmp 0x4122cf
mov byte [esi], 0
push 0x499d34
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.0046babc
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 0x422c10
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 0x422c7e
cmp si, 0x69
ja 0x422c7e
add esi, 0xffd0
cmp si, 0x11
je 0x422c4e
push 0x11
call edi
test ax, ax
jge 0x422c4e
or esi, 0x2000
cmp si, 0x10
je 0x422c63
push 0x10
call edi
test ax, ax
jge 0x422c63
or esi, 0x4000
cmp si, 0x12
je 0x422c78
push 0x12
call edi
test ax, ax
jge 0x422c78
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x422c8b
mov esi, 0xbd
jmp 0x422c3f
cmp si, 0x6e
jne 0x422c98
mov esi, 0xbe
jmp 0x422c3f
cmp si, 0x6f
jne 0x422c39
mov esi, 0xbf
jmp 0x422c3f

Function at 0x4243c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b1b98]
xor edx, edx
cmp eax, edx
jne 0x4243e6
xor eax, eax
mov byte [eax + 0x4b1a98], al
inc eax
cmp eax, 0x100
jl 0x4243ce
mov dword [0x4b1b98], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b1a98
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424477
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 0x42444a
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 0x424418
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4244f0
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 0x424543
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 0x42452a
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