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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x55d9a3
cmp dword [ebp - 0xc], 1
je 0x55db77
jmp 0x55db72
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__2457
mov dword [ebp - 0xc], 1
nop
jmp 0x55d98e
nop
leave
ret
Function at 0x56775d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 2
je 0x56791d
cmp dword [ebp - 0x1c], 2
ja 0x567917
cmp dword [ebp - 0x1c], 0
je 0x5677ad
cmp dword [ebp - 0x1c], 1
je 0x567795
jmp 0x567917
mov dword [esp], str.before_3_zip_n
call sym._printf
mov dword [ebp - 0x1c], 0
jmp 0x567918
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x24]
mov edi, dword [eax]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x94], 5
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0x192
mov dword [esp + 0x78], 7
fld1
fstp qword [esp + 0x70]
mov dword [esp + 0x6c], 4
fld qword [0x592b58]
fstp qword [esp + 0x64]
mov dword [esp + 0x60], edi
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x5c], ecx
mov edi, dword [ebp - 0x30]
mov dword [esp + 0x58], edi
fld qword [0x592b68]
fstp qword [esp + 0x50]
fld qword [0x592b38]
fstp qword [esp + 0x48]
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], 0x34
mov dword [esp + 0x3c], 6
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x38], ecx
mov edi, dword [ebp - 0x3c]
mov dword [esp + 0x34], edi
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], 8
mov dword [esp + 0x28], 0
mov ecx, dword [ebp - 0x44]
mov dword [esp + 0x24], ecx
mov edi, dword [ebp - 0x48]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 6
fld qword [0x592b50]
fstp qword [esp + 8]
fld qword [0x592b60]
fstp qword [esp]
call sym._ExportWinAPI
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x567918
nop
jmp 0x567770
nop
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x5679af
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 0x567ac1
cmp dword [ebp - 0xc], 1
je 0x5679d4
jmp 0x567abc
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__2717
mov dword [ebp - 0xc], 0
nop
jmp 0x5679bf
nop
leave
ret
Function at 0x5681c6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x56834b
cmp dword [ebp - 0xc], 1
jne 0x568345
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__9
mov dword [ebp - 0xc], 0
jmp 0x568346
nop
jmp 0x5681d6
nop
leave
ret
Function at 0x56a268
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x56a3cb
cmp dword [ebp - 0x1c], 1
jne 0x56a3c5
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
fld qword [0x592b58]
fstp qword [esp + 0x94]
fld qword [0x592b60]
fstp qword [esp + 0x8c]
fld qword [0x592b40]
fstp qword [esp + 0x84]
mov dword [esp + 0x80], edx
fld qword [0x592b40]
fstp qword [esp + 0x78]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 5
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 9
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 3
mov dword [esp + 0x58], 0
fld qword [0x592b40]
fstp qword [esp + 0x50]
mov dword [esp + 0x4c], 0
fldz
fstp qword [esp + 0x44]
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], esi
fld qword [0x592b68]
fstp qword [esp + 0x28]
mov dword [esp + 0x24], ebx
fld qword [0x592b40]
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], 9
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._decrypt_byte
mov edx, dword [ebp + 0x10]
mov byte [edx], al
mov dword [ebp - 0x1c], 0
jmp 0x56a3c6
nop
jmp 0x56a27b
nop
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x570b7e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x570cdd
cmp dword [ebp - 0xc], 1
je 0x570ba3
jmp 0x570cd8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 5
mov dword [esp + 0x94], str.Default
mov dword [esp + 0x90], 9
mov dword [esp + 0x8c], 0
fld qword [0x592b30]
fstp qword [esp + 0x84]
fld qword [0x592b58]
fstp qword [esp + 0x7c]
mov dword [esp + 0x78], str.Opera_GX
mov dword [esp + 0x74], 3
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 1
fld qword [0x592b38]
fstp qword [esp + 0x64]
mov dword [esp + 0x60], 0
fld qword [0x592b48]
fstp qword [esp + 0x58]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x48], 6
mov dword [esp + 0x44], 9
mov dword [esp + 0x40], 9
mov dword [esp + 0x3c], 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 5
mov dword [esp + 0x30], 9
mov dword [esp + 0x2c], 4
fld qword [0x592b40]
fstp qword [esp + 0x24]
fld qword [0x592b58]
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
fld qword [0x592b60]
fstp qword [esp + 8]
mov dword [esp + 4], 3
mov dword [esp], 2
call sym._AddOperaWalletExtension
mov dword [ebp - 0xc], 0
nop
jmp 0x570b8e
nop
leave
ret
Function at 0x572ad9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x572afe
cmp dword [ebp - 0xc], 1
jne 0x572cdb
jmp 0x572ce1
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__2578
mov dword [ebp - 0xc], 1
jmp 0x572cdc
nop
jmp 0x572ae9
leave
ret
Function at 0x57a4b0
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 0x57a510
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0xbd1d34]
test esi, esi
jle 0x57a630
mov eax, dword [0xbd1d38]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x57a544
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x57a5c7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x57a530
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x57a657
mov eax, dword [0xbd1d38]
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 [0xbd1d38]
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 0x57a637
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x57a5c0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x57a5d0
add dword [0xbd1d34], 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 [0xbd1d38]
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 0x57a5c0
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 0x57a54e
mov eax, dword [0xbd1d38]
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 0x57ab10
Capabilities:
Get thread local storage value

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

Function at 0x57ae90
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x57aeb5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x57aec0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x57aeb5
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 0x57af08
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x57aefe
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x57af0a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x57aef0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x402e64
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004044a8
test esi, esi
jne 0x402e9b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404598
jmp 0x402ebc
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d00
mov dword [esp], eax
test esi, esi
je 0x402ebc
cmp dword [ebx], 0
je 0x402ebc
dec esi
jmp 0x402ea3
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403114
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x484008], 0x8088405
inc edx
mov dword [ebx + 0x484008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40356c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x484024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403604
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4035e4
xor eax, eax
push ebp
push 0x4035dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403620
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4035e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x484024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x484024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404324
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48704c], 0
je 0x404385
cmp word [0x487220], 0xd7b2
jne 0x40434d
cmp dword [0x487228], 0
jbe 0x40434d
mov eax, 0x48721c
call dword [0x487238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x484070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4043ac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x484034], 0
jne 0x4043a1
push 0
push 0x484068
push 0x484070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret