joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d10e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e8184
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x766480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [0x1a4ea6c]
mov esi, dword [ebp + 0xc]
mov edi, dword [0x779904]
test eax, eax
jne 0x4d114c
push 0x14
call fcn.006df8c3
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4d113e
push 0x1e
mov ecx, eax
call fcn.0067b350
jmp 0x4d1140
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x1a4ea6c], eax
push dword [esi + 4]
mov ecx, eax
call fcn.0067b810
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4d12e7
push dword [esi + 4]
call fcn.004b7840
add esp, 4
mov ebx, eax
cmp byte [edi + 0x4f40], 0
jne 0x4d12b3
mov ecx, dword [esi + 0x200]
push 0xb
call fcn.006780a0
test al, al
jne 0x4d12b3
cmp byte [esi + 0x1d9], al
jne 0x4d12b3
mov eax, dword [edi + 0x14]
and eax, 0xc
cmp al, 0xc
je 0x4d1200
push dword [esi + 4]
call fcn.004b7aa0
add esp, 4
test eax, eax
jne 0x4d11d9
push dword [esi + 4]
mov ecx, 0x779908
call fcn.0068dab0
test al, al
jne 0x4d1200
test ebx, ebx
je 0x4d11dd
cmp ebx, 1
jne 0x4d1200
test byte [edi + 0x14], 4
jne 0x4d1200
xor eax, eax
jmp 0x4d11e6
test ebx, ebx
jne 0x4d11f1
mov eax, dword [edi + 0x14]
shr eax, 3
and eax, 1
cmp eax, 1
jne 0x4d12b3
jmp 0x4d1200
cmp ebx, 1
jne 0x4d1200
test byte [edi + 0x14], 4
je 0x4d12bb
mov eax, dword [edi + 0x4f44]
cmp eax, 2
je 0x4d1238
test eax, eax
je 0x4d1238
cmp byte [esi + 0x188], 0
jne 0x4d1238
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + 0x4c], 0
jne 0x4d123b
mov eax, dword [esi + 4]
cmp dword [ecx + 0x24], eax
je 0x4d123b
cmp dword [ecx + 0x28], eax
je 0x4d123b
cmp dword [ecx + 0x2c], eax
jne 0x4d12b3
jmp 0x4d123b
mov ecx, dword [ebp - 0x10]
cvttss2si eax, dword [ebp + 0x14]
movzx eax, ax
push eax
cvttss2si eax, dword [ebp + 0x10]
movzx eax, ax
push eax
push esi
push dword [ebp + 8]
call fcn.004cff40
push str..Setting.ini
push 0
push str.EnemyHPBar
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x4d129c
cvttss2si eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
push 0xff959595
push 0xbfff2900
movzx eax, ax
push eax
cvttss2si eax, dword [ebp + 0x10]
movzx eax, ax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004d07c0
push str..Setting.ini
push 0
push str.EnemyHPBar
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test ebx, ebx
jne 0x4d12bb
push 1
jmp 0x4d12bd
push 0
movq xmm0, qword [ebp + 0x1c]
sub esp, 0xc
mov eax, dword [ebp + 0x24]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
movzx eax, byte [edi + 0x4f40]
mov ecx, dword [esi + 0x204]
push eax
push dword [ebp + 8]
call fcn.0067a140
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4e9f70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 0x10], 0
jge 0x4e9f86
mov eax, 0x80004005
pop edi
pop ebp
ret 4
push esi
mov esi, dword [ebp + 8]
push 0
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [esi]
push 0xff000000
push 3
push 0
push 0
push esi
call dword [eax + 0x90]
mov eax, dword [esi]
push 2
push 2
push 0
push esi
call dword [eax + 0xfc]
mov eax, dword [esi]
push 0
push 3
push 0
push esi
call dword [eax + 0xfc]
mov eax, dword [esi]
push 4
push 1
push 0
push esi
call dword [eax + 0xfc]
mov eax, dword [esi]
push 0
push 5
push 0
push esi
call dword [eax + 0xfc]
mov eax, dword [esi]
push 2
push 6
push 0
push esi
call dword [eax + 0xfc]
mov eax, dword [esi]
push 4
push 4
push 0
push esi
call dword [eax + 0xfc]
mov eax, dword [esi]
push 1
push 1
push 1
push esi
call dword [eax + 0xfc]
mov eax, dword [esi]
push 1
push 4
push 1
push esi
call dword [eax + 0xfc]
mov eax, dword [esi]
push 1
push 0x1b
push esi
call dword [eax + 0xc8]
mov eax, dword [esi]
push 5
push 0x13
push esi
call dword [eax + 0xc8]
mov eax, dword [esi]
push 6
push 0x14
push esi
call dword [eax + 0xc8]
mov eax, dword [esi]
push 1
push 0x16
push esi
call dword [eax + 0xc8]
mov eax, dword [edi + 0x18]
pop esi
cmp eax, 1
jne 0x4ea0b6
mov eax, dword [edi + 0x10]
add eax, 0xfffffff8
mov dword [edi + 0x10], eax
test eax, eax
jle 0x4ea0ac
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4ea09d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov edx, dword [ecx]
push 0xffffffffffffffff
divss xmm0, dword [0x706bb0]
mulss xmm0, dword [0x707808]
cvttss2si eax, xmm0
movzx eax, al
push eax
push dword [edi + 0xc]
push dword [edi + 8]
call dword [edx + 0x38]
mov eax, 1
mov dword [edi + 0x1c], eax
xor eax, eax
pop edi
pop ebp
ret 4
xor eax, eax
mov dword [edi + 0x1c], eax
pop edi
pop ebp
ret 4
test eax, eax
jne 0x4ea11d
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 4]
add eax, 8
mov dword [edi + 0x10], eax
test ecx, ecx
je 0x4ea116
cmp eax, 0xc8
jle 0x4ea0ea
push dword [edi + 0xc]
mov eax, dword [ecx]
push dword [edi + 8]
call dword [eax + 0x28]
mov dword [edi + 0x1c], 0
xor eax, eax
pop edi
pop ebp
ret 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov edx, dword [ecx]
push 0xffffffffffffffff
divss xmm0, dword [0x706bb0]
mulss xmm0, dword [0x707808]
cvttss2si eax, xmm0
movzx eax, al
push eax
push dword [edi + 0xc]
push dword [edi + 8]
call dword [edx + 0x38]
mov dword [edi + 0x1c], 0
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x5b67f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 4
push str.SoftwareROWLIBERATION
push eax
mov esi, ecx
call fcn.0044f6e0
add esp, 8
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5b687b
lea eax, [ebp - 0x110]
push eax
lea eax, [esi + 0x1de8]
push eax
push 0
push 0
push str.FastLoginSlot_Ch_
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
test eax, eax
jne 0x5b688c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.006dfb52
mov esp, ebp
pop ebp
ret
Function at 0x5b69f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x11c], 0
push edi
xor ebx, ebx
mov dword [ebp - 0x118], 0
xor edi, edi
mov dword [ebp - 0x114], ebx
mov edx, dword [esi + 0x1de8]
xor ecx, ecx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], ecx
cmp edx, 0xffffffff
jne 0x5b6a69
mov ecx, dword [esi + 0x3ec]
call fcn.0047d5b0
mov edi, dword [ebp - 0x110]
mov edx, eax
mov ebx, dword [ebp - 0x114]
lea ecx, [edx + 1]
mov dword [esi + 0x1de8], ecx
mov ecx, dword [ebp - 0x10c]
jmp 0x5b6a6a
dec edx
cmp dword [esi + 0x40e], 0
jne 0x5b6a97
mov ecx, dword [ebp - 0x11c]
imul eax, edx, 0x1f4
mov eax, dword [eax + esi + 0xa2c]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x10c]
cmp dword [esi + 0x412], 0
jne 0x5b6ac4
mov ecx, dword [ebp - 0x118]
imul eax, edx, 0x1f4
mov eax, dword [eax + esi + 0xa90]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x118], ecx
mov ecx, dword [ebp - 0x10c]
cmp dword [esi + 0x416], 0
jne 0x5b6ae5
imul eax, edx, 0x1f4
mov eax, dword [eax + esi + 0xaf4]
test eax, eax
cmovne ebx, eax
mov dword [ebp - 0x114], ebx
cmp dword [esi + 0x41a], 0
jne 0x5b6b06
imul eax, edx, 0x1f4
mov eax, dword [eax + esi + 0xb58]
test eax, eax
cmovne edi, eax
mov dword [ebp - 0x110], edi
cmp dword [esi + 0x41e], 0
jne 0x5b6b27
imul eax, edx, 0x1f4
mov eax, dword [eax + esi + 0xbbc]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x10c], ecx
mov ecx, dword [0x77b1c4]
push 1
call fcn.004db360
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx + 0x2dc]
call fcn.0047b0d0
push 0xc1
mov edi, eax
call fcn.006abf50
add esp, 4
test al, al
jne 0x5b6be4
mov edx, dword [0x77ae98]
mov ecx, dword [edx + 0x48]
test ecx, ecx
jne 0x5b6b69
mov ecx, dword [edx + 0x54]
movzx eax, byte [esi + 0x1de8]
lea ebx, [esi + 0x1de8]
push 0
push eax
push 5
lea eax, [ebp - 0x11c]
push eax
push edi
push ecx
call fcn.006aefb0
lea eax, [ebp - 0x108]
push str.SoftwareROWLIBERATION
push eax
call fcn.0044f6e0
add esp, 0x20
lea eax, [ebp - 0x120]
push eax
push 0x20006
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5b6be4
push 4
push ebx
push 4
push eax
push str.FastLoginSlot_Ch_
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006dfb52
mov esp, ebp
pop ebp
ret
Function at 0x5dcdd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [eax]
test eax, eax
je 0x5dce86
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push ecx
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
push str.InitValue
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5dce86
mov eax, dword [ebp - 0x44]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x40], eax
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 4

Function at 0x5dfd30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
movss xmm0, dword [ebp + 8]
divss xmm0, dword [0x7069e0]
push ebx
mov ebx, ecx
push esi
push edi
xor edi, edi
mov ecx, dword [ebx + 0x1ed0]
mov esi, dword [ebx + 0x1ecc]
sub ecx, esi
sar ecx, 2
cvttss2si eax, xmm0
movss xmm0, dword [ebp + 0xc]
mov dword [ebp + 8], eax
divss xmm0, dword [0x7069e0]
cvttss2si edx, xmm0
test ecx, ecx
jle 0x5dfd8f
mov eax, dword [esi + edi*4]
mov esi, dword [ebp + 8]
cmp dword [eax + 4], esi
mov esi, dword [ebx + 0x1ecc]
jne 0x5dfd8a
cmp dword [eax + 8], edx
je 0x5dfd98
inc edi
cmp edi, ecx
jl 0x5dfd74
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
cmp dword [eax + 0x10], 0
je 0x5dfe01
lea eax, [ebx + 0x16f4]
push 0x7062c4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov ecx, dword [ebx + 0x1ecc]
mov esi, eax
push 1
mov ecx, dword [ecx + edi*4]
push dword [ecx + 0x10]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 0x4204
call fcn.006dff04
mov ecx, dword [ebx + 0x1ecc]
push esi
push 1
push 0x4204
mov ecx, dword [ecx + edi*4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x1ecc]
mov eax, dword [eax + edi*4]
push dword [eax + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x2c
mov eax, dword [ebx + 0x1ecc]
mov eax, dword [eax + edi*4]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5fb180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.005fb290
cmp dword [esi + 0xd0], 0xffffffff
jne 0x5fb274
xor eax, eax
nop word [eax + eax]
cmp dword [eax*4 + 0x101fb48], 0xffffffff
je 0x5fb1c2
inc eax
cmp eax, 9
jl 0x5fb1b0
jmp 0x5fb1d3
mov dword [eax*4 + 0x101fb48], 1
mov dword [esi + 0xd0], eax
movss xmm0, dword [esi + 0x54]
divss xmm0, dword [0x7069e0]
push edi
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x4c]
divss xmm0, dword [0x7069e0]
push eax
cvttss2si eax, xmm0
push eax
push str.c:MP_ProjectMapData
lea eax, [ebp - 0x104]
push str._sGrassTable_d__d
push eax
call fcn.0044f6e0
lea eax, [ebp - 0x104]
push 0x7062c4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov ecx, dword [esi + 0xd0]
mov edi, eax
shl ecx, 0x10
add esp, 0x1c
add ecx, 0xf8fb48
test edi, edi
je 0x5fb263
push edi
push 1
push 0x10000
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 4
push 0x10000
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 4
Function at 0x607cf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f75d9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x766480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x50]
mov dword [ebp - 4], 0
call fcn.00662800
lea ecx, [esi + 0x168]
mov byte [ebp - 4], 1
call fcn.00662800
movsd xmm0, qword [ebp + 0x10]
mov ecx, esi
mov eax, dword [ebp + 8]
movsd qword [esi + 0x28], xmm0
movss xmm0, dword [ebp + 0x18]
movss dword [esi + 0x30], xmm0
movss xmm0, dword [ebp + 0x1c]
movss dword [esi], xmm0
movss xmm0, dword [ebp + 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0xc]
movss dword [esi + 8], xmm0
movss xmm0, dword [ebp + 0x24]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x28]
mov byte [ebp - 4], 2
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x280], eax
mov dword [esi + 0x44], 0
movss dword [esi + 0xc], xmm0
call fcn.006085f0
mov ecx, esi
call fcn.006082d0
mov ecx, esi
call fcn.006083f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x24
Function at 0x613b70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f7a14
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x766480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
push 0x7062c4
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
mov dword [ebp + 8], edi
test edi, edi
jne 0x613bcd
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
push 1
push 2
push esi
call ebx
push edi
push 1
lea eax, [esi + 2]
push 2
push eax
mov dword [ebp - 0x18], eax
call ebx
push edi
push 1
lea eax, [esi + 8]
push 2
push eax
call ebx
movsx ebx, word [esi + 2]
xor ecx, ecx
mov eax, ebx
mov dword [ebp - 0x10], ebx
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.006dff04
add esp, 0x34
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x613c50
push 0x613400
push 0x613b50
push ebx
mov dword [eax], ebx
add eax, 4
push 0x10
push eax
mov dword [ebp - 0x14], eax
call fcn.006dff12
mov eax, dword [ebp - 0x14]
jmp 0x613c52
xor eax, eax
mov dword [esi + 4], eax
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0
cmp ax, word [esi + 2]
jge 0x613d24
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov ebx, dword [esi + 4]
add ebx, ecx
push edi
push 1
push 2
lea esi, [ebx + 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [ebp + 8]
lea edi, [ebx + 0xc]
push 1
push 2
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movsx eax, word [esi]
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006dff04
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebx], eax
mov edx, 0x14
movsx eax, word [edi]
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006dff04
push dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebx + 8], eax
movsx eax, word [esi]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push eax
push 0x10
push dword [ebx]
call esi
push dword [ebp + 8]
movsx eax, word [edi]
push eax
push 0x14
push dword [ebx + 8]
call esi
mov eax, dword [ebp - 0x18]
add esp, 0x48
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
inc edx
mov edi, dword [ebp + 8]
add ecx, 0x10
movsx eax, word [eax]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
cmp edx, eax
jl 0x613c74
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x61a360
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f7c78
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x766480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CZ3DGCMDS.0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
lea esi, [edi + 0x30]
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006df8c3
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x38]
mov byte [ebp - 4], 1
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006df8c3
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
lea esi, [edi + 0x7c]
mov byte [ebp - 4], 7
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006df8c3
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x84]
mov byte [ebp - 4], 8
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006df8c3
add esp, 0x10
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0x188], 0
mov byte [edi + 0x184], 0
mov dword [edi + 0xac], 0x3f800000
mov dword [edi + 0xa8], 0x3f800000
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov eax, dword [0x131f0a8]
mov dword [edi + 0x8d], eax
mov eax, dword [0x131f0a8]
mov dword [edi + 0x91], eax
mov eax, dword [0x131f0a8]
mov dword [edi + 0x95], eax
mov eax, edi
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov byte [edi + 0x8c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x61d4c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x7062c4
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x61d4eb
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea eax, [ebp + 8]
push edi
push 1
push 4
push eax
call ebx
push edi
push 1
lea eax, [ebp - 4]
push 4
push eax
call ebx
mov ecx, dword [ebp - 4]
mov edx, 4
mov eax, dword [ebp + 8]
mov dword [esi + 8], ecx
xor ecx, ecx
mov dword [esi + 4], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006dff04
mov dword [esi + 0xc], eax
xor ecx, ecx
mov eax, dword [ebp + 8]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006dff04
mov dword [esi + 0x10], eax
xor ecx, ecx
mov eax, dword [ebp + 8]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006dff04
mov dword [esi + 0x14], eax
xor ecx, ecx
mov eax, dword [ebp + 8]
mov edx, 0x40
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006dff04
mov dword [ebp + 8], eax
add esp, 0x30
mov edx, dword [esi + 4]
mov dword [esi + 0x1c], eax
mov dword [ebp + 8], 0
test edx, edx
jle 0x61d5b6
xor ecx, ecx
mov eax, dword [esi + 0xc]
push edi
push 1
push 4
lea eax, [eax + ecx*4]
push eax
call ebx
mov ecx, dword [ebp + 8]
add esp, 0x10
mov edx, dword [esi + 4]
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, edx
jl 0x61d597
mov dword [ebp + 8], 0
test edx, edx
jle 0x61d5e2
xor eax, eax
push edi
push 1
shl eax, 6
add eax, dword [esi + 0x1c]
push 0x40
push eax
call ebx
mov eax, dword [ebp + 8]
add esp, 0x10
mov edx, dword [esi + 4]
inc eax
mov dword [ebp + 8], eax
cmp eax, edx
jl 0x61d5c3
mov dword [ebp + 8], 0
test edx, edx
jle 0x61d64f
xor ecx, ecx
cmp dword [esi + 8], 1
jle 0x61d630
mov eax, dword [esi + 0x10]
push edi
push 1
push 4
lea eax, [eax + ecx*4]
push eax
call ebx
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
push edi
push 1
push 4
lea eax, [ecx + eax*4]
push eax
call ebx
mov ecx, dword [ebp + 8]
add esp, 0x20
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, dword [esi + 4]
jl 0x61d5f5
jmp 0x61d64f
mov eax, dword [esi + 0x10]
mov dword [eax + ecx*4], 0
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
mov dword [ecx + eax*4], eax
mov ecx, dword [ebp + 8]
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, dword [esi + 4]
jl 0x61d630
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov al, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4