joyce8/EMBER2024-capa huggingface dataset:
Function at 0x564c6f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x564c94
cmp dword [ebp - 0xc], 1
jne 0x564da1
jmp 0x564da7
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__2405
mov dword [ebp - 0xc], 1
jmp 0x564da2
nop
jmp 0x564c7f
leave
ret
Function at 0x5673ee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x567413
cmp dword [ebp - 0xc], 1
je 0x567559
jmp 0x567554
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0xac], 2
mov dword [esp + 0xa8], 0
fld qword [0x58ead0]
fstp qword [esp + 0xa0]
mov dword [esp + 0x9c], 8
mov dword [esp + 0x98], 5
mov dword [esp + 0x94], 8
fld1
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 8
mov dword [esp + 0x80], 2
mov dword [esp + 0x7c], 6
mov dword [esp + 0x78], 0x58e6ec
fldz
fstp qword [esp + 0x70]
mov dword [esp + 0x6c], 8
mov dword [esp + 0x68], 2
fld qword [0x58eac0]
fstp qword [esp + 0x60]
mov dword [esp + 0x5c], 3
mov dword [esp + 0x58], 4
fld qword [0x58eac0]
fstp qword [esp + 0x50]
fld qword [0x58eab8]
fstp qword [esp + 0x48]
fld qword [0x58ead8]
fstp qword [esp + 0x40]
mov dword [esp + 0x3c], 9
mov dword [esp + 0x38], 2
fld qword [0x58eac0]
fstp qword [esp + 0x30]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x58a5bc
fld qword [0x58eab0]
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 3
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
fld qword [0x58ead0]
fstp qword [esp + 8]
fld qword [0x58eac0]
fstp qword [esp]
call sym._AddOperaWalletExtension
mov dword [ebp - 0xc], 1
nop
jmp 0x5673fe
nop
leave
ret
Function at 0x56b2a1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x56b4a8
cmp dword [ebp - 0xc], 1
jne 0x56b4a2
mov eax, dword [ebp + 0xcc]
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 0xc8]
mov dword [esp + 0xc0], eax
mov eax, dword [ebp + 0xc4]
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 0xc0]
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 0xbc]
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 0xb8]
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0xb4]
mov dword [esp + 0xac], eax
mov eax, dword [ebp + 0xb0]
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0xac]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0xa8]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0xa4]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0xa0]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x9c]
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x98]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x94]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x90]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__2587
mov dword [ebp - 0xc], 0
jmp 0x56b4a3
nop
jmp 0x56b2b1
nop
leave
ret
Function at 0x56e271
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ebx, dword [eax]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax]
movzx eax, word [eax + 0xf30]
movzx esi, ax
mov dword [ebp - 0x28], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov edi, dword [eax]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax]
movzx eax, word [eax + 0xf32]
movzx ebx, ax
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov edi, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov ebx, dword [eax]
mov dword [esp + 0x98], 6
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
fld qword [0x58eaa8]
fstp qword [esp + 0x7c]
mov dword [esp + 0x78], 7
fld qword [0x58ead8]
fstp qword [esp + 0x70]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 9
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], 6
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], 2
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], 0
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 2
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edi
fld qword [0x58ead8]
fstp qword [esp + 0x30]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], esi
fld qword [0x58ead8]
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], 1
fld qword [0x58eab8]
fstp qword [esp + 0x14]
mov dword [esp + 0x10], 0
fld qword [0x58eae0]
fstp qword [esp + 8]
mov dword [esp + 4], 0
mov dword [esp], edx
call sym._send_bits
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
nop
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x572eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x572ed5
cmp dword [ebp - 0xc], 1
jne 0x572fd5
jmp 0x572fdb
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__116
mov dword [ebp - 0xc], 1
jmp 0x572fd6
nop
jmp 0x572ec0
leave
ret
Function at 0x5759cd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x575aea
cmp dword [ebp - 0xc], 1
jne 0x575ae4
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__787
mov dword [ebp - 0xc], 0
jmp 0x575ae5
nop
jmp 0x5759dd
nop
leave
ret

Function at 0x5765d0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x576630
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0xbced14]
test esi, esi
jle 0x576750
mov eax, dword [0xbced18]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x576664
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x5766e7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x576650
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x576777
mov eax, dword [0xbced18]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0xbced18]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x576757
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x5766e0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x5766f0
add dword [0xbced14], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0xbced18]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x5766e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x57666e
mov eax, dword [0xbced18]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop

Function at 0x576c30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xbced30
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0xbced28]
sub esp, 4
test ebx, ebx
je 0x576c85
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x576c7e
test esi, esi
je 0x576c7e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x576c60
mov dword [esp], 0xbced30
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x576fb0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x576fd5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x576fe0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x576fd5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x577028
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x57701e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x57702a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x577010
xor eax, eax
pop ebx
pop esi
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403a69
nop
sub eax, 0x403a0f
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x416edc
Capabilities:
Get graphical window text

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
call fcn.004294a0
mov edx, dword [esp + 0x14]
lea ecx, [esp]
call fcn.0041b010
mov dword [section..data], 0x236
mov dword [section..data], 0x238
call fcn.00429320
push eax
push eax
push 0x64
call fcn.0041b4e0
lea ecx, [esp + 8]
pop edx
call fcn.0041b000
mov dword [section..data], 0x23a
push dword [esp]
push 0
call sub.USER32.dll_FindWindowA
mov dword [esp + 8], eax
mov dword [section..data], 0x23b
push 0x64
mov eax, dword [esp + 8]
push eax
push dword [esp + 0x10]
call sub.USER32.dll_GetWindowTextA
mov dword [section..data], 0x23d
cmp dword [esp + 8], 0
je 0x416ff9
mov dword [section..data], 0x23f
push 0
call sub.USER32.dll_MessageBeep
mov dword [section..data], 0x240
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffff
push dword [esp + 0x20]
call sub.USER32.dll_SetWindowPos
mov dword [section..data], 0x241
push 0x3e8
call sub.KERNEL32.dll_Sleep
mov dword [section..data], 0x242
push 0x43
push 0
push 0
push 0
push 0
push 0xfffffffe
push dword [esp + 0x20]
call sub.USER32.dll_SetWindowPos
mov dword [section..data], 0x243
mov dword [section..data], 0x245
mov eax, dword [esp + 8]
jmp 0x41701f
push dword [esp]
call fcn.00429540
push dword [esp + 4]
call fcn.00429540
add esp, 0xc
pop ebx
ret 4
Function at 0x41cbe1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
push dword [0x4ddba4]
mov dword [ebp - 8], ebx
xor edi, edi
call fcn.00428e7b
mov esi, eax
cmp esi, ebx
je 0x41cd1c
mov eax, dword [esi]
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], ebx
je 0x41cc80
push dword [ebp + 8]
call fcn.0041ce43
jmp 0x41cc24
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], bl
jne 0x41cc1c
push dword [esi + 0x14]
call fcn.0041cea1
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
push ebx
mov eax, esi
mov byte [esi + 0x1c], 1
call fcn.0041cabe
pop ecx
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
push 0x41cb33
push 0x2000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x41cc66
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov esi, dword [esi]
mov eax, dword [esi]
push 1
push ebx
push ebx
push esi
call dword [eax + 0x30]
jmp 0x41cd1c
test byte [ebp + 0xc], 1
je 0x41cc89
xor edi, edi
inc edi
test byte [ebp + 0xc], 2
je 0x41ccf5
push esi
call fcn.0041c69b
lea eax, [esi + 4]
push 0xc
push eax
call fcn.0042921c
pop ecx
pop ecx
lea edx, [ebp - 4]
push edx
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [0x4ddd2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x41cd1c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
push dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
push dword [esi + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
push dword [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push ebx
push ebx
push eax
call dword [ecx + 0x30]
jmp 0x41cd1c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push ebx
push ebx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x41cd1c
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41e55b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41e5cf
push edi
push dword [ebp + 8]
push dword [0x4de904]
call fcn.00428e7b
mov edi, eax
test edi, edi
je 0x41e5ce
push ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 1
jne 0x41e591
push esi
call fcn.0042a350
jmp 0x41e59c
cmp ebx, 2
jne 0x41e59e
push esi
call fcn.0042a3e0
mov esi, eax
push 0
lea eax, [ebp - 4]
push eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp ebx, 1
jne 0x41e5c2
push esi
call fcn.0042a3d0
jmp 0x41e5cd
cmp ebx, 2
jne 0x41e5cd
push esi
call fcn.0042a440
pop ebx
pop edi
mov eax, dword [ebp - 4]
pop esi
leave
ret 0xc
Function at 0x41edb9
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
je 0x41edd1
push dword [esp + 4]
push 0x41ed52
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x41ee0e
push esi
mov esi, dword [0x4ddcd8]
test esi, esi
je 0x41ee0d
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x41ee05
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0x4ddcd8
call fcn.0042925f
pop ecx
pop ecx
test ebx, ebx
mov esi, ebx
jne 0x41edde
pop edi
pop ebx
pop esi
ret 4