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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xbc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
mov edi, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov edx, dword [edx]
mov edx, dword [edx]
add edx, 0x3b8
movzx eax, word [eax + edx*4 + 0xa]
movzx eax, ax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov edx, dword [edx]
mov edx, dword [edx]
add edx, 0x3b8
movzx eax, word [eax + edx*4 + 8]
movzx ecx, ax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov ebx, dword [eax]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [ebp - 0x28], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax]
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 1
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], edi
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], 0
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x70], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], 5
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], 9
mov dword [esp + 0x50], 2
mov dword [esp + 0x4c], 0
fld qword [0x591bd8]
fstp qword [esp + 0x44]
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x34], 0
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 4
mov dword [esp + 0x28], esi
fld qword [0x591bd0]
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], edx
mov dword [esp + 4], 7
mov dword [esp], 0
call sym._send_bits
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 1
nop
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x55c701
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 0x55c726
cmp dword [ebp - 0xc], 1
je 0x55c844
jmp 0x55c83f
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__2423
mov dword [ebp - 0xc], 1
nop
jmp 0x55c711
nop
leave
ret
Function at 0x565781
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 2
je 0x56595e
cmp dword [ebp - 0x1c], 2
ja 0x565958
cmp dword [ebp - 0x1c], 0
je 0x565938
cmp dword [ebp - 0x1c], 1
jne 0x565958
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x24]
mov esi, dword [eax]
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x24]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov dword [ebp - 0x50], edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x9c], edx
fld qword [0x591bd8]
fstp qword [esp + 0x94]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], esi
fld1
fstp qword [esp + 0x84]
mov ebx, dword [ebp - 0x2c]
mov dword [esp + 0x80], ebx
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x7c], esi
mov ebx, dword [ebp - 0x34]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], 7
fld qword [0x591bc0]
fstp qword [esp + 0x6c]
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x68], esi
fldz
fstp qword [esp + 0x60]
fld qword [0x591bc0]
fstp qword [esp + 0x58]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x54], edx
mov ebx, dword [ebp - 0x40]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], 5
mov esi, dword [ebp - 0x44]
mov dword [esp + 0x48], esi
fld qword [0x591bc0]
fstp qword [esp + 0x40]
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], 7
fld qword [0x591bc8]
fstp qword [esp + 0x30]
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x2c], edx
mov ebx, dword [ebp - 0x50]
mov dword [esp + 0x28], ebx
fld qword [0x591bc8]
fstp qword [esp + 0x20]
fld qword [0x591bb8]
fstp qword [esp + 0x18]
mov esi, dword [ebp - 0x54]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 9
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._ByteAlloc
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x565959
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenA]
call eax
sub esp, 4
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x565959
nop
jmp 0x565794
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x56ddb5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x1c], 3
cmp dword [ebp - 0x1c], 3
je 0x56de13
cmp dword [ebp - 0x1c], 3
ja 0x56dfa2
cmp dword [ebp - 0x1c], 2
je 0x56de28
cmp dword [ebp - 0x1c], 2
ja 0x56dfa2
cmp dword [ebp - 0x1c], 0
je 0x56ddfd
cmp dword [ebp - 0x1c], 1
jne 0x56dfa2
jmp 0x56dfa8
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov dword [ebp - 0x1c], 1
jmp 0x56dfa3
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [ebp - 0x1c], 2
jmp 0x56dfa3
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x9c], edx
fld qword [0x591bb8]
fstp qword [esp + 0x94]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], esi
fld qword [0x591bb8]
fstp qword [esp + 0x84]
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x80], ecx
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x7c], esi
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], 9
fld qword [0x591bf0]
fstp qword [esp + 0x6c]
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x68], esi
fld qword [0x591bf0]
fstp qword [esp + 0x60]
fld qword [0x591bc8]
fstp qword [esp + 0x58]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x54], edx
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], 1
mov esi, dword [ebp - 0x44]
mov dword [esp + 0x48], esi
fld qword [0x591bd0]
fstp qword [esp + 0x40]
mov dword [esp + 0x3c], 0x200000
mov dword [esp + 0x38], 4
fld qword [0x591be0]
fstp qword [esp + 0x30]
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x2c], edx
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 0x28], ecx
fld qword [0x591be0]
fstp qword [esp + 0x20]
fld qword [0x591bc0]
fstp qword [esp + 0x18]
mov esi, dword [ebp - 0x50]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 6
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._ByteAlloc
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x56dfa3
nop
jmp 0x56ddc8
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x5756fb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x575899
cmp dword [ebp - 0x1c], 1
je 0x575723
jmp 0x575894
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x28]
mov esi, dword [eax]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x34]
mov edi, dword [eax]
mov dword [ebp - 0x50], edi
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
fld qword [0x591bd8]
fstp qword [esp + 0x94]
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], 1
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], 2
mov dword [esp + 0x78], 9
fld qword [0x591bd8]
fstp qword [esp + 0x70]
mov dword [esp + 0x6c], 5
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x68], edx
fld1
fstp qword [esp + 0x60]
fld qword [0x591be0]
fstp qword [esp + 0x58]
mov dword [esp + 0x54], 3
fld qword [0x591be0]
fstp qword [esp + 0x4c]
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x48], ecx
fld1
fstp qword [esp + 0x40]
mov ebx, dword [ebp - 0x34]
mov dword [esp + 0x3c], ebx
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x38], esi
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x34], edx
fld qword [0x591bc8]
fstp qword [esp + 0x2c]
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x28], ecx
mov ebx, dword [ebp - 0x44]
mov dword [esp + 0x24], ebx
mov esi, dword [ebp - 0x48]
mov dword [esp + 0x20], esi
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x1c], edx
mov ecx, dword [ebp - 0x50]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 5
mov ebx, dword [ebp - 0x54]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
fld qword [0x591bd0]
fstp qword [esp + 4]
mov dword [esp], eax
call sym._ByteFree
mov dword [ebp - 0x1c], 0
nop
jmp 0x57570e
nop
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x579f00
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 0x579f60
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0xbd3d14]
test esi, esi
jle 0x57a080
mov eax, dword [0xbd3d18]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x579f94
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x57a017
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x579f80
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x57a0a7
mov eax, dword [0xbd3d18]
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 [0xbd3d18]
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 0x57a087
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x57a010
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x57a020
add dword [0xbd3d14], 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 [0xbd3d18]
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 0x57a010
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 0x579f9e
mov eax, dword [0xbd3d18]
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 0x57a560
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xbd3d30
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0xbd3d28]
sub esp, 4
test ebx, ebx
je 0x57a5b5
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 0x57a5ae
test esi, esi
je 0x57a5ae
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x57a590
mov dword [esp], 0xbd3d30
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x57a8e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x57a905
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x57a910
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x57a905
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 0x57a958
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x57a94e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x57a95a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x57a940
xor eax, eax
pop ebx
pop esi
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x305109ef
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x228018c7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x48971a
Capabilities:
Query environment variable

Disassembly:
jmp 0x585487
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x58549b
xor edi, edi
jmp 0x5854df
push ebx
push esi
call fcn.00585380
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.0048b58d
mov edi, eax
add esp, 0x14
test edi, edi
je 0x5854cc
push ebx
push esi
push edi
call fcn.0048b7ae
add esp, 0xc
push 2
push 0
call fcn.0048aeee
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x410d70
push 0x67
push edi
call esi
push 0x64
push 0x410ca8
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.004010f0
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x410d70
push 0x410ca8
push 0
mov dword [0x410e38], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x4010e3
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp + 8], eax
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
je 0x4010d8
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4010c7
lea eax, [ebp - 0x1c]
push eax
call edi
lea eax, [ebp - 0x1c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x4010a7
pop ebx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x40f050]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40139b
push 0
call fcn.00401693
push edx
push eax
push 0x40d54c
lea eax, [ebp - 0x214]
push eax
push str._s_s_ld.exe
push 0x104
push esi
call fcn.00401550
add esp, 0x20
mov eax, 1
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004015b8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004015b8
mov esp, ebp
pop ebp
ret 4

Function at 0x4013b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0
push 1
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x401404
push esi
mov esi, dword [ebp + 0x10]
push 0
lea eax, [ebp + 8]
push eax
push esi
push dword [ebp + 0xc]
mov dword [ebp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp + 8], esi
pop esi
sete al
pop edi
pop ebp
ret 0xc
xor eax, eax
pop edi
pop ebp
ret 0xc
Function at 0x401410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push 0x44
xorps xmm0, xmm0
lea eax, [ebp - 0x5c]
push 0
push eax
movq qword [ebp - 0x14], xmm0
movq qword [ebp - 0xc], xmm0
call fcn.004049d0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x40d5f4
push dword [ebp + 8]
mov dword [ebp - 0x5c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401476
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov esp, ebp
pop ebp
ret 4