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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x402a4c
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 0x402b32
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 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 - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x402ae3
jg 0x402a75
cmp dword [ebp + 0xc], 0
jbe 0x402ae3
cmp dword [ebp - 8], 0
jl 0x402ae3
jg 0x402a83
cmp dword [ebp - 0xc], 0
jbe 0x402ae3
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jg 0x402aa1
jl 0x402a95
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0xc]
jae 0x402aa1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
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]
push eax
call fcn.00403ff0
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
sbb edx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
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 0x402b26
jg 0x402af1
cmp dword [ebp + 0xc], 0
jbe 0x402b26
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4c], 0
je 0x402b26
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
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 - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x402b60
jl 0x402b57
cmp dword [ebp + 0xc], 0
ja 0x402b60
xor eax, eax
xor edx, edx
jmp 0x402c9d
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x402b83
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 - 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
jmp 0x402c9d
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x402bf5
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00402cb0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00403ff0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int_]
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x402c8e
mov ecx, dword [ebp - 8]
call fcn.00403820
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x402c66
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x402c64
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x402c9d
jmp 0x402c11
cmp dword [ebp - 4], 0
jbe 0x402c8e
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4038b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x466078]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x4038d7
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x4038de
mov al, 1
jmp 0x4039bb
call fcn.00403f50
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00403f50
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00403fb0
add esp, 8
movzx eax, al
test eax, eax
je 0x40391a
xor al, al
jmp 0x4039bb
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
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 - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x403957
cmp dword [ebp - 0x30], 1
je 0x40395e
cmp dword [ebp - 0x30], 3
je 0x4039ae
jmp 0x4039b9
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x40398e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
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 - 0x34], eax
je 0x40398e
xor al, al
jmp 0x4039bb
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x4039a2
mov dword [ebp - 0x38], 1
jmp 0x4039a9
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x4039bb
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x4039bb
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404ba4
mov esp, ebp
pop ebp
ret
Function at 0x409ec0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x466078]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x620], ecx
mov dword [ebp - 0x608], 0
mov dword [ebp - 0x60c], 0
push 0x8000000
push 0
push 0x47c2c0
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
push 0x200
push 0
lea eax, [ebp - 0x604]
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
push 0
push 0
push 4
push 0
push 1
push Ordinal_1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x618], eax
push 0
mov edx, dword [ebp - 0x618]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x624], eax
push 0
lea eax, [ebp - 0x628]
push eax
push 0x8000000
push 0x47c2c0
mov ecx, dword [ebp - 0x618]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x60c]
movsx eax, byte [edx + 0x47c2c0]
cmp eax, 0x71
je 0x409fb8
mov ecx, dword [ebp - 0x60c]
mov edx, dword [ebp - 0x608]
mov al, byte [edx + 0x47c2c0]
mov byte [ebp + ecx - 0x404], al
mov ecx, dword [ebp - 0x60c]
add ecx, 1
mov dword [ebp - 0x60c], ecx
mov edx, dword [ebp - 0x608]
add edx, 1
mov dword [ebp - 0x608], edx
jmp 0x409f6d
mov eax, dword [ebp - 0x608]
add eax, 1
mov dword [ebp - 0x608], eax
mov dword [ebp - 0x60c], 0
lea ecx, [ebp - 0x61c]
push ecx
push 0x44b95c
lea edx, [ebp - 0x404]
push edx
call fcn.00401b20
add esp, 0xc
mov dword [ebp - 0x614], 0
jmp 0x40a007
mov eax, dword [ebp - 0x614]
add eax, 1
mov dword [ebp - 0x614], eax
mov ecx, dword [ebp - 0x614]
cmp ecx, dword [ebp - 0x61c]
jge 0x40a0a4
mov edx, dword [ebp - 0x608]
movsx eax, byte [edx + 0x47c2c0]
cmp eax, 0x71
je 0x40a064
mov ecx, dword [ebp - 0x60c]
mov edx, dword [ebp - 0x608]
mov al, byte [edx + 0x47c2c0]
mov byte [ebp + ecx - 0x404], al
mov ecx, dword [ebp - 0x60c]
add ecx, 1
mov dword [ebp - 0x60c], ecx
mov edx, dword [ebp - 0x608]
add edx, 1
mov dword [ebp - 0x608], edx
jmp 0x40a019
mov dword [ebp - 0x60c], 0
mov eax, dword [ebp - 0x608]
add eax, 1
mov dword [ebp - 0x608], eax
mov ecx, dword [ebp - 0x614]
lea edx, [ebp + ecx*4 - 0x604]
push edx
push 0x44b960
lea eax, [ebp - 0x404]
push eax
call fcn.00401b20
add esp, 0xc
jmp 0x409ff8
mov dword [ebp - 0x610], 0
jmp 0x40a0bf
mov ecx, dword [ebp - 0x610]
add ecx, 1
mov dword [ebp - 0x610], ecx
mov edx, dword [ebp - 0x610]
cmp edx, dword [ebp - 0x61c]
jge 0x40a128
mov eax, dword [ebp - 0x610]
mov ecx, dword [ebp + eax*4 - 0x604]
push ecx
mov edx, dword [ebp - 0x608]
add edx, 0x47c2c0
push edx
push 0x847c310
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
mov eax, dword [ebp - 0x610]
mov ecx, dword [ebp - 0x608]
add ecx, dword [ebp + eax*4 - 0x604]
mov dword [ebp - 0x608], ecx
push 0x847c310
mov edx, dword [ebp - 0x610]
push edx
mov ecx, dword [ebp - 0x620]
call fcn.0040a1b0
jmp 0x40a0b0
mov eax, dword [ebp - 0x618]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404ba4
mov esp, ebp
pop ebp
ret 4
Function at 0x40b2c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xc47c634
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0xc47c634]
cmp eax, dword [0xc47c63c]
jne 0x40b2f8
mov ecx, dword [0xc47c638]
cmp ecx, dword [0xc47c640]
jne 0x40b2f8
mov dword [0xc47c65c], 0
jmp 0x40b302
mov dword [0xc47c65c], 1
push 0xc47c63c
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0xc47c634
mov edx, dword [0xc47c870]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [0xc47c870]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40b356
mov ecx, dword [0xc47c510]
mov edx, dword [ecx]
mov eax, dword [0xc47c510]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov edx, dword [0x847c2fc]
mov eax, dword [edx]
mov ecx, dword [0x847c2fc]
push ecx
mov edx, dword [eax + 0x1c]
call edx
push 0xc47c518
push 0x100
mov eax, dword [0xc47c510]
mov ecx, dword [eax]
mov edx, dword [0xc47c510]
push edx
mov eax, dword [ecx + 0x24]
call eax
push 0xc47c61c
push 0x10
mov ecx, dword [0x847c2fc]
mov edx, dword [ecx]
mov eax, dword [0x847c2fc]
push eax
mov ecx, dword [edx + 0x24]
call ecx
mov dword [ebp - 4], 0
jmp 0x40b39f
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x100
jge 0x40b3e0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xc47c518]
and ecx, 0x80
je 0x40b3d4
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0xc47c310]
test eax, eax
jne 0x40b3d4
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc47c410], 1
jmp 0x40b3de
mov edx, dword [ebp - 4]
mov byte [edx + 0xc47c410], 0
jmp 0x40b396
mov dword [ebp - 8], 0
jmp 0x40b3f2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x40b425
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0xc47c518]
and edx, 0x80
je 0x40b419
mov eax, dword [ebp - 8]
mov byte [eax + 0xc47c310], 1
jmp 0x40b423
mov ecx, dword [ebp - 8]
mov byte [ecx + 0xc47c310], 0
jmp 0x40b3e9
mov dword [0xc47c654], 0
mov dword [0xc47c658], 0
cmp dword [0xc47c624], 0
jge 0x40b44e
mov dword [0xc47c658], 1
jmp 0x40b461
cmp dword [0xc47c624], 0
jle 0x40b461
mov dword [0xc47c654], 1
mov edx, 1
imul eax, edx, 0
movzx ecx, byte [eax + 0xc47c628]
and ecx, 0x80
je 0x40b496
cmp dword [0xc47c644], 0
jne 0x40b496
cmp dword [0xc47c638], 0
jle 0x40b496
mov dword [0xc47c64c], 1
jmp 0x40b4a0
mov dword [0xc47c64c], 0
mov edx, 1
shl edx, 0
movzx eax, byte [edx + 0xc47c628]
and eax, 0x80
je 0x40b4d4
cmp dword [0xc47c648], 0
jne 0x40b4d4
cmp dword [0xc47c638], 0
jle 0x40b4d4
mov dword [0xc47c650], 1
jmp 0x40b4de
mov dword [0xc47c650], 0
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [edx + 0xc47c628]
and eax, 0x80
je 0x40b500
mov dword [0xc47c644], 1
jmp 0x40b50a
mov dword [0xc47c644], 0
mov ecx, 1
shl ecx, 0
movzx edx, byte [ecx + 0xc47c628]
and edx, 0x80
je 0x40b52d
mov dword [0xc47c648], 1
jmp 0x40b537
mov dword [0xc47c648], 0
cmp dword [0xc47c634], 0
jg 0x40b54a
mov dword [0xc47c634], 0
cmp dword [0xc47c634], 0x500
jl 0x40b560
mov dword [0xc47c634], 0x500
cmp dword [0xc47c638], 0
jg 0x40b573
mov dword [0xc47c638], 0
cmp dword [0xc47c638], 0x2d0
jl 0x40b589
mov dword [0xc47c638], 0x2d0
mov esp, ebp
pop ebp
ret
Function at 0x4310c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 0x44bb18
push str.system_system.dat
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
push edx
push 1
push 0x268
mov eax, dword [ebp - 4]
add eax, 0x9c248
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
push 0x44bb30
push 0x44bb34
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
push edx
push 1
push 0x9c220
mov eax, dword [ebp - 4]
add eax, 0x28
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [ebp - 8], 0
jmp 0x43116d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x43118c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + edx*4 + 0x9c24c]
mov dword [ecx*4 + 0xc47c9a0], edx
jmp 0x431164
mov esp, ebp
pop ebp
ret

Function at 0x431f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x44bb00
push 0x44bb04
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
push edx
push 1
push 0x268
mov eax, dword [ebp - 4]
add eax, 0x9c248
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x431fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x44baec
push 0x44baf0
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
push 0x3e74
push 0xc47ccd0
imul ecx, dword [ebp + 8], 0x13844
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0x28]
imul ecx, dword [ebp + 0xc], 0x3e74
add eax, ecx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
push eax
push 1
push 0x9c220
mov ecx, dword [ebp - 4]
add ecx, 0x28
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 4]
call fcn.00431f70
mov esp, ebp
pop ebp
ret 8
Function at 0x44a270
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0xc47c874], eax
mov ecx, dword [0xc47c874]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00449fa0
add esp, 8
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
mov ecx, dword [0x46627c]
push ecx
mov edx, dword [0x4662ec]
push edx
push Ordinal_1
push Ordinal_1
push 0xcb0000
push str.Saraman_Union
push 0x45ff84
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0xc47c870], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.0040b990
push 0
push 0xf
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, 1
test edx, edx
je 0x44a33f
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x44a33d
cmp dword [ebp - 0x1c], 0x12
jne 0x44a329
jmp 0x44a33f
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x44a302
call fcn.0040b880
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43dc80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa4bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049cb6b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43dd02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049a3ed
mov eax, dword [eax]
push 0x4c91e4
push eax
call fcn.0048c794
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049cdf6
test bl, bl
je 0x43dd02
push 0x4c91e4
lea ecx, [esp + 0xc]
call fcn.0049d1d2
push 0x4ccd64
lea ecx, [esp + 0xc]
call fcn.0049d1d2
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43dd3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049cdf6
jmp 0x43de09
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x43ddc2
lea edx, [esp + 0x7c]
push 0x4ccd60
push edx
call fcn.0048c794
add esp, 8
test eax, eax
je 0x43ddc2
lea eax, [esp + 0x7c]
push 0x4ccd5c
push eax
call fcn.0048c794
add esp, 8
test eax, eax
je 0x43ddc2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43dd52
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049cdf6
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x43e600
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43e662
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x43e670
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa53b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d3f28]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x43e7a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43e6d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049cdf6
xor eax, eax
jmp 0x43e81f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049cf7f
push esi
lea ecx, [esp + 0xc]
call fcn.0049d20e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43e7fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0043e600
test eax, eax
jne 0x43e7fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.0043e600
test eax, eax
jne 0x43e7fd
lea eax, [esp + 0x14]
push 0x4ccd78
push eax
call fcn.0048d940
mov esi, eax
add esp, 8
test esi, esi
jne 0x43e7dc
lea ecx, [esp + 0x14]
push 0x4ccd74
push ecx
call fcn.0048d8c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43e7dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43e7df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049cf2f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43e6ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049cdf6
xor eax, eax
jmp 0x43e81f
mov byte [esi], 0
push 0x4ccd70
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0049cdf6
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4