joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409690
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
lea eax, [ebp - 0x2c]
push ebx
sub esp, 0x5c
mov dword [ebp - 0x2c], edx
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0x500
call dword [sym.imp.kernel32.dll_FormatMessageW]
sub esp, 0x1c
mov ebx, eax
test eax, eax
jne 0x409740
mov edi, dword fs:[0x18]
cmp dword [edi + 0x34], 0xeb
je 0x409740
test byte [0x410188], 1
je 0x40978d
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0xc], str.Could_not_format_string:_le_lu__fmt_s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x411bc8
mov dword [esp + 4], 0x410188
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [sym.imp.kernel32.dll_GetStdHandle]
mov esi, dword [ebp - 0x20]
mov dword [esp], 0xfffffff5
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x30], eax
call eax
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteConsoleW]
sub esp, 0x14
test eax, eax
je 0x409798
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [sym.imp.kernel32.dll_GetOEMCP]
mov dword [ebp - 0x40], edx
call edx
mov dword [esp + 0x1c], 0
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [ebp - 0x3c], eax
call eax
sub esp, 0x20
mov dword [ebp - 0x34], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x40]
test eax, eax
mov dword [ebp - 0x38], eax
je 0x40977e
call edx
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
call eax
mov eax, dword [ebp - 0x30]
sub esp, 0x20
mov dword [esp], 0xfffffff5
call eax
mov edx, dword [ebp - 0x34]
sub esp, 4
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp + 0x10], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40977e
Function at 0x409930
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0xc08]
sub esp, 0xc24
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov edx, dword [ebp + 8]
sub esp, 4
mov dword [esp + 0xc], 0x600
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [0x4166c0]
sub esp, 0x10
test eax, eax
jne 0x409988
test byte [0x410188], 1
jne 0x4099a0
mov ebx, dword [ebp - 4]
leave
ret
lea edx, [ebp + 0xc]
mov eax, ebx
call sym._output_formatstring
mov dword [esp], 0
call dword [sym.imp.ucrtbase.dll_exit]
nop
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.LoadString_failed_with__lu_n
mov dword [esp + 8], str.error_exit
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x410188
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_3
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x40a140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebx + 0x1c]
sub esp, 0x18
sub eax, 3
cmp eax, 1
jbe 0x40a1b0
xor eax, eax
cmp word [ebx + 0xc], 0
mov dword [ebx + 0x24], 0
setne al
mov dword [ebx + 0x28], 0
add eax, 1
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
leave
ret
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40a188

Function at 0x40a4e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ebx, [eax + 2]
movzx eax, word [eax + 2]
cmp ax, 9
je 0x40a508
cmp ax, 0x20
jne 0x40a51b
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 0x20
je 0x40a508
cmp ax, 9
je 0x40a508
test ax, ax
je 0x40a540
cmp ax, 0x3b
je 0x40a540
mov dword [esi + 0x30], 2
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov dword [esi + 0x30], 2
mov eax, ebx
sub esp, 8
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x40a7f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov eax, dword [0x415d48]
test edi, edi
je 0x40a8f1
test eax, eax
je 0x40a940
mov ebx, dword [0x415d40]
test ebx, ebx
je 0x40a9a9
mov dword [esp + 4], 0x411c5e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcspbrk]
test eax, eax
jne 0x40a97e
mov edx, dword [0x415d40]
cmp word [edx], 0
je 0x40a970
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x40a850
sub eax, edx
mov edi, eax
mov ebx, eax
lea eax, [eax + 2]
sar edi, 1
mov esi, dword [0x415d44]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [0x415d48]
mov edx, eax
sub edx, edi
cmp edx, 2
jbe 0x40a910
mov edx, edi
mov ecx, dword [ebp + 8]
add ebx, esi
mov dword [esp + 4], 2
not edx
mov dword [esp], ebx
add eax, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_fread]
test eax, eax
jne 0x40a8d0
mov dword [0x415d40], 0
mov ebx, dword [0x415d44]
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [0x415d44]
add eax, edi
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [0x415d40], ebx
test ebx, ebx
jne 0x40a81f
mov eax, dword [0x415d48]
test eax, eax
jne 0x40a9a9
mov dword [0x415d48], 0
xor ebx, ebx
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [eax + eax]
shl eax, 2
mov dword [esp], esi
mov dword [0x415d48], edx
mov dword [ebp - 0x1c], edx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov edx, dword [ebp - 0x1c]
mov dword [0x415d44], eax
mov esi, eax
mov eax, edx
jmp 0x40a88d
mov dword [0x415d48], 0x1000
xor esi, esi
mov dword [esp], 0x2000
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [0x415d44], eax
mov ebx, eax
mov word [eax], si
mov dword [0x415d40], eax
jmp 0x40a81f
mov eax, 2
xor ebx, ebx
xor edi, edi
jmp 0x40a864
lea edx, [eax + 2]
cmp word [eax], 0xd
mov dword [0x415d40], edx
je 0x40a997
xor edx, edx
mov word [eax], dx
jmp 0x40a8c5
cmp word [eax + 2], 0xa
jne 0x40a98d
lea edx, [eax + 4]
mov dword [0x415d40], edx
jmp 0x40a98d
mov eax, dword [0x415d44]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40a8f9
Function at 0x40a9c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, eax
push ebx
sub esp, 0x1c
mov dword [esp + 4], 0x411c64
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
jne 0x40aaa0
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], eax
mov ebx, eax
call dword [sym.imp.ucrtbase.dll__fileno]
mov dword [esp + 4], 0x8000
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__setmode]
mov dword [esp + 0xc], ebx
test edi, edi
je 0x40aa78
mov dword [esp + 8], 2
mov esi, dword [sym.imp.ucrtbase.dll_fwrite]
mov dword [esp + 4], 1
mov dword [esp], 0x411d6e
call esi
mov eax, str.Windows_Registry_Editor_Version_5.00_r_n
nop
add eax, 2
cmp word [eax], 0
jne 0x40aa40
sub eax, str.Windows_Registry_Editor_Version_5.00_r_n
mov dword [esp + 0xc], ebx
sar eax, 1
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov dword [esp], str.Windows_Registry_Editor_Version_5.00_r_n
call esi
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xa
mov dword [esp + 4], 1
mov dword [esp], str.REGEDIT4_r_n
call sym._fwrite
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x411c68
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wfopen]
mov ebx, eax
test eax, eax
jne 0x40aa12
mov dword [esp], 0x411c6e
call dword [sym.imp.ucrtbase.dll__wperror]
mov dword [esp + 4], esi
mov dword [esp], 0xbbf
call sym._error_exit
jmp 0x40aa12
Function at 0x40afc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x415d58]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x1c], eax
call eax
mov edx, dword [ebp + 8]
mov eax, dword [0x415d54]
test edx, edx
je 0x40b0bf
test eax, eax
je 0x40b110
mov esi, dword [0x415d4c]
test esi, esi
je 0x40b180
mov dword [esp + 4], 0x411c89
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strpbrk]
test eax, eax
jne 0x40b140
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov edi, dword [0x415d50]
mov dword [esp + 4], esi
mov ebx, eax
lea eax, [eax + 1]
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_memmove]
mov esi, dword [0x415d54]
mov eax, esi
sub eax, ebx
cmp eax, 2
jbe 0x40b0e8
mov eax, dword [ebp + 8]
add edi, ebx
mov dword [esp + 4], 1
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, ebx
not eax
lea edx, [eax + esi]
mov dword [esp + 8], edx
call dword [sym.imp.ucrtbase.dll_fread]
test eax, eax
jne 0x40b0a0
mov eax, dword [0x415d50]
mov dword [0x415d4c], 0
test eax, eax
je 0x40b093
call sym._GetWideString.part.0
mov dword [0x415d58], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [0x415d50]
add ebx, esi
mov dword [0x415d4c], esi
mov byte [ebx + eax], 0
test esi, esi
jne 0x40b001
mov eax, dword [0x415d54]
mov dword [0x415d58], 0
test eax, eax
jne 0x40b18a
mov dword [0x415d54], 0
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
add esi, esi
mov dword [esp], edi
mov dword [0x415d54], esi
mov dword [esp + 4], esi
call dword [sym.imp.ucrtbase.dll_realloc]
mov dword [0x415d50], eax
mov edi, eax
jmp 0x40b052
mov dword [0x415d54], 0x1000
mov dword [esp], 0x1000
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [0x415d50], eax
mov esi, eax
mov byte [eax], 0
mov dword [0x415d4c], eax
jmp 0x40b001
lea ecx, [eax + 1]
cmp byte [eax], 0xd
mov dword [0x415d4c], ecx
je 0x40b168
mov byte [eax], 0
mov eax, esi
call sym._GetWideString.part.0
mov dword [0x415d58], eax
jmp 0x40b098
cmp byte [eax + 1], 0xa
jne 0x40b14e
lea ecx, [eax + 2]
mov dword [0x415d4c], ecx
jmp 0x40b14e
mov dword [0x415d58], 0
mov eax, dword [0x415d50]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
jmp 0x40b0d1

Function at 0x40b4c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x10
test ecx, ecx
je 0x40b510
cmp word [edx], 0
je 0x40b540
mov eax, edx
nop
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x40b4e0
sub eax, esi
sar eax, 1
mov dword [esp + 0xc], ebx
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 2
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
test edx, edx
je 0x40b51d
mov eax, edx
call sym._GetMultiByteString.part.0
mov esi, eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fputs]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
xor eax, eax
jmp 0x40b4ed
Function at 0x40bfc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40bff5
lea eax, [ebp - 0x4e]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_fread]
cmp eax, 1
je 0x40c008
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, byte [ebp - 0x4e]
movzx edx, byte [ebp - 0x4d]
mov dword [ebp - 0x5c], sym._get_lineA
xor esi, esi
cmp al, 0xff
jne 0x40c033
xor ecx, ecx
mov edi, sym._get_lineW
cmp dl, 0xfe
cmovne edi, dword [ebp - 0x5c]
sete cl
mov dword [ebp - 0x5c], edi
mov esi, ecx
mov ecx, dword [ebp - 0x5c]
mov word [ebp - 0x46], dx
mov edx, 0xffffffff
mov dword [ebp - 0x4c], ebx
lea ebx, [ebp - 0x4c]
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x48]
mov word [ebp - 0x40], dx
mov edx, sym._header_state
mov dword [ebp - 0x44], esi
mov dword [0x415d5c], ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x40c0aa
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx*4 + 0x411e20]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edx
test eax, eax
jne 0x40c0a0
movzx eax, word [ebp - 0x40]
lea edx, [eax - 3]
cmp dx, 1
jbe 0x40c110
mov eax, dword [ebp - 0x34]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov ebx, 1
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x40bff7
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
cmp ax, 3
sete bl
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40e620
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov edx, dword [0x415d60]
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test edx, edx
jne 0x40e658
mov edx, 1
test byte [eax + 0x40], 0x40
je 0x40e648
mov eax, edx
pop ebp
ret
mov edx, dword [eax + 0x3c]
pop ebp
mov eax, ecx
jmp sym._UpdateExpandingTree.part.0
xor edx, edx
pop ebp
mov eax, edx
ret

Function at 0x40ea80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
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 0x40ead8
cmp byte [esi + ebx - 1], 0xa
je 0x40eaac
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x415e04], 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]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x40f130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x40f308
mov edi, dword [0x415e04]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x40f217
test byte [0x4103e0], 8
jne 0x40f2b0
lea ebx, [ebp - 0xe0]
mov edi, ebx
test byte [0x4103f0], 8
jne 0x40f270
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 sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x40f1b9
cmp esi, 3
jbe 0x40f228
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x40f1ca
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x411fe0]
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 0x40f1b9
mov dword [esp], 0x4103f0
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x40f190
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 sym._sprintf
add edi, eax
jmp 0x40f190
mov dword [esp], 0x4103e0
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x40f17b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xe0]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x40f183
mov eax, 0xffffffff
jmp 0x40f217

Function at 0x40f3f0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
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 sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x40f460
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40f4eb
cmp ax, 9
je 0x40f4d8
cmp ax, 0x20
je 0x40f4d8
mov dword [ebp - 0x6c], 0
xor edi, edi
nop
cmp ax, 0x5c
je 0x40f540
cmp ax, 0x22
je 0x40f550
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40f4eb
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x40f490
test edi, 1
jne 0x40f490
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x40f4d8
cmp ax, 0x20
je 0x40f4d8
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x40f568
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x6c], 1
jmp 0x40f4ab
and dword [ebp - 0x6c], 1
jne 0x40f4a4
xor edi, 1
jmp 0x40f4ab
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x40f504
Function at 0x43c500
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x43ca20
test edx, edx
je 0x43ca20
call fcn.0043c517
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x43ca60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.0043c500
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x43cad1
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x43ca96
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x43d3e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x43d464
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x43d43c
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x43d444
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.0043d469

Function at 0x4497e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x44982c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x44980f
cmp edi, 2
jb 0x44980f
cmp byte [esi], cl
jne 0x44980f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x667dc0]
test edi, edi
jne 0x4497f5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x44985b
cmp cl, 0x23
jne 0x449842
cmp byte [esi], cl
jne 0x449842
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x667dc0]
test cl, cl
jne 0x449833
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x449970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x449983
mov dword [ebx], 0
mov edx, 0x6678c0
call fcn.00449870
mov esi, eax
test esi, esi
je 0x449a5b
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x449a51
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x449a51
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x449a51
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x449a51
cmp edi, 0xffffffff
je 0x449a51
mov eax, dword [0x682310]
test eax, eax
je 0x4499f9
inc dword [eax + 0x374]
push dword [0x682308]
push edi
call fcn.004491a0
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x449a51
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x449a3a
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp + 8]
add esp, 4
call fcn.0044c1d0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x449a49
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret