joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000939b
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [0x10012588]
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
mov eax, dword [esi]
push esi
call dword [eax + 0x17c]
mov dword [ebp + 8], eax
test eax, eax
jne 0x100093d1
push str.null_fd_object
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x100094e6
xor eax, eax
cmp byte [ebp + 0x10], al
push ebx
mov ebx, dword [sym.imp.ws2_32.dll_socket]
sete al
push 0
inc eax
push eax
push 2
mov dword [ebp - 4], eax
call ebx
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
jne 0x10009405
push str.create
push esi
call fcn.1000afaa
pop ecx
pop ecx
jmp 0x100094e5
push edi
mov edi, dword [sym.imp.kernel32.dll_SetHandleInformation]
push 0
push 1
push eax
call edi
push dword [ebp + 0x10]
mov eax, dword [esi]
push dword [0x10012218]
push dword [ebp + 8]
push esi
call dword [eax + 0x1b4]
call sym.net.dll__ipv6_available_0
test eax, eax
mov eax, dword [esi]
je 0x100094d2
push dword [0x1001257c]
push dword [ebp + 0xc]
push esi
call dword [eax + 0x17c]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x1000947c
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [0x10012218]
push dword [ebp + 8]
push esi
call dword [eax + 0x1b4]
push dword [ebp + 0x10]
call fcn.10005423
push str.null_fd1_object
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x100094e4
push 0
push dword [ebp - 4]
push 0x17
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100094b6
mov eax, dword [esi]
push ebx
push dword [0x10012218]
push dword [ebp + 8]
push esi
call dword [eax + 0x1b4]
push dword [ebp + 0x10]
call fcn.10005423
push str.create
push esi
call fcn.1000afaa
pop ecx
pop ecx
jmp 0x100094e4
push 0
push 1
push ebx
call edi
mov eax, dword [esi]
push ebx
push dword [0x10012218]
push dword [ebp + 0xc]
push esi
call dword [eax + 0x1b4]
jmp 0x100094e4
push 0
push dword [0x1001257c]
push dword [ebp + 0xc]
push esi
call dword [eax + 0x1a0]
pop edi
pop ebx
pop esi
leave
ret 0xc
Function at 0x1000a553
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor eax, eax
push edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
call fcn.100091ff
push edi
mov ebx, eax
call fcn.1000922b
push 4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push 0
push eax
call sub.msvcr100.dll_memset
add esp, 0x14
test ebx, ebx
jns 0x1000a5cd
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jns 0x1000a5cd
push str.Socket_closed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c212
leave
ret 0x10
cmp dword [ebp + 0x10], 0xf
jne 0x1000a670
push 0x1c
pop eax
push eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
push 0
push eax
call sub.msvcr100.dll_memset
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x1000a5fa
push edi
call fcn.1000922b
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
jns 0x1000a622
push str.Error_getting_socket_name
push str.java_net_SocketException
push esi
call fcn.1000affe
add esp, 0xc
jmp 0x1000a5b9
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.10005423
mov edi, eax
test edi, edi
je 0x1000a5b9
push dword [ebp - 0x38]
mov eax, dword [esi]
push esi
call dword [eax + 0x7c]
mov ecx, dword [esi]
push str.Ljava_net_InetAddress_
push str.addr
push eax
push esi
call dword [ecx + 0x178]
test eax, eax
je 0x1000a5b9
mov ecx, dword [esi]
push edi
push eax
push dword [ebp - 0x38]
push esi
call dword [ecx + 0x1a0]
xor eax, eax
jmp 0x1000a5bc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x10]
call sym.net.dll__NET_MapSocketOption_12
test eax, eax
je 0x1000a68e
push str.Invalid_option
jmp 0x1000a5ae
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x28], 4
cmp edi, 0x80
je 0x1000a6a4
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push ebx
call fcn.10005423
test eax, eax
jns 0x1000a6ce
push str.getsockopt
push esi
call fcn.1000afaa
pop ecx
pop ecx
jmp 0x1000a5b9
cmp edi, 8
jg 0x1000a6e9
je 0x1000a709
dec edi
je 0x1000a709
dec edi
dec edi
je 0x1000a71a
dec edi
je 0x1000a709
push str.Option_not_supported_by_TwoStacksPlainSocketImpl
jmp 0x1000a5ae
cmp edi, 0x80
je 0x1000a722
cmp edi, 0x1000
jle 0x1000a6df
cmp edi, 0x1002
jle 0x1000a71a
cmp edi, 0x1003
jne 0x1000a6df
xor eax, eax
cmp dword [ebp - 0x24], eax
setne al
lea eax, [eax + eax - 1]
jmp 0x1000a5bc
mov eax, dword [ebp - 0x24]
jmp 0x1000a5bc
cmp word [ebp - 0x24], 0
je 0x1000a5b9
movzx eax, word [ebp - 0x22]
jmp 0x1000a5bc
Function at 0x1000bd72
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa8
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp + 0x74], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0x1c], 5
ja 0x1000be06
lea eax, [ebp - 0x24]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesTcpipParameters
push reloc.ws2_32.dll_bind
mov dword [esi], 0x400
mov dword [esi + 4], 0x1387
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000be13
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push str.MaxUserPort
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
push dword [ebp - 0x24]
mov edi, eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x1000be13
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], eax
jmp 0x1000be13
mov dword [esi], 0xc000
mov dword [esi + 4], 0xffff
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
xor eax, eax
call fcn.1000c212
add ebp, 0x78
leave
ret

Function at 0x1000c212
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100120b4]
jne 0x1000c21c
repz ret
jmp fcn.1000c5cb

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

Disassembly:
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6d1f6262
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x44cc2a8b
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x70036d1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x70036e0
pop dword [ebp - 0x28]
mov eax, 0x2268fe5f
sub eax, 0x1b68c77f
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x21769838
sub dword [ebp - 0x38], 0xd32452ed
mov dword [ebp - 0x34], 0x8eb25489
add dword [ebp - 0x34], 0xa380f7bc
mov dword [ebp - 0x30], 0x8cd23b61
add dword [ebp - 0x30], 0xbf7a08cd
mov dword [ebp - 0x2c], 0xdbb4b897
add dword [ebp - 0x2c], 0x244b4769
lea eax, [ebp - 0x38]
push eax
mov eax, 0xa391daf8
sub eax, 0x9c90bac8
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x78a9307f
add dword [ebp - 0x38], 0xfbc938d7
mov dword [ebp - 0x34], 0xb38655ec
add dword [ebp - 0x34], 0x8de60b89
mov dword [ebp - 0x30], 0x967c95ae
add dword [ebp - 0x30], 0xccf2d6be
mov dword [ebp - 0x2c], 0x14e218c0
add dword [ebp - 0x2c], 0xeb1de740
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xe677ccbf
add eax, 0x20895375
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3a52b
push 0
call eax
mov ecx, 0xa9114245
sub ecx, 0xa910fbce
mov esi, eax
mov edi, 0x78d61f50
add edi, 0x8e2bc0b0
add edi, dword [ebp - 0x28]
mov edx, 0xbc066428
add dword [ebp - 4], ecx
mov ebx, dword [edi]
xor dword [ebp - 0x10], ecx
xor ebx, edx
add dword [ebp - 0x20], ebx
mov dword [esi], ebx
add dword [ebp - 0x14], 0x1f2b9377
add esi, 0x6c976513
add esi, 0x93689af1
add edi, 0x689578d5
add edi, 0x976a872f
loop 0x70037fc
add eax, 0x10caf
mov ebx, eax
add eax, 0x176abbb8
sub eax, 0x176abbb3
mov ecx, 0x7000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x700c938
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x7010cdd
call fcn.07001ea6
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700cc00
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700d3f5
lea ecx, [ebp - 0x10]
call fcn.0700c8d5
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700c9a5
mov eax, dword [eax + 0x14]
jmp 0x700c9aa
mov eax, 0x70127b2
push 0x701411c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700c9dc
mov ecx, dword [edi + 4]
call fcn.07007826
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.070036d1
mov eax, edi
call fcn.07002b7f
ret 4
push str.file_does_not_exist
push ebx
call fcn.070036d1
int3
Function at 0x700d4d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x700d534
cmp byte [esi + 0x10], 0
je 0x700d4f2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov eax, dword [esi + 0xc]
pop ecx
mov byte [esi + 0x10], 0
push edi
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [esi + 0xc]
mov edi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700d522
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
pop ecx
test eax, eax
je 0x700d53b
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
mov eax, edi
pop edi
jmp 0x700d536
xor eax, eax
pop esi
pop ebp
ret 8
push str.stream_read_error
push 0
call fcn.070036d1
int3

Function at 0x700d7e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp byte [eax + 8], 0
jne 0x700d833
cmp dword [esi + 0xc], 0
je 0x700d82e
push dword [esi + 0xc]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esi + 0xc]
mov byte [esi + 0x10], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700d821
push str.stream_write_error
jmp 0x700d838
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
pop esi
pop ebp
ret 8
push str.Attempt_to_write_read_only_stream
push 0
call fcn.070036d1
int3
Function at 0x406877
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40689b
xor eax, eax
test eax, eax
je 0x4068ae
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068ae
xor ecx, ecx
jmp 0x4068b1
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x7a65ec], 0
push esi
jne 0x406a0b
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 0x4069e5
mov dword [ecx*4 + 0x7a65e8], eax
inc ecx
cmp ecx, 0x100
jl 0x4069e0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a3c
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 + 0x7a65e8]
xor eax, esi
inc ecx
dec edx
jne 0x406a1e
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405030
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x416d64]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call sub.KERNEL32.dll_Process32First
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x40509b
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x124]
jmp 0x4050ef
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x130]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4050e0
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x4050de
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x124]
jmp 0x4050ef
jmp 0x40509b
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407731
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4058bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x4058cc
pop dword [ebp - 0x40]
mov eax, 0x3ad78ce7
sub eax, 0x3a97341b
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xc7f207c1
sub dword [ebp - 0x50], 0x799fc276
mov dword [ebp - 0x4c], 0x75c0f379
add dword [ebp - 0x4c], 0xbc7258cc
mov dword [ebp - 0x48], 0x6f5ca5f0
add dword [ebp - 0x48], 0xdcef9e3e
mov dword [ebp - 0x44], 0xe6cb856c
add dword [ebp - 0x44], 0x19347a94
lea eax, [ebp - 0x50]
push eax
mov eax, 0x6230afe4
sub eax, 0x61efdf90
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x307d9e96
add dword [ebp - 0x50], 0x43f4cac0
mov dword [ebp - 0x4c], 0xa706f03b
add dword [ebp - 0x4c], 0x9a65713a
mov dword [ebp - 0x48], 0x4c63f566
add dword [ebp - 0x48], 0x170b7706
mov dword [ebp - 0x44], 0x2d025606
sub dword [ebp - 0x44], 0x2d025606
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xfc8ff44d
sub eax, 0xfc4f2401
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3979c
push 0
call eax
mov ecx, 0xef4e0109
add ecx, 0x10b246ae
mov edi, eax
mov ebx, 0xdc5d224e
add ebx, 0x23e48db2
add ebx, dword [ebp - 0x40]
mov esi, 0x61df80b6
sub esi, 0x50185462
mov edx, dword [ebx]
add dword [ebp - 0x20], edx
sub edx, esi
xor dword [ebp - 0x18], edi
mov dword [edi], edx
add dword [ebp - 0x2c], 0x643d1179
add edi, 0x386131c
sub edi, 0x3861318
add ebx, 0x15d4c443
add ebx, 0xea2b3bc1
loop 0x4059ee
add eax, 0x41817b21
sub eax, 0x41806972
mov ebx, eax
add eax, 0x55d3cad2
add eax, 0xaa2c3533
mov ecx, 0x9ab537a
sub ecx, 0x96b537a
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x411ee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
or ebp, 0xffffffff
jmp 0x411f02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411f09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411ef8
mov eax, 1
add ebx, ebx
jne 0x411f1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411f10
jne 0x411f2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411f10
xor ecx, ecx
sub eax, 3
jb 0x411f40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411fb2
mov ebp, eax
add ebx, ebx
jne 0x411f4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411f58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x411f7c
inc ecx
add ebx, ebx
jne 0x411f68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411f5d
jne 0x411f79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411f5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x411f9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x411f8d
jmp 0x411efe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411f9c
add edi, ecx
jmp 0x411efe
pop esi
mov edi, esi
mov ecx, 0x5d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x411fba
cmp byte [edi], 3
jne 0x411fba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x411fbf
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x41202e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x164cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16554]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411fec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1655c]
or eax, eax
je 0x412028
mov dword [ebx], eax
add ebx, 4
jmp 0x412009
call dword [esi + 0x16558]
mov ebp, dword [esi + 0x16560]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x412062
sub esp, 0xffffff80
jmp 0x4019b0
Function at 0x402d40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
cmp eax, 0x110
je 0x402d80
cmp eax, 0x111
jne 0x402d70
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
jmp sym._DestinationDlgProc_16.part.0
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret 0x10
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], 0xffffffeb
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], 0xc9
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowTextW]
mov eax, 1
sub esp, 8
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x404e70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x14
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], edx
test eax, eax
je 0x404e9d
xor ebx, ebx
lea esi, [esi]
nop
mov eax, dword [eax]
mov esi, ebx
inc ebx
test eax, eax
jne 0x404e90
test ebx, ebx
jne 0x404ea8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [ebx*4]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, eax
mov eax, dword [edi + 4]
sub esp, 0xc
mov edx, ecx
test eax, eax
je 0x404eeb
nop
mov dword [edx], eax
mov eax, dword [eax]
add edx, 4
test eax, eax
jne 0x404ee0
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov eax, dword [eax*4 + 0x415d20]
mov dword [ebp - 0x10], ecx
mov dword [esp + 8], 4
mov dword [esp + 0xc], eax
call dword [sym.imp.ucrtbase.dll_qsort]
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov ebx, dword [ecx]
mov eax, ecx
mov dword [edi + 4], ebx
test esi, esi
jne 0x404f2a
jmp 0x404f38
mov ebx, dword [eax]
mov edi, dword [eax + 4]
add eax, 4
mov dword [ebx], edi
dec edx
jne 0x404f28
mov ebx, dword [ecx + esi*4]
mov dword [ebx], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x404f70
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetParent]
mov ebx, dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 4
mov dword [esp + 4], 0xffffffeb
mov dword [esp], eax
call ebx
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0xffffffeb
mov dword [esp], esi
call ebx
sub esp, 8
test edi, edi
je 0x40508d
cmp dword [ebp + 0xc], 0x100
je 0x405010
cmp dword [ebp + 0xc], 0x114
je 0x405078
cmp dword [ebp + 0xc], 7
je 0x405038
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [0x40c940]
mov dword [esp], eax
call dword [sym.imp.user32.dll_CallWindowProcW]
sub esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp dword [ebp + 0x10], 9
jne 0x404fd4
mov eax, dword [edi + 0x12c]
test eax, eax
jne 0x405088
mov eax, dword [edi + 0x98]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetFocus]
sub esp, 4
jmp 0x404fd4
lea ecx, [edi + 0x98]
cmp eax, ecx
sete al
movzx eax, al
mov dword [edi + 0x12c], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 0x185
mov dword [esp], esi
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x404fd4
call sym._set_header
jmp 0x404fd4
mov eax, dword [edi + 4]
jmp 0x405026
mov dword [esp + 8], 0xf00
mov dword [esp + 4], str..._src_wine_programs_winefile_winefile.c
mov dword [esp], str.child
call dword [sym.imp.ucrtbase.dll__assert]
nop
nop
nop
nop
nop
nop