joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442800
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
je 0x442951
cmp byte [esi + 0x230], 0
mov byte [esi + 0x20e], 1
je 0x44287f
mov eax, esi
call fcn.00441a00
cmp byte [0x589679], 0
je 0x44285a
mov eax, dword [esi + 0x1ec]
push 0x5b
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push eax
call dword [0x53144c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x1ec]
push 0x25f
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [0x53144c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x10]
mov edx, esi
call fcn.00440570
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
sub edi, dword [esp + 0x10]
sub ebx, dword [esp + 0x14]
cmp byte [esi + 0x228], 0
jne 0x4428ab
mov eax, dword [esi + 0x1ec]
jmp 0x4428b1
mov eax, dword [esi + 0x1f0]
push eax
call dword [0x531460]
test eax, eax
jne 0x4428db
cmp byte [esi + 0x228], al
jne 0x4428cc
mov eax, dword [esi + 0x1ec]
jmp 0x4428d2
mov eax, dword [esi + 0x1f0]
push 4
push eax
call dword [0x531454]
cmp byte [esi + 0x228], 0
jne 0x4428ec
mov eax, dword [esi + 0x1ec]
jmp 0x4428f2
mov eax, dword [esi + 0x1f0]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0x2714
push ebx
push edi
push edx
push ecx
push 0
push eax
call dword [0x53144c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x1ec]
push 1
push 0
mov dword [esi + 0x258], eax
add edi, eax
mov dword [esi + 0x25c], ecx
push 0
add ebx, ecx
mov dword [esi + 0x260], edi
push edx
mov dword [esi + 0x264], ebx
call dword [0x531448]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0xb8]
push 0
mov byte [esi + 0x20e], 0
mov byte [esi + 0x38], 0
mov byte [esi + 0x20c], 0
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x84]
push 1
mov ecx, esi
call edx
mov ecx, esi
call fcn.00440cc0
mov esi, dword [esi + 0x1ec]
push 0
push esi
call dword [0x531454]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x449480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x522b48
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x58057c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
xor ebx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], 0xff
mov byte [esp + 0x34], 1
mov byte [esp + 0x35], bl
mov eax, dword [esp + 0x48]
lea esi, [esp + 0xc]
mov dword [esp + 0x40], ebx
call fcn.00449530
cmp byte [esp + 0x34], bl
jne 0x44950e
mov eax, dword [esp + 0x10]
push eax
call dword [0x5310a0]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x38
ret 0x14
Function at 0x44d910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [esi]
mov edx, dword [eax + 0xb8]
push 0
mov ecx, esi
mov byte [esi + 0x20e], 0
mov byte [esi + 0x38], 0
mov byte [esi + 0x20c], 0
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x84]
push 1
mov ecx, esi
call edx
mov ecx, esi
call fcn.00440cc0
mov eax, dword [esi + 0x1ec]
push 0
push eax
call dword [0x531454]
mov esp, ebp
pop ebp
ret

Function at 0x44fa40
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x5c
push ebx
xor eax, eax
xor ecx, ecx
push edi
test edx, edx
je 0x44fa52
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push 2
push ecx
push eax
call dword [0x531498]
lea ecx, [esp + 0x38]
push ecx
push eax
mov dword [esp + 0x40], 0x28
call dword [0x5314a4]
test eax, eax
je 0x44fa95
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esi], edx
mov edx, dword [esp + 0x58]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop edi
pop ebx
add esp, 0x5c
ret
mov edi, dword [0x531490]
push 0
call edi
push 1
mov ebx, eax
call edi
xor edx, edx
xor ecx, ecx
mov dword [esi], ecx
mov dword [esi + 4], edx
push edx
mov dword [esi + 8], ebx
push 0x562a50
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esi + 0xc], eax
call dword [0x5314dc]
test eax, eax
je 0x44fb06
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [0x53152c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [0x5314a0]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xc]
push eax
push esi
call dword [0x53149c]
pop edi
pop ebx
add esp, 0x5c
ret
Function at 0x450730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x10], esi
je 0x4508af
lea eax, [esp + 0x30]
push eax
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call fcn.00450a00
cmp dword [edi + 0x18], 0x5a
jge 0x450774
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
jmp 0x450785
mov edi, dword [edi + 0x14]
cmp edi, esi
je 0x4508af
mov dword [esp + 0x10], edi
mov eax, edi
mov ecx, dword [eax + 0x28]
sub ecx, dword [eax + 0x20]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
sub edi, dword [esp + 0x30]
sub ebx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x2c]
sub ecx, dword [eax + 0x24]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
push eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x60], esi
call dword [0x531520]
push ebx
push edi
push eax
lea esi, [esp + 0x5c]
mov dword [esp + 0x20], eax
call fcn.004492e0
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
test al, al
jne 0x450809
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [0x5314d0]
call fcn.00446e50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push eax
call dword [0x5314d0]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [eax]
mov eax, dword [esp + 0x58]
push ecx
push 0
push 0
push edx
push ebx
push edi
push 0
push 0
push eax
call dword [0x5313c0]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
xor edx, edx
push edx
push ebx
push edi
push ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
call dword [0x531464]
mov ecx, dword [esp + 0x50]
push 2
lea edx, [esp + 0x60]
push edx
push 0
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x40]
push eax
push 0
push ecx
call dword [0x531508]
mov edx, dword [esi + 4]
push 4
push edx
call dword [0x531454]
lea esi, [esp + 0x50]
call fcn.00446e50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x452c20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x22c
mov eax, dword [0x58057c]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
push edi
xor edi, edi
push 0x206
mov esi, ecx
mov dword [esp + 0x24], eax
mov dword [eax], edi
lea ecx, [esp + 0x2e]
mov ebx, edx
xor eax, eax
push edi
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], edi
mov word [esp + 0x34], ax
call fcn.00503d40
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x562c60
push 0x80000002
mov dword [esp + 0x30], 0x208
lea ebp, [esp + 0x34]
mov dword [esp + 0x20], edi
call dword [0x531044]
test eax, eax
jne 0x452cbf
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
mov ecx, ebp
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
push str.SimSun
push eax
call dword [0x531060]
test eax, eax
jne 0x452cbf
cmp dword [esp + 0x14], 7
je 0x452cde
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x452cce
push eax
call dword [0x531050]
mov ecx, dword [esi + 4]
push ebx
call fcn.00456960
xor al, al
jmp 0x452dea
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x531050]
lea edx, [esp + 0x28]
mov dword [esp + 0x10], edi
call fcn.00452be0
mov edi, eax
mov esi, edi
imul esi, esi, 0x20c
add esi, 0x490
push esi
mov dword [esp + 0x20], edi
call fcn.004fe6e3
add esp, 4
push esi
mov ebx, eax
push 0
push ebx
call fcn.00503d40
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x250]
add esp, 0xc
add edi, 2
mov dword [ebx + 0xc], edi
push str.NSimSun
lea eax, [ebx + 0x78]
mov dword [ebx + 4], edx
lea edi, [ebx + 0x1c]
mov ecx, 0x17
push 0x104
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [ebx + 0x10], 0
call fcn.004ff51f
add esp, 0xc
push str.SurSong
lea ecx, [ebx + 0x284]
push 0x104
push ecx
call fcn.004ff51f
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jle 0x452dce
lea esi, [ebx + 0x490]
mov edi, eax
push 0x2c
push ebp
call fcn.004fffca
add esp, 8
test eax, eax
je 0x452d99
add eax, 2
jmp 0x452d9b
mov eax, ebp
push eax
push 0x104
push esi
call fcn.004ff51f
mov eax, ebp
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x452db0
sub eax, edx
sar eax, 1
add esi, 0x20c
sub edi, 1
lea ebp, [ebp + eax*2 + 2]
jne 0x452d85
mov eax, dword [esp + 0x24c]
mov edx, dword [esp + 0x248]
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], edx
mov dword [ecx], ebx
mov al, 1
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004fdc2b
add esp, 0x22c
ret
Function at 0x4579c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x440
mov eax, dword [0x58057c]
xor eax, esp
mov dword [esp + 0x43c], eax
mov eax, dword [esp + 0x444]
push ebx
push edi
mov edi, edx
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
cmp edi, ebx
je 0x457b9b
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4579f6
sub eax, edx
sar eax, 1
je 0x457b9b
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts
push 0x80000002
mov byte [esp + 0x1f], bl
mov dword [esp + 0x24], ebx
call dword [0x531054]
test eax, eax
jne 0x457b9b
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x44], ebx
call dword [0x531004]
test eax, eax
jne 0x457b71
push ebp
xor ebp, ebp
mov dword [esp + 0x10], ebp
cmp dword [esp + 0x18], ebx
jbe 0x457b70
push esi
mov edi, edi
push 0
push 0
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
push 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x50]
push ecx
push ebx
mov esi, 1
push edx
mov dword [esp + 0x4c], 0x104
mov dword [esp + 0x44], esi
call dword [0x531058]
test eax, eax
jne 0x457b47
cmp dword [esp + 0x24], esi
jne 0x457b47
mov ecx, dword [esp + 0x458]
mov dword [esp + 0x20], eax
push edi
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x4c]
mov esi, ebp
call fcn.004578a0
mov ebp, dword [esp + 0x24]
add esp, 0x10
test al, al
je 0x457b35
cmp ebp, esi
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 0x208
jle 0x457b2f
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x248]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push 0
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [0x531060]
test eax, eax
je 0x457b23
mov ebp, esi
mov dword [esp + 0x14], ebp
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov dword [eax], edx
jmp 0x457b35
mov ebp, esi
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x458]
mov edx, ebp
call fcn.00457710
test al, al
jne 0x457b52
inc ebx
cmp ebx, dword [esp + 0x1c]
jb 0x457a70
pop esi
test ebp, ebp
je 0x457b70
mov edi, dword [esp + 0x2c]
lea ebx, [esp + 0x240]
call fcn.00457630
test al, al
je 0x457b70
mov byte [esp + 0xf], 1
pop ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x457b80
push eax
call dword [0x531050]
mov al, byte [esp + 0xb]
pop edi
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.004fdc2b
add esp, 0x440
ret
mov ecx, dword [esp + 0x444]
pop edi
pop ebx
xor ecx, esp
xor al, al
call fcn.004fdc2b
add esp, 0x440
ret
Function at 0x457f30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51e3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x58057c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
push 1
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x14], bl
call dword [0x5310ac]
mov dword [esp + 0x20], ebx
mov byte [esp + 0xd], bl
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], ebx
mov eax, dword [esi]
mov eax, dword [eax + 4]
push ecx
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call eax
lea esi, [esp + 0xc]
call fcn.00445f40
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x457fc0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x58057c]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push edi
push 0x3c
call fcn.004fe6e3
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
jne 0x457fff
pop edi
mov dword [0x5896b4], 0x6d
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004fdc2b
add esp, 0xc
ret
push esi
push 0x3c
push ebx
push edi
call fcn.00503d40
push 0x6148
call fcn.004fe6e3
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x458043
push edi
mov dword [0x5896b4], 0x6d
call fcn.004fe606
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004fdc2b
add esp, 0xc
ret
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x38], esi
mov dword [esi + 4], ebx
mov dword [esi + 0x38], ebx
mov dword [esi], 8
mov dword [esi + 0x3c], 0x44c170
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 0x3c]
cmp eax, ebx
je 0x458079
push 6
lea ecx, [esp + 0x10]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x45808e
mov edx, dword [ecx + 0x38]
push edx
push 6
lea eax, [esp + 0x14]
push 1
push eax
call fcn.005025e3
add esp, 0x10
cmp eax, 6
je 0x45809f
mov dword [0x5896b4], 0x66
jmp 0x4580c5
push 3
lea ecx, [esp + 0x10]
push ecx
push str.GIFVER
mov byte [esp + 0x1e], bl
call fcn.005031fa
add esp, 0xc
test eax, eax
je 0x4580e8
mov dword [0x5896b4], 0x67
push esi
call fcn.004fe606
push edi
call fcn.004fe606
add esp, 8
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004fdc2b
add esp, 0xc
ret
call fcn.00458110
test eax, eax
je 0x4580c5
mov ecx, dword [esp + 0x14]
pop esi
mov eax, edi
pop edi
mov dword [0x5896b4], ebx
pop ebx
xor ecx, esp
call fcn.004fdc2b
add esp, 0xc
ret
Function at 0x458110
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [edi + 0x38]
test byte [eax], 8
jne 0x458127
mov dword [0x5896b4], 0x6f
xor eax, eax
pop ecx
ret
push edi
mov edx, edi
call fcn.00458800
add esp, 4
test eax, eax
je 0x458123
lea ecx, [edi + 4]
push ecx
mov edx, edi
call fcn.00458800
add esp, 4
test eax, eax
je 0x458123
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x458161
push 3
lea edx, [esp + 4]
push edx
push edi
call ecx
add esp, 0xc
jmp 0x458176
mov eax, dword [eax + 0x38]
push eax
push 3
lea ecx, [esp + 8]
push 1
push ecx
call fcn.005025e3
add esp, 0x10
cmp eax, 3
je 0x458189
mov dword [0x5896b4], 0x66
xor eax, eax
pop ecx
ret
mov dl, byte [esp]
movzx eax, dl
mov ecx, eax
shr ecx, 4
and ecx, 7
inc ecx
mov dword [edi + 8], ecx
movzx ecx, byte [esp + 1]
and eax, 7
push ebx
inc eax
push esi
mov dword [edi + 0xc], ecx
test dl, dl
jns 0x458277
mov ecx, eax
mov esi, 1
shl esi, cl
push 0
call fcn.00458df0
add esp, 4
mov dword [edi + 0x10], eax
test eax, eax
jne 0x4581d9
pop esi
mov dword [0x5896b4], 0x6d
pop ebx
pop ecx
ret
xor ebx, ebx
cmp dword [eax], ebx
jle 0x45827e
xor esi, esi
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x4581fe
push 3
lea edx, [esp + 0xc]
push edx
push edi
call ecx
add esp, 0xc
jmp 0x458213
mov eax, dword [eax + 0x38]
push eax
push 3
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.005025e3
add esp, 0x10
cmp eax, 3
jne 0x458258
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 8]
movzx ecx, byte [esp + 8]
mov byte [esi + eax], cl
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 8]
movzx ecx, byte [esp + 9]
mov byte [eax + esi + 1], cl
mov edx, dword [edi + 0x10]
movzx ecx, byte [esp + 0xa]
mov eax, dword [edx + 8]
mov byte [eax + esi + 2], cl
mov edx, dword [edi + 0x10]
inc ebx
add esi, 3
cmp ebx, dword [edx]
jl 0x4581e5
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov esi, dword [edi + 0x10]
call fcn.00458e70
pop esi
mov dword [edi + 0x10], 0
mov dword [0x5896b4], 0x66
xor eax, eax
pop ebx
pop ecx
ret
mov dword [edi + 0x10], 0
pop esi
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x458290
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [edx + 0x38]
test byte [eax], 8
jne 0x4582a7
mov dword [0x5896b4], 0x6f
xor eax, eax
pop ecx
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x4582bd
push 1
lea eax, [esp + 7]
push eax
push edx
call ecx
add esp, 0xc
jmp 0x4582d2
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xb]
push 1
push edx
call fcn.005025e3
add esp, 0x10
cmp eax, 1
je 0x4582e5
mov dword [0x5896b4], 0x66
xor eax, eax
pop ecx
ret
mov al, byte [esp + 3]
cmp al, 0x21
je 0x458323
cmp al, 0x2c
je 0x458316
cmp al, 0x3b
je 0x458309
mov dword [esi], 0
mov dword [0x5896b4], 0x6b
xor eax, eax
pop ecx
ret
mov dword [esi], 4
mov eax, 1
pop ecx
ret
mov dword [esi], 2
mov eax, 1
pop ecx
ret
mov dword [esi], 3
mov eax, 1
pop ecx
ret
Function at 0x458630
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x38]
test byte [eax], 8
jne 0x45864b
mov dword [0x5896b4], 0x6f
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x458661
push 1
lea eax, [esp + 0xb]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x458676
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xf]
push 1
push edx
call fcn.005025e3
add esp, 0x10
cmp eax, 1
je 0x45868a
mov dword [0x5896b4], 0x66
xor eax, eax
pop esi
pop ecx
ret
movzx eax, byte [esp + 7]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
call fcn.004586a0
pop esi
pop ecx
ret

Function at 0x4586a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esi + 0x38]
cmp dword [edi + 0x3c], 0
mov eax, edi
je 0x4586bf
mov edx, dword [eax + 0x3c]
push 1
lea ecx, [esp + 0xb]
push ecx
push esi
call edx
add esp, 0xc
jmp 0x4586d4
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xf]
push 1
push edx
call fcn.005025e3
add esp, 0x10
cmp eax, 1
jne 0x458720
mov cl, byte [esp + 7]
test cl, cl
jbe 0x45872f
lea eax, [edi + 0x44]
mov byte [eax], cl
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [ebx], eax
inc eax
test edx, edx
je 0x458702
movzx ecx, byte [esp + 7]
push ecx
push eax
push esi
call edx
add esp, 0xc
jmp 0x458717
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 7]
push edx
push ecx
push 1
push eax
call fcn.005025e3
add esp, 0x10
movzx edx, byte [esp + 7]
cmp eax, edx
je 0x458735
mov dword [0x5896b4], 0x66
xor eax, eax
pop edi
pop ecx
ret
mov dword [ebx], 0
mov eax, 1
pop edi
pop ecx
ret

Function at 0x458800
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x45881a
push 2
lea eax, [esp + 4]
push eax
push edx
call ecx
add esp, 0xc
jmp 0x45882f
mov ecx, dword [eax + 0x38]
push ecx
push 2
lea edx, [esp + 8]
push 1
push edx
call fcn.005025e3
add esp, 0x10
cmp eax, 2
je 0x458842
mov dword [0x5896b4], 0x66
xor eax, eax
pop ecx
ret
mov ax, word [esp]
movzx ecx, ah
movzx edx, al
mov eax, dword [esp + 8]
shl ecx, 8
add ecx, edx
mov dword [eax], ecx
mov eax, 1
pop ecx
ret
Function at 0x458860
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esi + 0x38]
cmp dword [edi + 0x3c], 0
mov eax, edi
je 0x458884
mov edx, dword [eax + 0x3c]
push 1
lea ecx, [esp + 0xf]
push ecx
push esi
call edx
add esp, 0xc
jmp 0x458899
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0x13]
push 1
push edx
call fcn.005025e3
add esp, 0x10
cmp eax, 1
jne 0x4588e6
mov cl, byte [esp + 0xb]
test cl, cl
jbe 0x4588f6
lea eax, [edi + 0x44]
mov byte [eax], cl
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [ebp], eax
inc eax
test edx, edx
je 0x4588c8
movzx ecx, byte [esp + 0xb]
push ecx
push eax
push esi
call edx
add esp, 0xc
jmp 0x4588dd
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 0xb]
push edx
push ecx
push 1
push eax
call fcn.005025e3
add esp, 0x10
movzx edx, byte [esp + 0xb]
cmp eax, edx
je 0x458908
pop edi
mov dword [0x5896b4], 0x66
xor eax, eax
pop ebp
pop ecx
ret
mov dword [ebp], 0
mov byte [edi + 0x44], 0
mov dword [edi + 0x34], 0
pop edi
mov eax, 1
pop ebp
pop ecx
ret

Function at 0x458920
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [eax + 0x38]
xor ebx, ebx
push edi
mov ecx, esi
cmp dword [esi + 0x3c], ebx
je 0x458942
push 1
lea edx, [esp + 0x13]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
add esp, 0xc
jmp 0x458957
mov edx, dword [ecx + 0x38]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
call fcn.005025e3
add esp, 0x10
movzx ecx, byte [esp + 0xf]
mov eax, 1
shl eax, cl
mov dword [esi + 8], ecx
inc ecx
mov edx, 1
mov dword [esi + 0xc], eax
inc eax
mov dword [esi + 0x10], eax
inc eax
shl edx, cl
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov eax, 0x1002
mov byte [esi + 0x44], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea edi, [esi + 0x2144]
mov dword [esi + 0x1c], edx
mov ecx, 0x1000
rep stosd dword es:[edi], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret