joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4567f0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x456839
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x456cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478c90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00456860
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004568e0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004568e0
lea ecx, [esi + 0xc]
call fcn.0046a3d9
lea ecx, [esi + 0x10]
call fcn.0046a3d9
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00457e70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00457e70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00457e70
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046a44e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046a44e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x458060
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4580c6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4580c6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4580a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46c7f5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46c82d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046a8a9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046a881
jmp 0x46c839
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46dee7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46df29
call fcn.00473a9a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46df29
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46df20
xor eax, eax
jmp 0x46df31
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046df37
pop edi
pop esi
pop ebx
ret 4

Function at 0x473fca
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x473ff8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474016
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00473f30
jmp 0x474016
mov eax, dword [esi + 0x14]
test eax, eax
je 0x474016
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00473f30
test edi, edi
mov eax, edi
jne 0x474000
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x42202b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [ecx + 0x2a4c3]
pushfd
lea ecx, [ecx + 0x71317ec5]
pushfd
call fcn.004d7c18
mov bh, 0xe6
sbb ch, byte [edx]
and al, 0xff
clc
aaa
push 0x5d
invalid
Function at 0x401a0b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebx]
push edi
mov edi, eax
mov eax, dword [edi]
mov dword [ebp - 4], esi
add esi, 4
mov dword [ebp - 8], eax
lea eax, [esi*4 + 4]
push eax
call sub.jli.dll_JLI_MemAlloc
pop ecx
mov dword [ebx], esi
mov esi, 0x408010
push 4
mov dword [edi], eax
mov edx, esi
pop ebx
mov edi, 0x408020
mov ecx, dword [edx]
cmp byte [ecx], 0x2d
jne 0x401a59
cmp byte [ecx + 1], 0x4a
jne 0x401a59
add ecx, 2
mov dword [eax], ecx
add eax, ebx
add edx, ebx
cmp edx, edi
jl 0x401a45
xor edx, edx
cmp dword [ebp - 4], edx
jle 0x401a89
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + edx*4]
cmp byte [ecx], 0x2d
jne 0x401a83
cmp byte [ecx + 1], 0x4a
jne 0x401a83
add ecx, 2
cmp byte [ecx], 0
je 0x401acc
mov dword [eax], ecx
add eax, ebx
inc edx
cmp edx, dword [ebp - 4]
jl 0x401a66
mov edx, esi
mov ecx, dword [edx]
cmp byte [ecx], 0x2d
jne 0x401a98
cmp byte [ecx + 1], 0x4a
je 0x401a9c
mov dword [eax], ecx
add eax, ebx
add edx, ebx
cmp edx, edi
jl 0x401a8b
xor edx, edx
cmp dword [ebp - 4], edx
jle 0x401ac4
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + edx*4]
cmp byte [ecx], 0x2d
jne 0x401aba
cmp byte [ecx + 1], 0x4a
je 0x401abe
mov dword [eax], ecx
add eax, ebx
inc edx
cmp edx, dword [ebp - 4]
jl 0x401aa9
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.004034c6
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCR71.dll_exit]
int3
Function at 0x401ae3
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
push str.CLASSPATH
mov byte [ebp - 4], 0x3b
mov byte [ebp - 3], 0
call dword [sym.imp.MSVCR71.dll_getenv]
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
mov edi, eax
test edi, edi
pop ecx
je 0x401b34
push edi
call sub.MSVCR71.dll_strlen
add eax, 0x28
push eax
call sub.jli.dll_JLI_MemAlloc
push edi
mov ebx, eax
push str._Denv.class.path_s
push ebx
call esi
push 0
push ebx
call fcn.004010bd
add esp, 0x1c
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00403220
test al, al
pop ecx
pop ecx
jne 0x401b60
push 1
push str.Cant_determine_application_home
call fcn.004034c6
pop ecx
pop ecx
xor al, al
jmp 0x401c24
lea eax, [ebp - 0x110]
push eax
call sub.MSVCR71.dll_strlen
add eax, 0x28
push eax
call sub.jli.dll_JLI_MemAlloc
mov edi, eax
lea eax, [ebp - 0x110]
push eax
push str._Dapplication.home_s
push edi
call esi
push 0
push edi
call fcn.004010bd
push 0x28
lea eax, [ebp - 0x110]
pop esi
push eax
call sub.MSVCR71.dll_strlen
mov edi, 0x408020
add esp, 0x20
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
mov ebx, 0x408028
mov eax, dword [ebp - 8]
push dword [eax]
call sub.MSVCR71.dll_strlen
add eax, dword [ebp - 0xc]
add dword [ebp - 8], 4
cmp dword [ebp - 8], ebx
pop ecx
lea esi, [esi + eax + 1]
jl 0x401bb0
inc esi
push esi
call sub.jli.dll_JLI_MemAlloc
mov esi, eax
mov dword [esp], str._Djava.class.path
push esi
call sub.MSVCR71.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push eax
push esi
call sub.MSVCR71.dll_strcat
push dword [edi]
push esi
call sub.MSVCR71.dll_strcat
lea eax, [ebp - 4]
push eax
push esi
call sub.MSVCR71.dll_strcat
add edi, 4
add esp, 0x18
cmp edi, ebx
jl 0x401be3
push esi
call sub.MSVCR71.dll_strlen
push 0
push esi
mov byte [eax + esi - 1], 0
call fcn.004010bd
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401e44
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x1a4]
push eax
call sub.MSVCR71.dll_strcpy
pop ecx
pop ecx
push str._Xusage.txt
lea eax, [ebp - 0x1a4]
push 0x5c
push eax
call dword [sym.imp.MSVCR71.dll_strrchr]
pop ecx
pop ecx
push eax
call sub.MSVCR71.dll_strcpy
lea eax, [ebp - 0x1a4]
push 0x405ff8
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x401eb9
lea eax, [ebp - 0x1a4]
push eax
mov eax, dword [sym.imp.MSVCR71.dll__iob]
add eax, 0x40
push str.Cant_open__s_n
push eax
call dword [sym.imp.MSVCR71.dll_fprintf]
xor eax, eax
add esp, 0xc
inc eax
jmp 0x401f09
push esi
mov esi, dword [sym.imp.MSVCR71.dll_fread]
push edi
push ebx
mov edi, 0x80
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x10
jmp 0x401ef9
mov ecx, dword [sym.imp.MSVCR71.dll__iob]
add ecx, 0x20
push ecx
push eax
lea eax, [ebp - 0x80]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x20
test eax, eax
jne 0x401ed5
push ebx
call dword [sym.imp.MSVCR71.dll_fclose]
pop ecx
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x417e50
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x4f7948
call sym._EnterCriticalSection_4
mov ebx, dword [0x4f7940]
sub esp, 4
test ebx, ebx
je 0x417e9b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x417e94
test esi, esi
je 0x417e94
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x417e70
mov dword [esp], 0x4f7948
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x418080
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4180d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4181a8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x41810e
cmp eax, 4
jne 0x418130
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x41811e
cmp edx, 4
je 0x41811e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00418080

Function at 0x418720
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call sym._GetLastError_0
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call sym._SetLastError_4
sub esp, 4
mov eax, ebx
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x418750
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
test eax, eax
je 0x418774
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp sym._GetLastError_0
Function at 0x42a100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1b
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x84]
mov esi, str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_http:__gcc.gnu.org_bugs.html_:_n
sub esp, 0x9c
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
lea eax, [edx + 1]
mov dword [ebp - 0x8c], eax
lea eax, [edx + 0x8a]
and eax, 0xfffffff0
call fcn.00418390
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x84]
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
movzx eax, word [esi]
mov word [edi], ax
movzx eax, byte [esi + 2]
mov byte [edi + 2], al
lea eax, [ebx + 0x6b]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x8c]
mov byte [ebx + eax + 0x6a], 0
mov dword [esp], ebx
call method.std.__throw_logic_error_char_const_
nop
nop
nop
nop
nop
nop
nop

Function at 0x42a190
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp byte [0x4b1adc], 0
jne 0x42a264
mov byte [0x4b1adc], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x42a2fe
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x1c], 0xffffffff
sete al
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sym.___cxa_demangle
mov esi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov ebp, eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
lea edi, [esi + 0x40]
mov dword [esp + 0xc], edi
call sym._fwrite
cmp dword [esp + 0x1c], 0
mov dword [esp + 4], edi
je 0x42a25a
mov dword [esp], ebx
call sym._fputs
lea eax, [esi + 0x40]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x4b3b31
mov dword [esp + 0xc], eax
call sym._fwrite
cmp dword [esp + 0x1c], 0
je 0x42a291
call sym.___cxa_rethrow
mov dword [esp], ebp
call sym._fputs
jmp 0x42a22b
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
call sym._abort
mov dword [esp], ebp
call sym._free
jmp 0x42a255
call sym._abort
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
jmp 0x42a2f9
Function at 0x41d680
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c6e2b
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.004b7eb4
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41d702
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b5392
mov eax, dword [eax]
push 0x50b220
push eax
call fcn.004a7194
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b813f
test bl, bl
je 0x41d702
push 0x50b220
lea ecx, [esp + 0xc]
call fcn.004b84cf
push 0x50eda4
lea ecx, [esp + 0xc]
call fcn.004b84cf
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 0x41d73e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b813f
jmp 0x41d809
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 0x41d7c2
lea edx, [esp + 0x7c]
push 0x50eda0
push edx
call fcn.004a7194
add esp, 8
test eax, eax
je 0x41d7c2
lea eax, [esp + 0x7c]
push 0x50ed9c
push eax
call fcn.004a7194
add esp, 8
test eax, eax
je 0x41d7c2
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 0x41d752
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.004b813f
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 0x41e020
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 0x41e082
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 0x41e090
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c6eab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x51798c]
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 0x41e1c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41e0f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b813f
xor eax, eax
jmp 0x41e23f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b827c
push esi
lea ecx, [esp + 0xc]
call fcn.004b850b
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 0x41e21d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0041e020
test eax, eax
jne 0x41e21d
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 accept
mov ecx, edi
call fcn.0041e020
test eax, eax
jne 0x41e21d
lea eax, [esp + 0x14]
push 0x50edb8
push eax
call fcn.004a8330
mov esi, eax
add esp, 8
test esi, esi
jne 0x41e1fc
lea ecx, [esp + 0x14]
push 0x50edb4
push ecx
call fcn.004a82b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41e1fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41e1ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b822c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41e10e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b813f
xor eax, eax
jmp 0x41e23f
mov byte [esi], 0
push 0x50edb0
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.004b813f
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 0x434e00
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 0x434e6e
cmp si, 0x69
ja 0x434e6e
add esi, 0xffd0
cmp si, 0x11
je 0x434e3e
push 0x11
call edi
test ax, ax
jge 0x434e3e
or esi, 0x2000
cmp si, 0x10
je 0x434e53
push 0x10
call edi
test ax, ax
jge 0x434e53
or esi, 0x4000
cmp si, 0x12
je 0x434e68
push 0x12
call edi
test ax, ax
jge 0x434e68
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x434e7b
mov esi, 0xbd
jmp 0x434e2f
cmp si, 0x6e
jne 0x434e88
mov esi, 0xbe
jmp 0x434e2f
cmp si, 0x6f
jne 0x434e29
mov esi, 0xbf
jmp 0x434e2f

Function at 0x436ac0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x528430]
xor edx, edx
cmp eax, edx
jne 0x436ae6
xor eax, eax
mov byte [eax + 0x528330], al
inc eax
cmp eax, 0x100
jl 0x436ace
mov dword [0x528430], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x528330
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x436b77
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 0x436b4a
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 0x436b18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x436bf0
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 0x436c43
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 0x436c2a
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