joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469880
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x531158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00468970
lea edi, [esi + 0x1e0]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.0041b350
mov dword [esi], 0x5380b0
mov ecx, dword [0x659a18]
push ecx
push 1
push 0xc
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov ecx, esi
call fcn.0043a1b0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x469a00
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x531178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00468970
lea edi, [esi + 0x1e0]
mov dword [esp + 0x1c], 0
mov ecx, edi
call fcn.0041b350
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x5381a0
mov ecx, dword [0x659a18]
push ecx
push 1
push 0xc
push edi
call ebp
mov edx, dword [0x659a18]
lea edi, [esi + 0x1ec]
push edx
push 1
push 4
push edi
call ebp
mov ebx, dword [edi]
lea eax, [ebx*4]
push eax
call fcn.00470280
xor edx, edx
add esp, 0x24
cmp eax, edx
je 0x469a9c
dec ebx
mov ecx, eax
cmp ebx, edx
jl 0x469a9e
inc ebx
mov word [ecx], dx
mov word [ecx + 2], dx
add ecx, 4
dec ebx
jne 0x469a8d
jmp 0x469a9e
xor eax, eax
mov edx, dword [edi]
mov dword [esi + 0x1f0], eax
mov ecx, dword [0x659a18]
push ecx
push edx
push 4
push eax
call ebp
add esp, 0x10
mov ecx, esi
call fcn.0043a1b0
mov eax, dword [edi]
mov ecx, dword [esi + 0x1f0]
push eax
push ecx
mov ecx, esi
call fcn.00468cd0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x46a130
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5311d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], esi
call fcn.00468970
mov dword [esi], 0x538290
mov ecx, dword [0x659a18]
push ecx
push 1
lea edx, [esi + 0x1e0]
push 4
push edx
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov ecx, esi
call fcn.0043a1b0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x46a2a0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5311f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00468970
lea edi, [esi + 0x1e0]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.0041b350
mov dword [esi], 0x538380
mov ecx, dword [0x659a18]
push ecx
push 1
push 0xc
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x1ec]
push edx
push 1
push 4
push eax
call edi
add esp, 0x20
mov ecx, esi
call fcn.0043a1b0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x46a450
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x531218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00468970
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x538470
mov ecx, dword [0x659a18]
lea edx, [esi + 0x1e0]
push ecx
push 1
push 2
push edx
mov dword [esp + 0x24], 0
call edi
mov eax, dword [0x659a18]
lea ecx, [esi + 0x1e2]
push eax
push 1
push 2
push ecx
call edi
add esp, 0x20
mov ecx, esi
call fcn.0043a1b0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x46a5c0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x531238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00468970
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x538560
mov ecx, dword [0x659a18]
lea edx, [esi + 0x1e0]
push ecx
push 1
push 2
push edx
mov dword [esp + 0x24], 0
call edi
mov eax, dword [0x659a18]
lea ecx, [esi + 0x1e2]
push eax
push 1
push 2
push ecx
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x1e4]
push edx
push 1
push 4
push eax
call edi
add esp, 0x30
mov ecx, esi
call fcn.0043a1b0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x46aa30
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x531278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push 0
push eax
mov dword [esp + 0x10], esi
call fcn.00439d00
mov dword [esi + 0x1d0], 0
mov dword [esi], 0x538740
mov ecx, dword [0x659a18]
lea edx, [esp + 0x1c]
push ecx
push 1
push 1
push edx
mov dword [esp + 0x24], 0
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [0x659a18]
push 1
push 3
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [0x659a18]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
mov edi, eax
add esp, 0x20
movsx eax, byte [esp + 0x1c]
dec eax
je 0x46aaeb
dec eax
je 0x46aad0
dec eax
jne 0x46ab12
push 0x1c
call fcn.00470250
add esp, 4
test eax, eax
je 0x46ab0a
push edi
mov ecx, eax
call fcn.004ba9e0
jmp 0x46ab0c
push 0x298
call fcn.00470250
add esp, 4
test eax, eax
je 0x46ab0a
push edi
mov ecx, eax
call fcn.004baf10
jmp 0x46ab0c
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x46ab0a
mov edx, dword [0x659a34]
mov ecx, eax
push edx
push edi
call fcn.004bac90
jmp 0x46ab0c
xor eax, eax
mov dword [esi + 0x1d0], eax
mov ecx, esi
call fcn.0043a1b0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x46ac70
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5312c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], esi
call fcn.0041b920
mov dword [esi], 0x538828
mov ecx, dword [0x659a18]
push ecx
push 1
lea edx, [esp + 0x2c]
push 4
push edx
mov dword [esp + 0x2c], 0
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x34]
add esp, 0x10
test eax, eax
je 0x46ad0d
mov ecx, esi
call fcn.0041d170
mov ecx, esi
call fcn.004c4400
lea ecx, [esp + 8]
call fcn.004bff80
mov ecx, dword [esp + 0x24]
lea eax, [esi + 0x10]
push eax
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.004bffa0
lea ecx, [esp + 8]
call fcn.004c02d0
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.004c0380
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xb8], 0x10
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x46ad30
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5312d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push eax
mov dword [esp + 0x10], esi
call fcn.00439d00
or eax, 0xffffffff
mov word [esi + 0x1d6], di
mov word [esi + 0x1d4], di
mov word [esi + 0x1da], ax
mov word [esi + 0x1d8], ax
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x1d4], ecx
mov dword [esi + 0x1dc], edi
mov dword [esi], 0x538900
mov dword [esi + 0x1d8], edx
mov eax, dword [0x659a18]
push eax
push 1
lea ecx, [esi + 0x1d0]
push 4
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov ecx, esi
call fcn.0043a1b0
push edi
mov ecx, esi
call fcn.0046aec0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x46e1d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push esi
mov esi, ecx
push edi
mov ecx, dword [0x659a18]
push 0
push eax
push ecx
call ebx
mov edx, dword [0x659a18]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
lea eax, [esi + 0x1d0]
push 4
push eax
call edi
mov ecx, dword [0x659a18]
lea edx, [esp + 0x2c]
push ecx
push 1
push 4
push edx
call edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x659a18]
push 0
push eax
push ecx
call ebx
mov edx, dword [0x659a18]
lea ebx, [esi + 0x1d4]
push edx
push 1
push 0x1c
push ebx
call edi
mov al, byte [esi + 0x1d8]
add esp, 0x48
cmp al, 3
jne 0x46e270
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x46e268
lea ecx, [esi + 0x1dc]
push 1
push ecx
mov ecx, eax
call fcn.00489020
jmp 0x46e26a
xor eax, eax
mov dword [esi + 0x114], eax
cmp dword [ebx], 1
jge 0x46e27b
mov dword [ebx], 1
mov edx, dword [esi + 0x1ec]
push 0
mov ecx, esi
mov dword [esi + 0x1f0], edx
call fcn.004c43c0
pop edi
pop esi
pop ebx
ret 4

Function at 0x46e2a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push esi
mov ebx, ecx
mov ecx, dword [0x659a18]
push edi
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
lea eax, [esp + 0x24]
push 0x10
push eax
call esi
mov ecx, dword [0x659a18]
lea edx, [esp + 0x28]
push ecx
push 1
push 4
push edx
call esi
mov eax, dword [0x659a18]
lea edi, [ebx + 0x1f8]
push eax
push 1
push 4
push edi
call esi
mov ecx, dword [0x659a18]
lea edx, [esp + 0x60]
push ecx
push 1
push 4
push edx
mov dword [esp + 0x70], 0
call esi
add esp, 0x4c
lea eax, [esp + 0xc]
push 4
push str.flag
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x46e335
mov dword [edi], 0
mov ecx, dword [0x659a40]
mov eax, dword [edi]
test eax, ecx
jne 0x46e349
mov dword [esp + 0x24], 0
test byte [ebx + 0x1db], 1
je 0x46e378
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x46e370
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, eax
call fcn.00489020
jmp 0x46e372
xor eax, eax
mov dword [ebx + 0x12c], eax
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x46e3e3
push 0x58
call fcn.00470250
add esp, 4
test eax, eax
je 0x46e39c
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, eax
call fcn.0043cbc0
jmp 0x46e39e
xor eax, eax
mov dword [ebx + 0x1fc], eax
mov cl, byte [eax]
test cl, 1
je 0x46e3e3
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x46e3db
mov edx, dword [ebx + 0x1fc]
push 1
add edx, 0x10
mov ecx, eax
push edx
call fcn.00489020
pop edi
mov dword [ebx + 0x200], eax
pop esi
pop ebx
add esp, 0x14
ret 4
xor eax, eax
mov dword [ebx + 0x200], eax
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x46e7b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5314e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x18], esi
call fcn.0046dfe0
lea edi, [esi + 0x204]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov dword [edi + 0x10], ebp
push 0x24
mov byte [esp + 0x24], 1
mov dword [esi + 0x218], ebp
mov dword [esi + 0x21c], ebp
mov dword [esi], 0x539770
call fcn.00470250
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x46e82e
mov ecx, dword [0x659a18]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, ebx
push eax
call fcn.00488fd0
jmp 0x46e830
xor eax, eax
mov edx, dword [esp + 0x28]
mov ecx, edi
push edx
mov dword [esi + 0xc4], eax
call fcn.00490580
mov eax, dword [0x659a18]
lea ecx, [esp + 0x10]
push eax
push 1
push 4
push ecx
mov dword [esp + 0x20], ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov edx, dword [0x659a18]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x14
mov ecx, esi
push eax
call fcn.0046e2a0
test byte [esi + 0x1f8], 4
je 0x46e89e
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebp
je 0x46e896
push 1
push edi
mov ecx, eax
call fcn.00489020
jmp 0x46e898
xor eax, eax
mov dword [esi + 0xcc], eax
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x46ed10
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x531518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.0046dfe0
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x53985c
mov ecx, dword [0x659a18]
lea edx, [esi + 0x204]
push ecx
push 1
push 4
push edx
mov dword [esp + 0x24], 0
call edi
mov eax, dword [0x659a18]
lea ecx, [esp + 0x2c]
push eax
push 1
push 4
push ecx
mov dword [esp + 0x3c], 0
call edi
mov edx, dword [0x659a18]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x24
mov ecx, esi
push eax
call fcn.0046e2a0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x46ee80
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x531558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0046dfe0
lea ebx, [esi + 0x218]
push 0x24
mov dword [esp + 0x20], 0
mov dword [esi], 0x539948
mov dword [ebx], 0
call fcn.00470250
mov ebp, dword [sym.imp.MSVCRT.dll_ftell]
mov edi, eax
add esp, 4
test edi, edi
je 0x46eef2
mov ecx, dword [0x659a18]
push 0
push ecx
call ebp
add esp, 4
mov ecx, edi
push eax
call fcn.00488fd0
jmp 0x46eef4
xor eax, eax
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi + 0xc4], eax
mov edx, dword [0x659a18]
lea eax, [esi + 0x204]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [0x659a18]
lea edx, [esi + 0x208]
push ecx
push 1
push 4
push edx
call edi
mov eax, dword [0x659a18]
lea ecx, [esi + 0x20c]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [0x659a18]
lea eax, [esi + 0x210]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [0x659a18]
add esp, 0x40
lea edx, [esi + 0x214]
push ecx
push 1
push 4
push edx
call edi
mov eax, dword [0x659a18]
lea ecx, [esp + 0x34]
push eax
push 1
push 4
push ecx
mov dword [esp + 0x44], 0
call edi
mov eax, dword [0x659958]
add esp, 0x20
cmp eax, 0x1c
jl 0x46efad
mov edx, dword [0x659a18]
push edx
push 1
push 4
push ebx
call edi
mov eax, dword [0x659a18]
push eax
call ebp
add esp, 0x14
mov ecx, esi
push eax
call fcn.0046e2a0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x46f100
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x531598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00439c20
lea edi, [esi + 0x1d8]
xor ebx, ebx
mov dword [esi + 0x1d4], ebx
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
mov dword [edi], ebx
mov word [esi + 0x1dc], bx
mov word [esi + 0x1de], bx
mov dword [esi], 0x539a34
mov ecx, dword [0x659a18]
lea edx, [esi + 0x1d0]
push ecx
push 1
push 2
push edx
mov dword [esp + 0x2c], ebx
call ebp
mov eax, dword [0x659a18]
push 1
push 2
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [0x659a18]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x20
mov ecx, esi
push eax
call fcn.0043b300
cmp dword [0x659958], 0x1a
jl 0x46f203
mov edx, dword [0x659a18]
push edx
push 1
push 4
push edi
call ebp
mov al, byte [edi]
add esp, 0x10
test al, 1
je 0x46f1ef
push 0x24
call fcn.00470250
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x46f1e5
mov eax, dword [0x659a18]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, edi
push eax
call fcn.00488fd0
mov dword [esi + 0x134], eax
jmp 0x46f203
xor eax, eax
mov dword [esi + 0x134], eax
jmp 0x46f203
mov ecx, dword [0x659a18]
push 1
push 0x10
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x14]
and dh, 0xfd
mov eax, esi
or dh, 1
pop edi
mov dword [esi + 8], edx
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x46f440
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5315b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00439c20
lea edi, [esi + 0x1d8]
mov ebp, dword [sym.imp.MSVCRT.dll_ftell]
xor ebx, ebx
mov dword [esi + 0x1d4], ebx
mov dword [edi], ebx
mov word [esi + 0x1dc], bx
mov word [esi + 0x1de], bx
mov dword [esi], 0x539b1c
mov ecx, dword [0x659a18]
push ecx
mov dword [esp + 0x20], ebx
call ebp
add esp, 4
mov ecx, esi
push eax
call fcn.0043b300
cmp dword [0x659958], 0x1a
jl 0x46f51b
mov edx, dword [0x659a18]
push edx
push 1
push 4
push edi
call dword [sym.imp.MSVCRT.dll_fread]
mov al, byte [edi]
add esp, 0x10
test al, 1
je 0x46f507
push 0x24
call fcn.00470250
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x46f4fd
mov eax, dword [0x659a18]
push 1
push eax
call ebp
add esp, 4
mov ecx, edi
push eax
call fcn.00488fd0
mov dword [esi + 0x134], eax
jmp 0x46f51b
xor eax, eax
mov dword [esi + 0x134], eax
jmp 0x46f51b
mov ecx, dword [0x659a18]
push 1
push 0x10
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x14]
and dh, 0xfd
mov eax, esi
or dh, 1
pop edi
mov dword [esi + 8], edx
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x470570
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1014
call fcn.0051c710
push ebx
push ebp
push esi
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [str._proc_meminfo]
xor ebp, ebp
xor esi, esi
push ebp
push eax
mov dword [esp + 0x20], ebp
mov ebx, esi
call dword [sym.imp.MSVCRT.dll__open]
mov edi, eax
add esp, 8
cmp edi, ebp
mov dword [esp + 0x10], edi
jle 0x470671
lea ecx, [esp + 0x24]
push 0x1000
push ecx
push edi
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
test eax, eax
jle 0x470667
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x24]
push str.MemFree
push edx
call edi
add esp, 8
test eax, eax
je 0x470600
push eax
call fcn.004704f0
add esp, 4
shl eax, 0xa
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
push str.MemTotal
push eax
call edi
add esp, 8
test eax, eax
je 0x470621
push eax
call fcn.004704f0
mov ebp, eax
add esp, 4
shl ebp, 0xa
lea ecx, [esp + 0x24]
push str.Cached
push ecx
call edi
add esp, 8
test eax, eax
je 0x470642
push eax
call fcn.004704f0
mov ebx, eax
add esp, 4
shl ebx, 0xa
lea edx, [esp + 0x24]
push str.CmaFree
push edx
call edi
add esp, 8
test eax, eax
je 0x470663
push eax
call fcn.004704f0
mov esi, eax
add esp, 4
shl esi, 0xa
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.MSVCRT.dll__close]
add esp, 4
mov eax, dword [esp + 0x1028]
mov edx, dword [esp + 0x18]
mov ecx, eax
pop edi
mov dword [ecx], ebp
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], esi
pop esi
pop ebp
pop ebx
add esp, 0x1014
ret

Function at 0x470860
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push 0
mov ecx, dword [0x659a18]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
push edx
push 1
push 0x10
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
mov ecx, esi
call fcn.00470840
pop esi
ret 4

Function at 0x472250
Capabilities:
Read file on windows

Disassembly:
mov dl, byte [0x54bc9c]
push esi
mov esi, dword [esp + 0xc]
mov eax, 9
mov cl, byte [esi + 0x11]
cmp cl, dl
jne 0x47226e
mov eax, 0xa
jmp 0x47227b
cmp cl, byte [0x54bc98]
jne 0x47227b
mov eax, 0xc
push eax
mov eax, dword [esp + 0xc]
push esi
push eax
call fcn.004722f0
add esp, 0xc
test eax, eax
jle 0x4722c2
mov ecx, dword [0x659a18]
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
mov ecx, dword [esp + 0x1c]
xor eax, eax
push edx
mov al, byte [esi + 0x11]
push eax
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
mov eax, 1
pop esi
ret
xor ecx, ecx
push edi
mov cl, byte [esi + 0x11]
mov edi, dword [esp + 0x14]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
xor eax, eax
pop esi
ret
Function at 0x4722f0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [eax*4 + 0x6598f4]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
je 0x4723e7
mov ecx, dword [0x659a18]
push ebx
push ebp
push ecx
mov dword [esp + 0x38], ebx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
lea eax, [esp + 0x38]
push edx
push 1
push 4
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, dword [esp + 0x48]
add esp, 0x1c
lea edi, [ecx - 1]
cmp edi, ebx
jl 0x4723e7
lea eax, [edi + ebx]
mov ecx, dword [0x659a18]
cdq
sub eax, edx
push 0
mov esi, eax
sar esi, 1
mov edx, esi
shl edx, 4
lea eax, [edx + ebp + 4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
lea eax, [esp + 0x1c]
push edx
push 1
push 0x10
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
add esp, 0x1c
cmp ax, cx
jb 0x4723b5
mov edx, dword [esp + 0x12]
mov ebx, ecx
and edx, 0xffff
and ebx, 0xffff
add edx, ebx
mov ebx, eax
and ebx, 0xffff
cmp ebx, edx
jl 0x4723be
lea ebx, [esi + 1]
jmp 0x4723b8
lea edi, [esi - 1]
cmp ebx, edi
jg 0x4723e7
jmp 0x472347
mov edx, dword [esp + 0x28]
and ecx, 0xffff
and eax, 0xffff
pop edi
sub eax, ecx
xor ecx, ecx
mov cl, byte [edx + 0x11]
mov edx, dword [esp + 0x10]
imul eax, ecx
add eax, edx
pop esi
add eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret

Function at 0x472400
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x659a18]
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push edi
mov edi, dword [esp + 0x10]
push 0
push edi
push eax
call esi
mov ecx, dword [0x659a18]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push ecx
push 1
lea edx, [esp + 0x24]
push 4
push edx
call ebx
mov eax, dword [esp + 0x2c]
add esp, 0x1c
test eax, eax
jle 0x472471
push 0
push eax
mov eax, dword [0x659a18]
push eax
call esi
mov ecx, dword [0x659a18]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push 1
push edx
push eax
call ebx
mov ecx, dword [0x659a18]
add edi, 4
push 0
push edi
push ecx
call esi
mov eax, dword [esp + 0x38]
add esp, 0x28
pop edi
pop esi
pop ebx
ret

Function at 0x472a50
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
je 0x472a7c
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
push ecx
push 0
push edx
push eax
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x472a7c
mov eax, 1
ret
xor eax, eax
ret