joyce8/EMBER2024-capa huggingface dataset:
Function at 0x563a10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x602aa8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x654c54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.Sexy::SoundInstance.0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx], vtable.Sexy::DSoundInstance.0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x12], 0
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x10], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x11], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x14]
fld1
fstp qword [ecx + 0x18]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x14]
fld1
fstp qword [eax + 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x30], 0xac44
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x563bc9
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x3094]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 0x3094]
mov edx, dword [eax]
push ecx
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x563bae
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x8878000a
jg 0x563b27
cmp dword [ebp - 0x18], 0x8878000a
je 0x563b3b
cmp dword [ebp - 0x18], 0x8007000e
je 0x563b7d
cmp dword [ebp - 0x18], 0x80070057
je 0x563b67
jmp 0x563ba7
cmp dword [ebp - 0x18], 0x88780032
je 0x563b51
cmp dword [ebp - 0x18], 0x887800aa
je 0x563b93
jmp 0x563ba7
push 0
push 0x618f90
push str.DSERR_ALLOCATED
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x563ba7
push 0
push 0x618f90
push str.DSERR_INVALIDCALL
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x563ba7
push 0
push 0x618f90
push str.DSERR_INVALIDPARAM
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x563ba7
push 0
push 0x618f90
push 0x618f68
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x563ba7
push 0
push 0x618f90
push str.DSERR_UNINITIALIZED
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.005cdd3a
mov edx, dword [ebp - 0x14]
add edx, 0x30
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x20]
call edx
mov ecx, dword [ebp - 0x14]
call fcn.00563cf0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x566c70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x602be3
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x654c54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x40]
call fcn.00568570
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x40]
mov dword [eax], vtable.Sexy::FModMusicInterface.0
mov ecx, dword [ebp - 0x40]
add ecx, 4
mov dword [ebp - 0x3c], ecx
lea edx, [ebp - 0xd]
push edx
lea eax, [ebp - 0xe]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.005691f0
mov byte [ebp - 4], 1
call fcn.00566b00
mov ecx, dword [ebp - 0x40]
fld1
fstp qword [ecx + 0x28]
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x30], 0x64
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x34], 0x64
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x569e40
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x654c54]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6a2f68], 0
jne 0x569eb0
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.gPakInterfaceP__d
lea eax, [ebp - 0x108]
push eax
call fcn.005cc868
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov dword [0x6a2f68], eax
push 4
push 0
push 0
push 0xf001f
mov edx, dword [0x6a2f68]
push edx
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [0x6a2f6c], eax
mov eax, dword [0x6a2f6c]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cbcb1
mov esp, ebp
pop ebp
ret
Function at 0x56af10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x56afd9
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov edx, dword [ebp + 0x14]
mov eax, dword [eax + 0x2c]
sub eax, dword [edx + 4]
cmp ecx, eax
jae 0x56af4a
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
jmp 0x56af5b
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x2c]
sub edx, dword [ecx + 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [eax + 8]
add eax, dword [edx + 0x28]
mov ecx, dword [ebp + 0x14]
add eax, dword [ecx + 4]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
jmp 0x56af94
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jae 0x56afc0
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
xor eax, 0xf7
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x56af8b
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 4]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x56aff4
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005cd555
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x10

Function at 0x56b9c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0xffffffff
jne 0x56ba3b
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0056b200
movzx ecx, al
test ecx, ecx
je 0x56b9f5
mov eax, 1
jmp 0x56ba4b
mov edx, dword [ebp - 4]
add edx, 0x20
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0x10
jb 0x56ba12
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
jmp 0x56ba1b
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx], 0xffffffff
setne al
jmp 0x56ba4b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov esp, ebp
pop ebp
ret 8
Function at 0x56fc40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
pop ebp
ret
Function at 0x5810b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x5810f2
mov ecx, dword [ebp + 8]
push ecx
call fcn.00592220
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x40]
test eax, eax
je 0x5810e8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x58120e
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x5811cc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x5811bb
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x581131
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
mov eax, dword [edx]
call eax
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x581155
xor al, al
jmp 0x58120e
cmp dword [ebp - 4], 2
jne 0x58115d
jmp 0x5811bb
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5811b6
cmp dword [ebp - 4], 3
je 0x581172
cmp dword [ebp - 4], 1
jne 0x5811b6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
add ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx + 4]
cmp edx, dword [ecx + 8]
jl 0x5811b6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x11c]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [eax + 8], edx
jmp 0x581117
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x84], eax
jmp 0x581202
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0xcc
je 0x581202
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.00581220
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x581220
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x581258
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x180]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xcc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x180]
movzx eax, byte [edx + 8]
test eax, eax
je 0x581325
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
cmp eax, dword [edx + 0x60]
jae 0x5812ed
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5812b3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x78
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x184]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 4]
jne 0x5812eb
xor al, al
jmp 0x58133f
jmp 0x58126d
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
mov edx, dword [ecx + 4]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x180]
mov eax, dword [edx]
call eax
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
jmp 0x581258
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x41]
neg eax
sbb eax, eax
neg eax
add eax, 0xcd
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x5880a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x5880b0
xor eax, eax
jmp 0x58824d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x58820e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x61c450]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x61c450]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x61c450]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x61c450]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x61c450]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x61c450]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x61c450]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x61c450]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x5880b9
cmp dword [ebp + 0x10], 0
je 0x588247
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x61c450]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x588214
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x5cbcb1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x654c54]
jne 0x5cbcbb
repz ret
jmp fcn.005db05c

Function at 0x5ea66b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005da998
and dword [ebp - 4], 0
cmp dword [0x6a41c4], 0
mov ebx, eax
jne 0x5ea71c
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5ea7cd
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5ea7cd
push eax
call fcn.005da926
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6a41c4], eax
call esi
push eax
call fcn.005da926
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6a41c8], eax
call esi
push eax
call fcn.005da926
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6a41cc], eax
call esi
push eax
call fcn.005da926
pop ecx
mov dword [0x6a41d4], eax
test eax, eax
je 0x5ea71c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005da926
pop ecx
mov dword [0x6a41d0], eax
mov eax, dword [0x6a41d0]
cmp eax, ebx
je 0x5ea774
cmp dword [0x6a41d4], ebx
je 0x5ea774
push eax
call fcn.005da9a1
push dword [0x6a41d4]
mov esi, eax
call fcn.005da9a1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5ea774
test edi, edi
je 0x5ea774
call esi
test eax, eax
je 0x5ea76b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5ea76b
test byte [ebp - 0xc], 1
jne 0x5ea774
or dword [ebp + 0x10], 0x200000
jmp 0x5ea7ad
mov eax, dword [0x6a41c8]
cmp eax, ebx
je 0x5ea7ad
push eax
call fcn.005da9a1
pop ecx
test eax, eax
je 0x5ea7ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5ea7ad
mov eax, dword [0x6a41cc]
cmp eax, ebx
je 0x5ea7ad
push eax
call fcn.005da9a1
pop ecx
test eax, eax
je 0x5ea7ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6a41c4]
call fcn.005da9a1
pop ecx
test eax, eax
je 0x5ea7cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5ea7cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f5e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
mov ebx, 0x4848e8
call fcn.0040f580
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00413990
push esi
call fcn.004112ef
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f6a0
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040f6d0
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x40f631
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x4876c8
push eax
call fcn.00414e06
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x42b2ee
push edi
call fcn.0040f450
cmp eax, ebx
je 0x42b2f8
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414e94
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40f690
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004151b0
add esp, 0x10
push 0x712bdba5
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044afdc
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42b324
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00415484
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40f690

Function at 0x40f6a0
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.004131f0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x4103e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4972c8]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x4972c8]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x4972c0], eax
call esi
mov edx, dword [0x4972c0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x4972bc], eax
call esi
mov eax, dword [0x4972c0]
push 0
push eax
call esi
pop esi
ret

Function at 0x421fa7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x490e80]
jne 0x421fb1
repz ret
jmp fcn.00426243
Function at 0x4523ce
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x430
push ebx
push ebp
push esi
mov esi, dword [esp + 0x440]
push edi
xor ebp, ebp
mov eax, dword [esi]
push eax
push 4
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.004151b0
add esp, 0x10
push 0xf46c2a44
push 4
lea edx, [esp + 0x1c]
push edx
call fcn.0044afdc
lea eax, [esp + 0x14]
push 0x487704
push eax
mov byte [esp + 0x20], 0
call fcn.004151d0
add esp, 8
test eax, eax
jne 0x452562
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x18]
push 4
push edx
inc ebp
call fcn.004151b0
mov edi, dword [esp + 0x20]
mov eax, dword [esi]
push eax
xor edi, 0xa8beb18b
lea ebx, [edi + edi]
push ebx
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.004151b0
add esp, 0x20
add edi, 0xfee439e9
push edi
push ebx
lea edx, [esp + 0x28]
push edx
call fcn.0044afdc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x234]
xor eax, eax
push edx
mov word [esp + ebx + 0x28], ax
call fcn.00411691
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.004151b0
mov edi, dword [esp + 0x28]
mov edx, dword [esi]
push edx
xor edi, 0x98b03944
lea ebx, [edi + edi]
push ebx
lea eax, [esp + 0x40]
push 1
push eax
call fcn.004151b0
add esp, 0x28
add edi, 0x8252efd1
push edi
push ebx
lea ecx, [esp + 0x28]
push ecx
call fcn.0044afdc
mov ecx, dword [esp + 0x44c]
lea eax, [esp + 0x20]
push eax
xor edx, edx
push ecx
mov word [esp + ebx + 0x28], dx
call fcn.00411691
mov edi, dword [esp + 0x450]
lea edx, [esp + 0x238]
push edi
push edx
call fcn.004133e4
add esp, 0x10
test eax, eax
je 0x452553
push 0x4876f8
push edi
call fcn.004133e4
add esp, 8
test eax, eax
jne 0x452510
test ebp, ebp
je 0x452553
mov eax, dword [esi]
push 1
push 1
push eax
call fcn.0041557c
mov ecx, dword [esi]
add esp, 0xc
push ecx
push 1
lea edx, [esp + 0x24]
push 4
push edx
call fcn.004151b0
mov eax, dword [esp + 0x2c]
xor eax, 0x87bc
mov dword [esp + 0x2c], eax
add eax, 0x18
push 1
push eax
mov eax, dword [esi]
push eax
call fcn.0041557c
add esp, 0x1c
jmp 0x4523e1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x430
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x430
ret 0xc