joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439370
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x465ad3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004596d4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0045ed6a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00460286
test eax, eax
je 0x43948c
mov ecx, dword [esp + 0x3c]
call fcn.0045ed97
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x439450
push edi
mov ecx, esi
call fcn.0045c3fb
mov ecx, esi
call fcn.004395f0
cmp dword [esp + 0x38], 1
jne 0x439485
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045c536
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4014f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x40150b
cmp dword [ebp + 0xc], 0
jne 0x40150f
xor eax, eax
jmp 0x401566
mov eax, dword [ebp + 8]
mov byte [eax], 0
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [0x40200c]
test eax, eax
jne 0x401564
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [0x402008]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [0x402004]
cmp dword [ebp - 8], 0
jne 0x401564
mov eax, dword [ebp + 8]
jmp 0x401566
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401570
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x40158b
cmp dword [ebp + 0xc], 0
jne 0x40158f
xor eax, eax
jmp 0x4015e8
mov eax, dword [ebp + 8]
mov word [eax], 0
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [section..rdata]
test eax, eax
jne 0x4015e6
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [0x402010]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [0x402004]
cmp dword [ebp - 8], 0
jne 0x4015e6
mov eax, dword [ebp + 8]
jmp 0x4015e8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4024b7
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ebp + 8], eax
mov esi, dword [edi]
mov dword [ebp - 4], esi
inc esi
lea eax, [esi*4 + 4]
push eax
call fcn.004020c4
pop ecx
mov dword [edi], esi
mov dword [ebx], eax
mov ecx, dword [str.com.sun.tools.corba.se.idl.toJavaPortable.Compile]
cmp byte [ecx], 0x2d
jne 0x402500
cmp byte [ecx + 1], 0x4a
jne 0x402500
add ecx, 2
mov dword [eax], ecx
mov ecx, dword [str.com.sun.tools.corba.se.idl.toJavaPortable.Compile]
add eax, 4
mov ebx, dword [ebp - 4]
xor edi, edi
test ebx, ebx
jle 0x402535
mov esi, dword [ebp + 8]
mov edx, dword [esi]
cmp byte [edx], 0x2d
jne 0x40252d
cmp byte [edx + 1], 0x4a
jne 0x40252d
cmp byte [edx + 2], 0
lea ecx, [edx + 2]
je 0x40256e
mov dword [eax], ecx
mov ecx, dword [str.com.sun.tools.corba.se.idl.toJavaPortable.Compile]
add eax, 4
inc edi
add esi, 4
cmp edi, ebx
jl 0x40250c
cmp byte [ecx], 0x2d
jne 0x402540
cmp byte [ecx + 1], 0x4a
je 0x402545
mov dword [eax], ecx
add eax, 4
test ebx, ebx
jle 0x402566
mov edx, dword [ebp + 8]
mov esi, ebx
mov ecx, dword [edx]
cmp byte [ecx], 0x2d
jne 0x40255b
cmp byte [ecx + 1], 0x4a
je 0x402560
mov dword [eax], ecx
add eax, 4
add edx, 4
dec esi
jne 0x40254e
and dword [eax], 0
pop edi
pop esi
pop ebx
leave
ret
push 1
push str.Error:_the__J_option_should_not_be_followed_by_a_space.
call fcn.004035a0
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCRT.dll_exit]
Function at 0x402584
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10c
and byte [esp + 7], 0
push ebx
push ebp
push esi
push edi
push str.CLASSPATH
mov byte [esp + 0x1a], 0x3b
call dword [sym.imp.MSVCRT.dll_getenv]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebx, eax
or ebp, 0xffffffff
pop ecx
test ebx, ebx
je 0x4025dc
mov edi, ebx
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x27
push ecx
call fcn.004020c4
mov edi, eax
push ebx
push str._Denv.class.path_s
push edi
call esi
push 0
push edi
call fcn.004017d4
add esp, 0x18
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.004032f9
pop ecx
test al, al
pop ecx
jne 0x402606
push 1
push str.Cant_determine_application_home
call fcn.004035a0
pop ecx
xor al, al
pop ecx
jmp 0x40272a
lea edi, [esp + 0x18]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x27
push ecx
call fcn.004020c4
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push str._Dapplication.home_s
push edi
call esi
push 0
push edi
call fcn.004017d4
lea edi, [esp + 0x30]
mov ecx, ebp
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
push 0x28
dec ecx
mov ebx, 0x408014
pop edx
mov dword [esp + 0x10], ecx
mov esi, ebx
mov edi, dword [esi]
mov ecx, ebp
xor eax, eax
add esi, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, dword [esp + 0x10]
cmp esi, str.com.sun.tools.corba.se.idl.toJavaPortable.Compile
lea edx, [edx + ecx + 1]
jl 0x402650
inc edx
push edx
call fcn.004020c4
mov edx, eax
mov esi, str._Djava.class.path
mov edi, edx
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], ebx
lea edi, [esp + 0x18]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
mov edi, edx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, ebx
and ecx, 3
add dword [esp + 0x10], 4
rep movsb byte es:[edi], byte [esi]
mov edi, dword [eax]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x16]
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
cmp dword [esp + 0x10], 0x40801c
rep movsb byte es:[edi], byte [esi]
jl 0x40268a
mov edi, edx
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
push edx
and byte [ecx + edx - 1], al
call fcn.004017d4
pop ecx
mov al, 1
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x4029da
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push ebx
lea eax, [ebp - 0x184]
push 0x104
push eax
call fcn.004032bb
lea eax, [ebp - 0x184]
push 0x4093cc
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x402a33
lea eax, [ebp - 0x184]
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push str.Cant_open__s_n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
push 1
pop eax
jmp 0x402a83
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push edi
mov edi, 0x80
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x10
test eax, eax
je 0x402a77
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
push eax
lea eax, [ebp - 0x80]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x20
jmp 0x402a4d
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x403030
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0040310c
pop ecx
test al, al
pop ecx
jne 0x40305c
push 1
push str.Error:_could_not_find_Java_2_Runtime_Environment.
call fcn.004035a0
pop ecx
pop ecx
push 2
call dword [sym.imp.MSVCRT.dll_exit]
push 0
call fcn.0040302a
push eax
push dword [ebp + 0x10]
call fcn.00402a86
add esp, 0xc
cmp eax, 1
jge 0x40308a
push 1
push str.Error:_no_known_VMs.__check_for_corrupt_jvm.cfg_file_
call fcn.004035a0
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040153c
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
mov edi, eax
and byte [ebx], 0
push ebx
push edi
mov dword [ebp + 0x14], edi
push dword [ebp + 0x10]
call fcn.004031d4
add esp, 0x1c
test al, al
jne 0x403108
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push esi
dec ecx
mov esi, str.Error:_no___s_JVM_at___s.
add edx, ecx
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
push edx
call fcn.004020c4
push ebx
mov edi, eax
push dword [ebp + 0x14]
push esi
push edi
call dword [sym.imp.MSVCRT.dll_sprintf]
push 1
push edi
call fcn.004035a0
add esp, 0x1c
push 4
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40368c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, 0x104
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [ebp - 0x114]
xor eax, eax
push esi
push ecx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call edi
test eax, eax
jne 0x40372b
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [ebp + 8]
inc dword [ebp - 0xc]
push dword [eax + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.0040473b
pop ecx
test eax, eax
pop ecx
je 0x403710
cmp dword [ebp - 8], 0
je 0x4036ff
push dword [ebp - 8]
lea eax, [ebp - 0x114]
push eax
call fcn.0040466c
pop ecx
test eax, eax
pop ecx
jle 0x403710
push dword [ebp - 8]
call ebx
pop ecx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x114]
push esi
push eax
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x4036c3
mov edi, dword [ebp - 8]
test edi, edi
jne 0x40372f
xor eax, eax
jmp 0x4037a5
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
push edi
je 0x403752
call ebx
cmp dword [ebp - 4], 0
pop ecx
jmp 0x40377c
call ebx
pop ecx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x114]
xor esi, esi
push eax
push esi
push esi
push str.JavaHome
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x403789
cmp dword [ebp - 4], esi
je 0x40372b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40372b
cmp dword [ebp - 4], esi
je 0x403797
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403f46
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 4], 0xffffffff
je 0x403fa1
cmp dword [esi], 0xffffffff
je 0x403fa1
push 0
push dword [esi + 8]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__lseek]
add esp, 0xc
test eax, eax
jl 0x403fa1
mov eax, dword [esi + 4]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x403fa1
mov edi, dword [esi + 4]
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
cmp eax, edi
je 0x403fa8
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp eax, ecx
jne 0x403fb8
and byte [edi + ebx], cl
mov eax, ebx
jmp 0x403fa3
cmp eax, 8
jne 0x403fa1
push 0x38
push 0x409c3c
lea eax, [ebp - 0x38]
push 0xfffffffffffffff1
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], edi
call fcn.00404a7d
add esp, 0x10
test eax, eax
jl 0x403f99
mov eax, dword [esi]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x403f99
mov eax, dword [esi]
push 1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x2c], edi
call fcn.00404b67
pop ecx
test eax, eax
pop ecx
jge 0x40401e
mov esi, dword [sym.imp.MSVCRT.dll_free]
push ebx
call esi
push edi
call esi
pop ecx
jmp 0x403fa0
mov eax, dword [esi]
mov esi, dword [sym.imp.MSVCRT.dll_free]
push ebx
and byte [eax + edi], 0
call esi
lea eax, [ebp - 0x38]
push eax
call fcn.00404a3f
pop ecx
test eax, eax
pop ecx
jge 0x404044
push edi
call esi
jmp 0x403fa0
mov eax, edi
jmp 0x403fa3
Function at 0x4042d2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll__lseek]
push edi
push 2
push 0xffffffffffffffea
push dword [ebp + 8]
call esi
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jl 0x404406
mov ebx, dword [ebp + 0xc]
mov edi, dword [sym.imp.MSVCRT.dll__read]
push 0x16
push ebx
push dword [ebp + 8]
call edi
add esp, 0xc
test eax, eax
jl 0x404406
movzx ecx, byte [ebx + 1]
xor eax, eax
mov ah, byte [ebx + 3]
mov al, byte [ebx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
cmp eax, 0x6054b50
jne 0x40433c
mov eax, dword [ebp - 4]
jmp 0x404409
push 2
push 0
push dword [ebp + 8]
call esi
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jl 0x404406
mov ebx, 0x10015
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x404362
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
push 2
neg eax
push eax
push dword [ebp + 8]
call esi
add esp, 0xc
test eax, eax
jl 0x404406
push ebx
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
mov dword [ebp - 8], esi
je 0x404406
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call edi
add esp, 0xc
test eax, eax
jl 0x4043fe
add eax, esi
mov dword [ebp + 8], eax
lea ebx, [eax - 0x16]
cmp ebx, esi
jb 0x4043fe
cmp byte [ebx], 0x50
jne 0x4043db
movzx edx, byte [ebx + 1]
xor ecx, ecx
mov ch, byte [ebx + 3]
mov cl, byte [ebx + 2]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x4043db
xor ecx, ecx
mov ch, byte [ebx + 0x15]
mov cl, byte [ebx + 0x14]
lea ecx, [ecx + ebx + 0x16]
cmp ecx, eax
je 0x4043de
dec ebx
jmp 0x4043a3
mov edi, dword [ebp + 0xc]
push 5
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 8]
movsw word es:[edi], word [esi]
call dword [sym.imp.MSVCRT.dll_free]
mov eax, ebx
pop ecx
sub eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
jmp 0x404409
push esi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42ce60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c7d9b
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.004b9e4a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42cee2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b72f3
mov eax, dword [eax]
push 0x5ec290
push eax
call fcn.004a8944
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ba0d5
test bl, bl
je 0x42cee2
push 0x5ec290
lea ecx, [esp + 0xc]
call fcn.004ba4b1
push 0x5efe20
lea ecx, [esp + 0xc]
call fcn.004ba4b1
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 0x42cf1e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ba0d5
jmp 0x42cfe9
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 0x42cfa2
lea edx, [esp + 0x7c]
push 0x5efe1c
push edx
call fcn.004a8944
add esp, 8
test eax, eax
je 0x42cfa2
lea eax, [esp + 0x7c]
push 0x5efe18
push eax
call fcn.004a8944
add esp, 8
test eax, eax
je 0x42cfa2
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 0x42cf32
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.004ba0d5
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 0x42d7e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c7e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5f9044]
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 0x42d918
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42d846
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ba0d5
xor eax, eax
jmp 0x42d98f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ba25e
push esi
lea ecx, [esp + 0xc]
call fcn.004ba4ed
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5efe58
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42d96d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x5efe50
push 0x80000000
call fcn.00482880
test eax, eax
jne 0x42d96d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x5efe3c
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.00482880
test eax, eax
jne 0x42d96d
lea eax, [esp + 0x14]
push 0x5efe34
push eax
call fcn.004a9af0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42d94c
lea ecx, [esp + 0x14]
push 0x5efe30
push ecx
call fcn.004a9a70
mov esi, eax
add esp, 8
test esi, esi
jne 0x42d94c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42d94f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ba20e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42d85e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ba0d5
xor eax, eax
jmp 0x42d98f
mov byte [esi], 0
push 0x5efe2c
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.004ba0d5
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 0x441c20
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 0x441c8e
cmp si, 0x69
ja 0x441c8e
add esi, 0xffd0
cmp si, 0x11
je 0x441c5e
push 0x11
call edi
test ax, ax
jge 0x441c5e
or esi, 0x2000
cmp si, 0x10
je 0x441c73
push 0x10
call edi
test ax, ax
jge 0x441c73
or esi, 0x4000
cmp si, 0x12
je 0x441c88
push 0x12
call edi
test ax, ax
jge 0x441c88
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x441c9b
mov esi, 0xbd
jmp 0x441c4f
cmp si, 0x6e
jne 0x441ca8
mov esi, 0xbe
jmp 0x441c4f
cmp si, 0x6f
jne 0x441c49
mov esi, 0xbf
jmp 0x441c4f

Function at 0x443450
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x60a9b8]
xor edx, edx
cmp eax, edx
jne 0x443476
xor eax, eax
mov byte [eax + 0x60a8b8], al
inc eax
cmp eax, 0x100
jl 0x44345e
mov dword [0x60a9b8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x60a8b8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x443507
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 0x4434da
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 0x4434a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x443580
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 0x4435d3
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 0x4435ba
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