joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013f0
Capabilities:
Get process heap flags
Write file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
push ecx
sub esp, 0x38
mov eax, dword [0x406008]
mov esi, dword [ecx]
test eax, eax
je 0x401558
add ebx, 4
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_wvsprintfW]
mov edx, dword [global_toConsole]
sub esp, 0xc
mov esi, eax
test edx, edx
jne 0x401510
mov ebx, dword [0x406004]
mov dword [ebp - 0x1c], 0
mov dword [global_toConsole], 0
test ebx, ebx
je 0x4015d0
mov edi, dword [0x406008]
call dword [sym.imp.kernel32.dll_GetOEMCP]
lea edx, [ebp - 0x1c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0x40404e
mov dword [esp + 0x14], 0xffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov esi, dword [0x406004]
sub esp, 0x20
mov ebx, eax
mov dword [esp], 0xfffffff5
call dword [sym.imp.kernel32.dll_GetStdHandle]
lea edx, [ebp - 0x20]
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov eax, dword [section..bss]
test eax, eax
jne 0x4014f9
test byte [0x403004], 8
jne 0x401610
mov dword [section..bss], 1
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov ebx, dword [0x406008]
mov dword [esp], 0xfffffff5
call dword [sym.imp.kernel32.dll_GetStdHandle]
lea edx, [ebp - 0x20]
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteConsoleW]
sub esp, 0x14
test eax, eax
je 0x40143c
jmp 0x4014d9
mov dword [esp + 8], 0x1fffe
mov dword [esp + 4], 0
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 dword [0x406008], eax
sub esp, 0xc
test eax, eax
jne 0x401415
test byte [0x403004], 1
jne 0x4015a8
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0xc], str.Out_of_memory___could_not_allocate_2_x_64_KB_buffers_n
mov dword [esp + 8], global___func__
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
xor eax, eax
jmp 0x401598
mov dword [esp + 8], 0xffff
mov dword [esp + 4], 0
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 dword [0x406004], eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x40158d
jmp 0x40145b
mov eax, dword [global_toConsole]
mov dword [esp + 0xc], str.Writing_to_console____d__n
mov dword [esp + 8], global___func__
mov dword [esp + 0x10], eax
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4014ef
Function at 0x401a10
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, 0xc
mov ebp, esp
push edi
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x2bc
mov dword [ebp - 0x29c], 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
lea eax, [ebp - 0x29c]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._GetUdpTable_12
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x401b50
mov eax, dword [edi]
lea esi, [ebp - 0x298]
test eax, eax
je 0x401b1c
lea esi, [esi]
mov eax, dword [edi + ebx*8 + 4]
lea edx, [ebp - 0x258]
call sym._NETSTAT_host_name.isra.0
movzx eax, word [edi + ebx*8 + 8]
mov dword [esp], esi
add ebx, 1
mov dword [esp + 8], 0x404484
rol ax, 8
mov dword [esp + 4], 0x20
movzx eax, ax
mov dword [esp + 0xc], eax
call dbg.swprintf
lea eax, [ebp - 0x258]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x158]
mov dword [esp + 8], str._s:_s
mov dword [esp + 4], 0xa0
mov dword [esp], eax
call dbg.swprintf
lea eax, [ebp - 0x158]
mov dword [esp + 4], 0x404498
mov dword [esp + 8], eax
mov dword [esp], str.____6s___22s_:_n
call dbg.NETSTAT_wprintf
cmp ebx, dword [edi]
jb 0x401a90
mov dword [esp + 8], edi
mov dword [esp + 4], 0
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_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
cmp ebx, 0x7a
jne 0x401b40
mov eax, dword [ebp - 0x29c]
jmp 0x401a32
Function at 0x401b80
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, 0x18
mov ebp, esp
push edi
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x54c
mov dword [ebp - 0x51c], 0x18
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
lea eax, [ebp - 0x51c]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._GetTcpTable_12
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x401d68
mov eax, dword [edi]
lea esi, [edi + 4]
test eax, eax
je 0x401d35
mov dword [ebp - 0x52c], edi
lea esi, [esi]
mov eax, dword [esi]
cmp eax, 0xb
ja 0x401d1f
mov edx, 0xfffff6df
bt edx, eax
jb 0x401d1f
mov eax, dword [esi + 4]
lea edx, [ebp - 0x498]
lea edi, [ebp - 0x398]
call sym._NETSTAT_host_name.isra.0
movzx eax, word [esi + 8]
lea ecx, [ebp - 0x518]
mov dword [esp + 8], 0x404484
mov dword [esp], ecx
rol ax, 8
mov dword [esp + 4], 0x20
movzx eax, ax
mov dword [esp + 0xc], eax
call dbg.swprintf
mov eax, dword [esi + 0xc]
mov edx, edi
call sym._NETSTAT_host_name.isra.0
movzx eax, word [esi + 0x10]
lea edx, [ebp - 0x4d8]
mov dword [esp + 8], 0x404484
mov dword [esp], edx
rol ax, 8
mov dword [esp + 4], 0x20
movzx eax, ax
mov dword [esp + 0xc], eax
call dbg.swprintf
lea ecx, [ebp - 0x518]
lea eax, [ebp - 0x498]
mov dword [esp + 8], str._s:_s
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x298]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xa0
call dbg.swprintf
mov dword [esp + 0xc], edi
lea edx, [ebp - 0x4d8]
lea edi, [ebp - 0x158]
mov dword [esp + 0x10], edx
mov dword [esp + 8], str._s:_s
mov dword [esp + 4], 0xa0
mov dword [esp], edi
call dbg.swprintf
mov eax, dword [esi]
lea ecx, [ebp - 0x298]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
shl eax, 5
mov dword [esp + 4], 0x4044ac
add eax, 0x404140
mov dword [esp], str.____6s___22s___22s__s_n
mov dword [esp + 0x10], eax
call dbg.NETSTAT_wprintf
mov eax, dword [ebp - 0x52c]
add ebx, 1
add esi, 0x14
cmp ebx, dword [eax]
jb 0x401c00
mov edi, eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
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_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
cmp ebx, 0x7a
jne 0x401d59
mov eax, dword [ebp - 0x51c]
jmp 0x401ba2
Function at 0x4024c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x40251b
cmp byte [esi + ebx - 1], 0xa
je 0x4024ef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4070a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x402af0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x4070b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x402cb0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x4070b4]
movzx eax, al
bt eax, esi
jae 0x402d10
mov ecx, dword [0x4070a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x402bb6
test byte [0x40301c], 8
jne 0x402c50
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x40302c], 8
jne 0x402c00
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x402b85
cmp esi, 3
jbe 0x402bc0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4045a8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x402b85
mov ecx, dword [0x4070b4]
test ecx, ecx
je 0x402cf0
mov dword [esp], 0x40302c
call dword [0x4070b4]
test al, 8
je 0x402b5c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x402b5c
mov ebx, dword [0x4070b4]
test ebx, ebx
je 0x402cd0
mov dword [esp], 0x40301c
call dword [0x4070b4]
test al, 8
je 0x402b49
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x402b4f
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4070b4
call sym._load_func.part.0
jmp 0x402b10
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4070b4
call sym._load_func.part.0
jmp 0x402c5a
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4070b4
call sym._load_func.part.0
jmp 0x402c0e
mov eax, 0xffffffff
jmp 0x402bb6
Function at 0x402e70
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.wmain
mov dword [esp], eax
call sym._exit
Function at 0x401b40
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b54c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call fcn.00401f00
push eax
push 0x2712
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.0051b150
add esp, 0xc
push str.Mozilla_5.0__hp_tablet__Linux__hpwOS_3.0.0__U__en_US__AppleWebKit_534.6__KHTML__like_Gecko__wOSBrowser_233.70_Safari_534.6_TouchPad_1.0
lea ecx, [ebp - 0x20]
call fcn.00401e60
lea ecx, [ebp - 0x20]
call fcn.00401f00
push eax
push 0x2722
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.0051b150
add esp, 0xc
push 5
push 0x44
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call fcn.0051b150
add esp, 0xc
push 1
push 0x34
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.0051b150
add esp, 0xc
push 1
push 0x63
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.0051b150
add esp, 0xc
push 0
push 0x2f
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call fcn.0051b150
add esp, 0xc
push 0x401d30
push 0x4e2b
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.0051b150
add esp, 0xc
mov edx, dword [ebp - 0x24]
push edx
push 0x2711
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.0051b150
add esp, 0xc
push 0
push 0x40
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.0051b150
add esp, 0xc
push 3
push 0x54
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call fcn.0051b150
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00401ea0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050080a
mov esp, ebp
pop ebp
ret

Function at 0x401d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00500c39
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403bb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b54c0]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x5bf104
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040dd40
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403be4
xor eax, eax
jmp 0x403cdf
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0040df40
add esp, 8
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x403c16
mov eax, dword [ebp - 4]
push eax
call fcn.0040dfa0
add esp, 4
xor eax, eax
jmp 0x403cdf
lea ecx, [ebp - 0x138]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call fcn.0040dd80
add esp, 0xc
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x403c4d
mov eax, dword [ebp - 4]
push eax
call fcn.0040dfa0
add esp, 4
xor eax, eax
jmp 0x403cdf
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x144], 0
jmp 0x403c74
mov edx, dword [ebp - 0x144]
add edx, 1
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x140]
jge 0x403cc4
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0040dd80
add esp, 0xc
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0040df00
add esp, 0xc
mov dword [ebp - 0x13c], eax
jmp 0x403c65
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040dfa0
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050080a
mov esp, ebp
pop ebp
ret

Function at 0x403cf0
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x9e3779b9
mov ecx, dword [ebp - 0x10]
shl ecx, 3
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], 0
jmp 0x403d2f
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 8
jge 0x403d93
mov eax, dword [ebp - 4]
shl eax, 4
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + 8]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 4]
shr ecx, 5
mov edx, dword [ebp + 0x10]
add ecx, dword [edx + 0xc]
xor eax, ecx
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
shl edx, 4
mov eax, dword [ebp + 0x10]
add edx, dword [eax]
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
xor edx, ecx
mov eax, dword [ebp - 8]
shr eax, 5
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + 4]
xor edx, eax
mov eax, dword [ebp - 4]
sub eax, edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
jmp 0x403d26
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret
Function at 0x403e10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 0x5bf234
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00500a9b
add esp, 0xc
mov dword [ebp - 0x14], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00502047
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.00501f58
add esp, 4
mov dword [ebp - 0x10], eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00502047
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.0040e235
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call fcn.00501da7
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00500954
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403db0
add esp, 0xc
push 0x5bf238
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
call fcn.00500a9b
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call fcn.00500c39
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00500954
add esp, 4
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040e22a
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x404d10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x5b54c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x214]
call fcn.00402f20
mov dword [ebp - 0x218], 0
lea eax, [ebp - 0x214]
push eax
mov ecx, 0x5b6ac0
call fcn.00404440
lea ecx, [ebp - 0x358]
push ecx
lea ecx, [ebp - 0x214]
call fcn.00403170
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0xffffffff
je 0x404dc0
mov edx, dword [ebp - 0x218]
add edx, 1
mov dword [ebp - 0x218], edx
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp - 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x404da9
mov edx, dword [ebp - 0x218]
add edx, 1
mov dword [ebp - 0x218], edx
jmp 0x404d80
mov eax, dword [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
mov ecx, dword [ebp + 8]
call fcn.004059c0
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x360], ecx
lea ecx, [ebp - 0x214]
call fcn.00402f40
mov eax, dword [ebp - 0x360]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050080a
mov esp, ebp
pop ebp
ret
Function at 0x409910
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x409920
xor eax, eax
jmp 0x409abd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x409a7e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x566868]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x566868]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x566868]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x566868]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x566868]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x566868]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x566868]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x566868]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x409929
cmp dword [ebp + 0x10], 0
je 0x409ab7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x566868]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x409a84
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret