joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43aa47
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x5c]
test eax, eax
je 0x43aa60
jmp 0x43abc0
mov eax, dword [ebp + 0x10]
and byte [eax], 0
mov eax, dword [ebp - 0x18]
and byte [eax + 0x48], 0
mov eax, dword [ebp - 0x18]
push dword [eax + 0x1c]
push dword [eax + 0x18]
mov eax, dword [ebp - 0x18]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov ecx, dword [ebp - 0x18]
call fcn.0043a97a
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
add ecx, dword [ebp + 8]
mov eax, dword [eax + 0x24]
adc eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
cmp eax, dword [ecx + 0x1c]
jl 0x43aade
jg 0x43aacc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
cmp eax, dword [ecx + 0x18]
jbe 0x43aade
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x20], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x18]
push dword [eax + 0x1c]
push dword [eax + 0x18]
mov eax, dword [ebp - 0x18]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov ecx, dword [ebp - 0x18]
call fcn.0043a97a
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x43ab42
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jbe 0x43ab42
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x4c], eax
push dword [ebp + 0x10]
push dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x28]
mov eax, dword [eax]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x43ab40
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x48], 1
jmp 0x43abc0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x43abc0
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x54]
test eax, eax
jne 0x43abc0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax + 0x4c]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43ab81
mov dword [ebp - 0xc], 0x12c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x43abc0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x58], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x4c], ecx
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x28]
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x43abc0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x48], 1
leave
ret 0xc
Function at 0x43b127
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4b97ac
call fcn.0049e324
sub esp, 0x228
mov eax, dword [0x57aa54]
xor eax, dword [ebp + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x234], ecx
lea eax, [ebp - 0x20c]
push eax
push 0x1f3
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x43b163
jmp 0x43b20f
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041a5d6
lea ecx, [ebp - 0x230]
call fcn.0041aa17
and dword [ebp - 4], 0
lea ecx, [ebp - 0x214]
call fcn.00432192
mov byte [ebp - 4], 1
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
add ecx, 0x20
call fcn.004703b5
push eax
mov ecx, dword [ebp - 0x234]
add ecx, 0x20
call fcn.00419db6
push eax
lea ecx, [ebp - 0x214]
call fcn.004324aa
push 0x4c1cca
push 0x4f652c
lea ecx, [ebp - 0x230]
call fcn.0041adeb
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b9cf
push str..tmp
mov ecx, dword [ebp + 8]
call fcn.0041a5d6
and byte [ebp - 4], 0
lea ecx, [ebp - 0x214]
call fcn.0044c2de
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0041aba9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
call fcn.0049c63c
leave
ret 4

Function at 0x44c013
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4b9a9e
call fcn.0049e324
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00432115
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x5557f4
mov eax, dword [ebp - 0x10]
and byte [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 9], 1
mov eax, dword [ebp - 0x10]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0041c292
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0041aa17
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.0045e167
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x44e204
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4b9b65
call fcn.0049e324
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00432115
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x555e6c
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0041aa17
mov eax, dword [ebp - 0x10]
and byte [eax + 0x29], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x30], 0
mov eax, dword [ebp - 0x10]
and byte [eax + 0x50], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x45086f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x18]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 8], eax
and dword [ebp - 4], 0
jmp 0x4508a5
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jae 0x4508ec
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4508cc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jb 0x4508ea
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0xc]
cmp dword [ebp + 8], eax
jae 0x4508ea
mov eax, dword [ebp - 8]
jmp 0x4508ee
jmp 0x450895
xor eax, eax
leave
ret 4
Function at 0x45491b
Capabilities:
Delete file

Disassembly:
mov eax, 0x4ba0c5
call fcn.0049e324
sub esp, 0x80
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x48]
call fcn.0041aa17
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.00454171
and byte [ebp - 0x49], 0
push dword [ebp + 8]
lea eax, [ebp - 0x49]
push eax
lea ecx, [ebp - 0x48]
call fcn.00419db6
push eax
call fcn.0044db9a
add esp, 0xc
mov dword [ebp - 0x84], eax
movzx eax, byte [ebp - 0x49]
test eax, eax
jne 0x4549bd
push str.Failed_to_create_temporary_output_file
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 0x10]
lea ecx, [ebp - 0x48]
call fcn.00419db6
push eax
push str.filename
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 0x28]
and byte [ebp - 0x85], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0041aba9
mov al, byte [ebp - 0x85]
jmp 0x454b5d
push 0
push 0
push 0
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
call fcn.0044dc2e
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x80]
call fcn.004636d7
mov byte [ebp - 4], 2
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x80]
call fcn.0043a80f
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0xb0], 0
je 0x454a14
mov eax, dword [ebp - 0x8c]
push dword [eax + 0xb0]
lea ecx, [ebp - 0x80]
call fcn.004636c3
and byte [ebp - 0x49], 0
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax + 0x30]
test eax, eax
je 0x454a46
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x5c
call fcn.00419db6
push eax
lea ecx, [ebp - 0x80]
call fcn.004648f6
mov byte [ebp - 0x49], al
jmp 0x454a79
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x80
call fcn.00419db6
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x80
call fcn.0046a54d
push eax
lea ecx, [ebp - 0x80]
call fcn.00464e3d
mov byte [ebp - 0x49], al
push 0
push dword [ebp - 0x84]
call fcn.00436fc2
pop ecx
pop ecx
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax + 0x5b]
test eax, eax
je 0x454abd
mov ecx, dword [ebp - 0x8c]
add ecx, 0x5c
call fcn.004703b5
test eax, eax
je 0x454abd
mov ecx, dword [ebp - 0x8c]
add ecx, 0x5c
call fcn.00419db6
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x8c]
mov byte [eax + 0x5b], 1
lea ecx, [ebp - 0x48]
call fcn.00419db6
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x5c
call fcn.0041ba86
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax + 0x94]
test eax, eax
jne 0x454b0f
mov ecx, dword [ebp - 0x8c]
add ecx, 0x80
call fcn.0041c212
mov eax, dword [ebp - 0x8c]
mov byte [eax + 0x94], 1
jmp 0x454b20
mov ecx, dword [ebp - 0x8c]
add ecx, 0x80
call fcn.00431edd
mov eax, dword [ebp - 0x8c]
mov byte [eax + 0x30], 1
mov al, byte [ebp - 0x49]
mov byte [ebp - 0x86], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.00463726
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0044dc80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0041aba9
mov al, byte [ebp - 0x86]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4560f6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0x10], 0
je 0x45610b
mov eax, dword [ebp + 0x10]
and dword [eax], 0
cmp dword [ebp + 0xc], 0
jne 0x456118
xor al, al
jmp 0x4561e1
cmp dword [ebp + 8], 0
jne 0x456125
xor al, al
jmp 0x4561e1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0xffffffff
jne 0x456135
mov al, 1
jmp 0x4561e1
and dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
jne 0x45617c
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0xc]
test eax, eax
je 0x456171
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
or dword [eax + 0x10], 0xffffffff
mov al, 1
jmp 0x4561e1
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x4561c1
and byte [ebp - 0xd], 0
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0043acab
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x4561c1
cmp dword [ebp + 0x14], 0
je 0x4561bd
push str.Aborted_by_application
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
call dword [eax + 0x14]
and byte [ebp - 1], 0
cmp dword [ebp + 0x10], 0
je 0x4561cf
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov al, byte [ebp - 1]
leave
ret 0x10

Function at 0x458490
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x555c9c
movzx eax, byte [0x57cf58]
test eax, eax
jne 0x45855a
mov dword [ebp - 4], 0x4c11db7
and dword [ebp - 8], 0
jmp 0x4584c5
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xff
jg 0x458553
push 8
push dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
call fcn.0045855f
shl eax, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx*4 + 0x57cb58], eax
and dword [ebp - 0xc], 0
jmp 0x4584f9
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 8
jge 0x458530
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x57cb58]
shl eax, 1
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx*4 + 0x57cb58]
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 4]
xor eax, ecx
mov ecx, dword [ebp - 8]
mov dword [ecx*4 + 0x57cb58], eax
jmp 0x4584f2
push 0x20
mov eax, dword [ebp - 8]
push dword [eax*4 + 0x57cb58]
mov ecx, dword [ebp - 0x10]
call fcn.0045855f
mov ecx, dword [ebp - 8]
mov dword [ecx*4 + 0x57cb58], eax
jmp 0x4584be
mov byte [0x57cf58], 1
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x458807
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4ba1ba
call fcn.0049e324
sub esp, 0x34
mov dword [ebp - 0x40], ecx
and dword [ebp - 0x1c], 0
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 1
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], 0
je 0x458874
push dword [ebp - 0x14]
call fcn.0047e916
pop ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x4588cf
cmp dword [ebp - 0x10], 0
je 0x4588cf
cmp dword [ebp + 0x10], 0
je 0x4588cf
lea ecx, [ebp - 0x38]
call fcn.0041aa17
and dword [ebp - 4], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.0041bc27
lea ecx, [ebp - 0x38]
call fcn.00419db6
push eax
push str.RegistryQueryError
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0x28]
push dword [ebp + 0xc]
push str.ValueName
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
call dword [eax + 0x28]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0041aba9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x45e298
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x45e2b1
xor al, al
jmp 0x45e361
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0xffffffff
jne 0x45e2ef
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
xor al, al
jmp 0x45e361
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x10]
call fcn.00431edd
push dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
call fcn.0041caf2
mov ecx, dword [ebp + 0x10]
call fcn.0046a54d
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45e320
xor al, al
jmp 0x45e361
and dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45e344
xor al, al
jmp 0x45e361
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x45e35f
xor al, al
jmp 0x45e361
mov al, 1
leave
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push dword [eax + 4]
call fcn.0045e501
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
and eax, 0xff
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul eax, eax, 0x8088405
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
shr eax, 0x18
mov byte [ebp + 8], al
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call fcn.0045e501
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
leave
ret 4
Function at 0x45f3e1
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
mov eax, 0x4ba3c4
call fcn.0049e324
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00432115
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x5567c8
mov eax, dword [ebp - 0x10]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
and byte [eax + 0x48], 0
mov eax, dword [ebp - 0x10]
and byte [eax + 0x49], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.0041aa17
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
and dword [eax + 0x68], 0
mov eax, dword [ebp - 0x10]
and byte [eax + 0x6c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.0041aa17
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
and byte [eax + 0x8c], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x90], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x94], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x98], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x9c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xa0
call fcn.00431d19
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xb4
call fcn.00431d19
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
and word [eax + 0xc8], 0
mov eax, dword [ebp - 0x10]
and byte [eax + 0xca], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc
call fcn.0041aa17
push 8
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x40
push eax
call fcn.0049ce00
add esp, 0xc
push 0x10
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
call fcn.0049ce00
add esp, 0xc
push 0x10
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x20
push eax
call fcn.0049ce00
add esp, 0xc
push 4
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x1c
push eax
call fcn.0049ce00
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x45f76d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 0x48]
test eax, eax
je 0x45f885
and dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0x10
mov eax, dword [ebp - 0x28]
add eax, 0x30
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x57cf60
push dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
call fcn.0043acab
mov ecx, dword [ebp - 0x28]
add ecx, 0xa0
call fcn.00419db6
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
jmp 0x45f7cf
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x45f81b
push dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
add ecx, 0xa0
call fcn.00431d82
mov dword [ebp - 0x10], eax
and dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push 8
mov ecx, dword [ebp - 0x10]
call fcn.0045ee3f
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x57cf60
push dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.0043acab
jmp 0x45f7c8
mov ecx, dword [ebp - 0x28]
add ecx, 0xb4
call fcn.00419db6
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
jmp 0x45f839
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x45f885
push dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
add ecx, 0xb4
call fcn.00431d82
mov dword [ebp - 0x18], eax
and dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 8
mov ecx, dword [ebp - 0x18]
call fcn.0045ee3f
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x57cf60
push dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
call fcn.0043acab
jmp 0x45f832
mov ecx, dword [ebp - 0x28]
add ecx, 0xa0
call fcn.00419db6
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
jmp 0x45f8a3
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x45f8d6
push dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
add ecx, 0xa0
call fcn.00431d82
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
add eax, 4
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
call fcn.0045f76d
jmp 0x45f89c
mov ecx, dword [ebp - 0x28]
add ecx, 0xb4
call fcn.00419db6
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
jmp 0x45f8f4
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x45f927
push dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
add ecx, 0xb4
call fcn.00431d82
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
add eax, 4
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
call fcn.0045f76d
jmp 0x45f8ed
mov al, 1
leave
ret 0xc
Function at 0x45f92d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x48]
test eax, eax
jne 0x45f96d
and dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0x10
mov eax, dword [ebp - 0x18]
add eax, 0x20
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x57cf60
push dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
call fcn.0043acab
mov ecx, dword [ebp - 0x18]
add ecx, 0xa0
call fcn.00419db6
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
jmp 0x45f98b
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x45f9be
push dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, 0xa0
call fcn.00431d82
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
add eax, 4
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
call fcn.0045f92d
jmp 0x45f984
mov ecx, dword [ebp - 0x18]
add ecx, 0xb4
call fcn.00419db6
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
jmp 0x45f9dc
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x45fa0f
push dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, 0xb4
call fcn.00431d82
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
add eax, 4
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.0045f92d
jmp 0x45f9d5
mov al, 1
leave
ret 0xc