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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x4212ac
push 0x46e280
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.0043644b
add esp, 0xc
test eax, eax
je 0x4211ba
push 0
push str.ERROR_
push str.Could_not_open_save_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 4]
mov eax, 0xfe03f81
sub ecx, dword [ebx]
imul ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x102
mov dword [ebp - 8], eax
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00423c35
mov esi, eax
add esp, 4
mov eax, dword [ebx]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
cmp eax, dword [ebx + 4]
je 0x421238
mov ebx, esi
push edi
nop
mov esi, eax
mov ecx, 0x40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 0x102
push ebx
movsw word es:[edi], word [esi]
call fcn.00423470
mov eax, dword [ebp - 0xc]
add esp, 8
mov ecx, dword [ebp + 0xc]
add eax, 0x102
add ebx, 0x102
mov dword [ebp - 0xc], eax
cmp eax, dword [ecx + 4]
jne 0x421200
mov esi, dword [ebp - 0x10]
pop edi
imul eax, dword [ebp - 8], 0x102
push 0xa4c6
push eax
push esi
call fcn.00422b60
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 8]
push 4
push 1
push eax
call fcn.00436dba
push dword [ebp - 4]
push 0x102
push dword [ebp - 8]
push esi
call fcn.00436dba
push dword [ebp - 4]
lea eax, [ebp - 0x14]
push 4
push 1
push eax
call fcn.00436dba
push esi
call fcn.004243b7
add esp, 0x40
push dword [ebp - 4]
call fcn.00436555
add esp, 4
push 0
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4214b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x11000
call fcn.00423c35
add esp, 4
mov dword [ebp - 0x20c], eax
mov esi, eax
mov edi, 0x200
push ebx
push 0x88
push 1
push esi
call fcn.004369a9
push 0x88
push esi
call fcn.00423470
add esp, 0x18
add esi, 0x88
sub edi, 1
jne 0x4214e3
lea eax, [ebp - 0x208]
mov byte [ebp - 8], 0
push eax
call fcn.00404e40
add esp, 4
test eax, eax
jne 0x421549
push eax
push str.ERROR_
push str.Failed_to_save_the_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424024
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x20c]
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.00421a10
push esi
call fcn.004243b7
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00424024
mov esp, ebp
pop ebp
ret
Function at 0x421ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x421b90
push 0x46e280
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0043644b
add esp, 0xc
test eax, eax
je 0x421b15
push 0
push str.ERROR_
push str.Could_not_open_save_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov esi, ebx
mov edi, 0x200
nop
push 0x88
push esi
call fcn.00423470
add esp, 8
add esi, 0x88
sub edi, 1
jne 0x421b20
push 0xc4f7
push 0x11000
push ebx
call fcn.00422b60
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
push 0x11000
push 1
push ebx
call fcn.00436dba
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push 4
push 1
push eax
call fcn.00436dba
push dword [ebp + 0xc]
call fcn.00436555
add esp, 0x30
push edi
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421bf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46db4b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x21c], esi
push eax
push 1
lea eax, [ebp - 0x218]
mov dword [ebp - 4], esi
push 4
push eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x218], esi
call fcn.004369a9
mov eax, dword [ebp - 0x218]
add esp, 0x10
test eax, eax
jne 0x421c80
push eax
push str.ERROR_
push str.ItemData_count___0_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x421dbf
xor ecx, ecx
mov edx, 0x74
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00423c35
imul ecx, dword [ebp - 0x218], 0x74
mov edi, eax
mov dword [ebp - 0x22c], edi
push ecx
push 0
push edi
call fcn.004255e0
push dword [ebp - 0x228]
imul ecx, dword [ebp - 0x218], 0x74
push 1
push ecx
push edi
call fcn.004369a9
push dword [ebp - 0x228]
lea eax, [ebp - 0x230]
push 1
push 4
push eax
call fcn.004369a9
xor edi, edi
add esp, 0x30
cmp dword [ebp - 0x218], edi
jle 0x421d1f
mov esi, dword [ebp - 0x22c]
nop dword [eax]
push 0x74
push esi
call fcn.00423470
add esp, 8
lea ecx, [ebp - 0x224]
push esi
call fcn.004228d0
inc edi
add esi, 0x74
cmp edi, dword [ebp - 0x218]
jl 0x421cf0
mov esi, dword [ebp - 0x21c]
mov ebx, dword [ebp - 0x224]
push 0x74
push dword [ebp - 0x22c]
call fcn.00423c27
lea eax, [ebp - 0x214]
mov byte [ebp - 0x14], 0
push eax
call fcn.00404e40
add esp, 0xc
test eax, eax
jne 0x421d77
push eax
push str.ERROR_
push str.Failed_to_save_the_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
test ebx, ebx
je 0x421dbf
sub esi, ebx
mov eax, 0x8d3dcb09
imul esi
add edx, esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
jmp 0x421db4
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00422490
mov esi, dword [ebp - 0x224]
add esp, 8
test esi, esi
je 0x421dbf
mov ecx, dword [ebp - 0x21c]
mov eax, 0x8d3dcb09
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
lea ecx, [ebp - 0x224]
call fcn.00422870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424024
mov esp, ebp
pop ebp
ret
Function at 0x422590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x4225be
push 0
push str.ERROR_
push str.Empty_options_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov esp, ebp
pop ebp
ret
push 0x46e280
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.0043644b
add esp, 0xc
test eax, eax
je 0x4225f3
push 0
push str.ERROR_
push str.Could_not_open_save_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 4]
mov eax, 0x8d3dcb09
sub ecx, dword [ebx]
imul ecx
push esi
add edx, ecx
xor ecx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x74
mov dword [ebp + 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00423c35
imul ecx, dword [ebp + 0xc], 0x74
mov esi, eax
mov dword [ebp - 8], esi
push ecx
push 0
push esi
call fcn.004255e0
mov edx, dword [ebx]
add esp, 0x10
cmp edx, dword [ebx + 4]
je 0x42265e
mov eax, esi
push edi
mov esi, edx
mov edi, eax
mov ecx, 0x1d
add edx, 0x74
rep movsd dword es:[edi], dword [esi]
add eax, 0x74
cmp edx, dword [ebx + 4]
jne 0x422644
mov esi, dword [ebp - 8]
pop edi
imul eax, dword [ebp + 0xc], 0x74
push 0xe2f1
push eax
push esi
call fcn.00422b60
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
push 1
push 4
push eax
call fcn.00436dba
push dword [ebp - 4]
push dword [ebp + 0xc]
push 0x74
push esi
call fcn.00436dba
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push 1
push 4
push eax
call fcn.00436dba
push 0x74
push esi
call fcn.00423c27
add esp, 0x44
push dword [ebp - 4]
call fcn.00436555
add esp, 4
push 0
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422950
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 2
push 0
push edi
call fcn.004488be
push edi
call fcn.00449046
push 0
push 0
push edi
mov ebx, eax
call fcn.004488be
push ebx
call fcn.00423c35
push ebx
mov esi, eax
call fcn.00423c35
push edi
push 1
push ebx
push esi
mov dword [ebp - 0x10c], eax
call fcn.004369a9
push ebx
push esi
mov esi, dword [ebp - 0x10c]
push esi
call fcn.00422a20
add esp, 0x40
push ebx
push esi
call fcn.00423470
lea eax, [ebp - 0x108]
push eax
call fcn.00404e40
add esp, 0xc
test eax, eax
jne 0x4229f6
push eax
push str.ERROR_
push str.Failed_to_save_the_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424024
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00422ab0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00424024
mov esp, ebp
pop ebp
ret
Function at 0x422a20
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x422a4a
mov eax, dword [ebp + 0x10]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424024
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x14], 0xf65273d1
mov bl, 0x5e
mov dword [ebp - 0x10], 0x27cb9ad2
mov dword [ebp - 0xc], 0x3159af3e
mov dword [ebp - 8], 0xa2e7b337
test edi, edi
jle 0x422a98
mov ecx, dword [ebp + 0xc]
sub esi, ecx
mov eax, edx
lea ecx, [ecx + 1]
and eax, 0xf
inc edx
mov al, byte [ebp + eax - 0x14]
xor al, byte [ecx - 1]
sub al, bl
mov byte [esi + ecx - 1], al
mov bl, byte [ecx - 1]
add bl, 0x3d
cmp edx, edi
jl 0x422a78
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00424024
mov esp, ebp
pop ebp
ret

Function at 0x422ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push 0x46e280
push dword [ebp + 8]
push eax
call fcn.0043644b
add esp, 0xc
test eax, eax
jne 0x422b53
push esi
push dword [ebp - 8]
lea eax, [ebp - 4]
mov word [ebp - 4], 0xff00
push 1
push 3
push eax
mov byte [ebp - 2], 0xff
call fcn.00436dba
mov esi, dword [ebp + 0xc]
add esp, 0x10
cmp dword [ebp + 0x10], 0x20004
mov eax, esi
jne 0x422b1f
push 0x10000
call fcn.00423c35
add esp, 4
xor edx, edx
nop dword [eax]
mov cl, byte [esi + edx*2]
mov byte [edx + eax], cl
inc edx
cmp edx, 0x10000
jl 0x422b10
push dword [ebp - 8]
push 1
push 0x10000
push eax
call fcn.00436dba
push dword [ebp - 8]
call fcn.00436555
add esp, 0x14
push 0
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x4234a0
push edi
mov edi, dword [ebp + 8]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, ecx
sub edx, eax
mov al, byte [edx + 0x485304]
xor byte [ecx + edi], al
inc ecx
cmp ecx, esi
jl 0x423481
pop edi
pop esi
pop ebp
ret

Function at 0x451a57
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045164f

Function at 0x4590e7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00458aa5

Function at 0x45b0e4
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045afb8
Function at 0x10001bd8
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x854
mov eax, dword [0x10016114]
xor eax, esp
mov dword [esp + 0x850], eax
mov eax, dword [esp + 0x85c]
push esi
push edi
mov edi, dword [esp + 0x860]
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.gdi32.dll_SaveDC]
push 2
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.gdi32.dll_SetGraphicsMode]
push 1
xor esi, esi
push esi
push edi
call dword [sym.imp.gdi32.dll_ModifyWorldTransform]
push esi
push esi
push esi
push edi
call dword [sym.imp.gdi32.dll_SetViewportOrgEx]
push esi
push esi
push esi
push edi
call dword [sym.imp.gdi32.dll_SetWindowOrgEx]
mov esi, dword [sym.imp.gdi32.dll_GetDeviceCaps]
push 0x58
push edi
call esi
push 0x5a
push edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
call esi
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x1000f4d8]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x1000f4f0]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x86c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x1000f4f0]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.gdi32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
xor ecx, ecx
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov byte [esp + 0x30], cl
mov dword [esp + 0x32], ecx
mov word [esp + 0x36], cx
andps xmm0, xmmword [0x1000f500]
divsd xmm0, qword [0x1000f4e8]
addsd xmm0, qword [0x1000f4e0]
cvttsd2si eax, xmm0
neg eax
cmp dword [esp + 0x870], ecx
mov dword [esp + 0x1c], eax
mov ecx, 0x800
mov eax, dword [esp + 0x86c]
setne byte [esp + 0x31]
push ecx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push eax
push 0x1002
push ecx
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [esp + 0x5c]
push str.Japan
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
lea eax, [esp + 0x38]
je 0x10001d3e
push dword [esp + 0x14]
jmp 0x10001d43
push str.MS_UI_Gothic
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.gdi32.dll_CreateFontIndirectA]
push dword [esp + 0x10]
mov esi, eax
push edi
call dword [sym.imp.gdi32.dll_RestoreDC]
mov ecx, dword [esp + 0x858]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1000b5fc
add esp, 0x854
ret 0x14
Function at 0x10007ad6
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x10016114]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebx
push dword [edi]
call fcn.1000c3fb
mov esi, eax
test esi, esi
jne 0x10007b85
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x10007b60
lea eax, [esp + 0x28]
push eax
call fcn.10007ad6
mov esi, eax
test esi, esi
jne 0x10007b85
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x30], 0x100
call ebp
lea ecx, [esp + 0x14]
test eax, eax
je 0x10007b3b
call fcn.100044c8
push ebx
mov ecx, edi
call fcn.10005152
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.100044c8
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000b5fc
add esp, 0x11c
ret 4
Function at 0x10008ec6
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x10008f28
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, ecx
test edx, edx
jne 0x10008f38
push 0xd
pop eax
jmp 0x10008f6e
push ebp
push esi
push edi
xor esi, esi
mov edi, edx
mov ecx, edi
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008f44
sub ecx, ebp
lea eax, [ecx + 1]
add edi, eax
add esi, eax
cmp eax, 1
jne 0x10008f3f
push esi
push edx
push 7
push 0
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x1000c3fb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000c40a
pop dword [ebp - 0xc]
mov eax, 0x1000c40a
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x39ed0
push 0
mov eax, 0x7678bead
add eax, 0x9988125b
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x51f6
mov ebx, eax
mov esi, 0x10021400
add esi, dword [ebp - 0xc]
mov edx, 0x8d9eb96b
add edx, 0xa6df6100
xor dword [ebp - 4], edx
mov edi, dword [esi]
add dword [ebp - 8], 0x84e2894
add edi, edx
sub dword [ebp - 4], edx
mov dword [ebx], edi
add dword [ebp - 4], 0x13fff264
add ebx, 0x2380adc
sub ebx, 0x2380ad8
add esi, 0x6189b70c
sub esi, 0x6189b708
loop 0x1000c458
add eax, 0x13aab
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x409270
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x469b2b
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.0045e3c0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4092f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045c16d
mov eax, dword [eax]
push 0x4da1d0
push eax
call fcn.0044e5f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045e64b
test bl, bl
je 0x4092f2
push 0x4da1d0
lea ecx, [esp + 0xc]
call fcn.0045e9db
push 0x4ddd44
lea ecx, [esp + 0xc]
call fcn.0045e9db
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 0x40932e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045e64b
jmp 0x4093f9
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 0x4093b2
lea edx, [esp + 0x7c]
push 0x4ddd40
push edx
call fcn.0044e5f4
add esp, 8
test eax, eax
je 0x4093b2
lea eax, [esp + 0x7c]
push 0x4ddd3c
push eax
call fcn.0044e5f4
add esp, 8
test eax, eax
je 0x4093b2
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 0x409342
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.0045e64b
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 0x409bf0
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 0x409c52
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 0x409c60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x469bab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e46c8]
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 0x409d98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409cc6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e64b
xor eax, eax
jmp 0x409e0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045e788
push esi
lea ecx, [esp + 0xc]
call fcn.0045ea17
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 0x409ded
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00409bf0
test eax, eax
jne 0x409ded
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 closesocket
mov ecx, edi
call fcn.00409bf0
test eax, eax
jne 0x409ded
lea eax, [esp + 0x14]
push 0x4ddd58
push eax
call fcn.0044f630
mov esi, eax
add esp, 8
test esi, esi
jne 0x409dcc
lea ecx, [esp + 0x14]
push 0x4ddd54
push ecx
call fcn.0044f5b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409dcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409dcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045e738
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409cde
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e64b
xor eax, eax
jmp 0x409e0f
mov byte [esi], 0
push 0x4ddd50
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.0045e64b
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