joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x430100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x40], ecx
mov ecx, 0xb
mov esi, str._pipediscord_ipc_0
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x44], 0x15
mov eax, 2
imul ecx, eax, 0x15
mov edx, 0x30
mov word [ebp + ecx - 0x34], dx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0xffffffff
je 0x402ec7
mov ecx, dword [ebp - 0x38]
mov byte [ecx], 1
mov al, 1
jmp 0x402f38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jne 0x402f0a
mov edx, 2
imul eax, edx, 0x15
movzx ecx, word [ebp + eax - 0x34]
cmp ecx, 0x39
jge 0x402f08
mov edx, 2
imul eax, edx, 0x15
mov cx, word [ebp + eax - 0x34]
add cx, 1
mov edx, 2
imul eax, edx, 0x15
mov word [ebp + eax - 0x34], cx
jmp 0x402e95
jmp 0x402f2f
cmp dword [ebp - 0x3c], 0xe7
jne 0x402f2f
push 0x2710
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x402f2a
xor al, al
jmp 0x402f38
jmp 0x402e95
xor al, al
jmp 0x402f38
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422656
mov esp, ebp
pop ebp
ret

Function at 0x402f90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
jne 0x402fa3
mov al, 1
jmp 0x403012
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402fb3
xor al, al
jmp 0x403012
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
jne 0x402fc0
xor al, al
jmp 0x403012
cmp dword [ebp + 8], 0
jne 0x402fca
xor al, al
jmp 0x403012
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x403008
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jne 0x403008
mov dword [ebp - 0x10], 1
jmp 0x40300f
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x403020
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x403036
xor al, al
jmp 0x4030c9
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403049
xor al, al
jmp 0x4030c9
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
jne 0x403056
xor al, al
jmp 0x4030c9
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x4030bf
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jb 0x4030bd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x4030b5
mov al, 1
jmp 0x4030c9
mov ecx, dword [ebp - 8]
call fcn.00402f50
jmp 0x4030c7
mov ecx, dword [ebp - 8]
call fcn.00402f50
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x403180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaa0
mov eax, dword [0x430100]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20
lea eax, [ebp - 0x84]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20
lea edx, [ebp - 0x44]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0xa9c]
push ecx
push 0x20019
push 0
push str.SoftwareValveSteam
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xa94], eax
cmp dword [ebp - 0xa94], 0
je 0x403213
push str.Error_opening_Steam_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00403820
add esp, 8
jmp 0x40331d
mov dword [ebp - 0xa98], 0x208
lea edx, [ebp - 0xa98]
push edx
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
mov ecx, dword [ebp - 0xa9c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xa94], eax
mov edx, dword [ebp - 0xa9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa94], 0
jne 0x403266
cmp dword [ebp - 0xa98], 1
jae 0x403284
push str.Error_reading_SteamExe_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00403820
add esp, 8
jmp 0x40331d
mov eax, dword [ebp - 0xa98]
shr eax, 1
mov dword [ebp - 0xaa0], eax
mov dword [ebp - 0xa90], 0
jmp 0x4032ad
mov ecx, dword [ebp - 0xa90]
add ecx, 1
mov dword [ebp - 0xa90], ecx
mov edx, dword [ebp - 0xa90]
cmp edx, dword [ebp - 0xaa0]
jae 0x4032e3
mov eax, dword [ebp - 0xa90]
movzx ecx, word [ebp + eax*2 - 0x28c]
cmp ecx, 0x2f
jne 0x4032e1
mov edx, 0x5c
mov eax, dword [ebp - 0xa90]
mov word [ebp + eax*2 - 0x28c], dx
jmp 0x40329e
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x28c]
push edx
push str.__s__steam:__rungameid__s
push 0x800
lea eax, [ebp - 0xa8c]
push eax
call fcn.00403790
add esp, 0x14
lea ecx, [ebp - 0xa8c]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.004034b0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422656
mov esp, ebp
pop ebp
ret
Function at 0x403410
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x403471
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx]
test ecx, ecx
je 0x403471
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40346b
mov eax, dword [ebp - 8]
jmp 0x4034ab
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x4034a8
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
je 0x4034a8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4057f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4244ed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x430100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00405be0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x405730
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x405899
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
jmp 0x4058aa
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004064e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x408b70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x24
ja 0x408bb0
cmp dword [ebp - 4], 0x24
je 0x408ced
mov ecx, dword [ebp - 4]
sub ecx, 3
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x11
ja case.0x408ba9.1
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x408d4c]
jmp dword [eax*4 + 0x408d38]
cmp dword [ebp - 4], 0x112
je 0x408c19
cmp dword [ebp - 4], 0x218
je 0x408bde
cmp dword [ebp - 4], 0x232
je 0x408cc5
jmp case.0x408ba9.1
mov eax, 1
jmp 0x408d2f
cmp dword [ebp + 0x10], 0
jne 0x408bf0
mov eax, 0x424d5144
jmp 0x408d2f
cmp dword [ebp + 0x10], 9
jne 0x408c0a
push 0
push str.Warning_
push str.Battery_power_is_low
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x408d2f
mov ecx, dword [ebp + 0x10]
and ecx, 0xfffffff0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xf020
je 0x408c3f
cmp dword [ebp - 8], 0xf030
je 0x408c3f
cmp dword [ebp - 8], 0xf120
je 0x408c3f
jmp 0x408c89
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_int___thiscall_cWeb::IsWebHandle_void_]
test eax, eax
je 0x408c89
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_struct_HWND______thiscall_cWeb::GetWebHandle_void_]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_int___thiscall_cWeb::CloseWebPage_struct_HWND____]
cmp eax, 1
jne 0x408c7f
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp case.0x408ba9.1
call fcn.00408a00
jmp case.0x408ba9.1
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_struct_HWND______thiscall_cWeb::GetWebHandle_void_]
test eax, eax
je 0x408cc1
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_void___thiscall_cWeb::UpdatePos_void_]
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_struct_HWND______thiscall_cWeb::GetWebHandle_void_]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x408ba9.1
mov edx, dword [sym.imp.Engine.dll_long_int_sam_bFullScreenActive]
cmp dword [edx], 1
je 0x408ce2
movzx eax, byte [0x456ff4]
test eax, eax
je 0x408ce2
mov byte [0x456ff4], 0
jmp case.0x408ba9.1
mov byte [0x456ff4], 1
jmp case.0x408ba9.1
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x20], 0x898
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x24], 0x5dc
cmp dword [0x456ff8], 0
je 0x408d13
mov dword [ebp - 0x10], 0
jmp 0x408d2c
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40fcd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x430100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x40fcf7
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x40fcfe
mov al, 1
jmp 0x40fe04
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x2c]
call dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x40], 0xffffffff
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x50]
jne 0x40fd41
mov dword [ebp - 0x44], 1
jmp 0x40fd48
mov dword [ebp - 0x44], 0
mov cl, byte [ebp - 0x44]
mov byte [ebp - 0x2d], cl
movzx edx, byte [ebp - 0x2d]
test edx, edx
je 0x40fd5d
xor al, al
jmp 0x40fe04
mov dword [ebp - 0x64], 0x20
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov ecx, dword [ebp - 0x54]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x40fda0
cmp dword [ebp - 0x34], 1
je 0x40fda7
cmp dword [ebp - 0x34], 3
je 0x40fdf7
jmp 0x40fe02
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x40fdd7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40fdd7
xor al, al
jmp 0x40fe04
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x40fdeb
mov dword [ebp - 0x48], 1
jmp 0x40fdf2
mov dword [ebp - 0x48], 0
mov al, byte [ebp - 0x48]
jmp 0x40fe04
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x40fe04
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422656
mov esp, ebp
pop ebp
ret
Function at 0x4116e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x41170c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x4117f8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp + 0x10], 0
jl 0x4117a9
jg 0x411735
cmp dword [ebp + 0xc], 0
jbe 0x4117a9
cmp dword [ebp - 0xc], 0
jl 0x4117a9
jg 0x411743
cmp dword [ebp - 0x10], 0
jbe 0x4117a9
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x411761
jl 0x411755
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x10]
jae 0x411761
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 0xc]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
cmp dword [ebp + 0x10], 0
jl 0x4117ec
jg 0x4117b7
cmp dword [ebp + 0xc], 0
jbe 0x4117ec
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x4117ec
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
sbb edx, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x423c98
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x423cd7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x423cd7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x423cd7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x423cd7
cmp dword [ecx + 0x74], 0xe
jbe 0x423cd7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xdddcc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0xdddce2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x6d]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0xdddcd0
mov byte [esi + 4], 0
mov eax, esi
pop esi
ret

Function at 0xdddcf0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0xdddd12
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x6d]
inc eax
xor byte [edx], cl
cmp eax, 5
jb 0xdddd00
mov byte [esi + 6], 0
mov eax, esi
pop esi
ret
Function at 0xddebd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 3], 0
je 0xddebf2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x6d]
inc eax
xor byte [edx], cl
cmp eax, 2
jb 0xddebe0
mov byte [esi + 3], 0
mov eax, esi
pop esi
ret

Function at 0xddec00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movaps xmm0, xmmword [0x9657a0]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
movups xmmword [ebp - 0x31], xmm0
mov dword [ebp - 0x21], 0xc7c8d6cc
mov dword [ebp - 0x1d], 0xc4c6c1d3
mov word [ebp - 0x19], 0x100
nop word [eax + eax]
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x31], al
inc ecx
cmp ecx, 0x18
jb 0xddec30
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], 0xfaf1e0fd
mov dword [ebp - 0x13], 0xf6fdb6fb
mov word [ebp - 0xf], 0xf7
mov byte [ebp - 0xd], 1
nop dword [eax + eax]
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 9
jb 0xddec60
push ebx
push esi
push edi
lea eax, [ebp - 0x17]
mov byte [ebp - 0xd], 0
push eax
push ecx
call 0xfea655
lea ecx, [ebp - 0x31]
push ecx
push eax
call dword [0x94c0d8]
mov ebx, eax
xor edi, edi
mov dword [ebp - 8], ebx
push eax
call 0x100b419
mov dword [ebp - 4], eax
test eax, eax
je 0xdded1b
mov esi, dword [0x97449c]
push esi
push edi
push eax
push ecx
call 0xfab698
push 0
push esi
mov edi, eax
push edi
push 0x40
call ebx
mov ebx, eax
call 0xf5622a
cmp ebx, 0xc0000004
jne 0xddecfc
mov ebx, dword [ebp - 4]
push edi
push 0
push ebx
call eax
add esi, esi
cmp esi, 0x10000000
ja 0xdded11
push esi
push 0
push ebx
push edx
call 0xfdf3da
push 0
push esi
mov edi, eax
push edi
push 0x40
call dword [ebp - 8]
mov ebx, eax
call 0xf6488b
cmp ebx, 0xc0000004
je 0xddecc5
test ebx, ebx
jns 0xdded21
push edi
push 0
push dword [ebp - 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
mov eax, dword [0x97449c]
cmp esi, 0x200000
cmovbe eax, esi
mov dword [0x97449c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xdded50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
je 0xdded72
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x6d]
inc eax
xor byte [edx], cl
cmp eax, 9
jb 0xdded60
mov byte [esi + 0xa], 0
mov eax, esi
pop esi
ret

Function at 0xdded80
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x19], 0
je 0xddeda2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x6d]
inc eax
xor byte [edx], cl
cmp eax, 0x18
jb 0xdded90
mov byte [esi + 0x19], 0
mov eax, esi
pop esi
ret

Function at 0xddeec0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0xddeee2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x6d]
inc eax
xor byte [edx], cl
cmp eax, 0xd
jb 0xddeed0
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret
Function at 0xddeef0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
je 0xddef12
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x6d]
inc eax
xor byte [edx], cl
cmp eax, 0x15
jb 0xddef00
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
ret

Function at 0xddf320
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0xddf342
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x6d]
inc eax
xor byte [edx], cl
cmp eax, 0x11
jb 0xddf330
mov byte [esi + 0x12], 0
mov eax, esi
pop esi
ret

Function at 0xde0030
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0xde0052
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x6d]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0xde0040
mov byte [esi + 5], 0
mov eax, esi
pop esi
ret

Function at 0xde0060
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0xde0082
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x6d]
inc eax
xor byte [edx], cl
cmp eax, 7
jb 0xde0070
mov byte [esi + 8], 0
mov eax, esi
pop esi
ret

Function at 0xde0090
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9434d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 0x18], 1
xor ecx, ecx
mov dword [ebp - 0x10], 0x100f6e1
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0xde00f4
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x10]
push edi
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.00eb75d0
mov edi, eax
add esp, 8
test edi, edi
je 0xde018d
push 2
push 0
push edi
call fcn.00ebb3a6
push edi
call fcn.00eb715b
push 0
push 0
push edi
mov dword [ebp - 0x14], eax
call fcn.00ebb3a6
mov ecx, dword [esi + 0x10]
add esp, 0x1c
mov eax, dword [ebp - 0x14]
cmp eax, ecx
ja 0xde0161
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0xde0158
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
mov byte [ecx + eax], 0
jmp 0xde0170
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00e3ce10
mov eax, dword [ebp - 0x14]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0xde017a
mov ecx, dword [esi]
push edi
push eax
push 1
push ecx
call fcn.00ebfe4f
push edi
call fcn.00ebae58
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop edi
cmp ecx, 0x10
jb 0xde01be
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0xde01b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xde01cf
push ecx
push edx
call fcn.00eb1783
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00eb6a20
int3