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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push 0x7062c4
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov ebx, eax
add esp, 8
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x62aeb1
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
push 1
push 2
push esi
call edi
push ebx
push 1
add esi, 4
push 4
push esi
call edi
mov eax, dword [ebp - 4]
push ebx
push 1
add eax, 8
push 2
push eax
call edi
mov eax, dword [ebp - 4]
push ebx
push 1
add eax, 0xa
push 2
push eax
call edi
mov eax, dword [ebp - 4]
add esp, 0x40
add eax, 0xc
push ebx
push 1
push 2
push eax
call edi
mov eax, dword [ebp - 4]
push ebx
push 1
add eax, 0xe
push 2
push eax
mov dword [ebp + 8], eax
call edi
mov eax, dword [ebp - 4]
push ebx
push 1
add eax, 0x10
push 2
push eax
mov dword [ebp - 8], eax
call edi
push dword [esi]
call fcn.0062ae00
cdq
add esp, 0x34
and edx, 7
xor esi, esi
lea ebx, [edx + eax]
mov eax, dword [ebp + 8]
sar ebx, 3
mov dword [ebp - 0x10], ebx
movsx ecx, word [eax]
mov eax, dword [ebp - 8]
movsx edx, word [eax]
mov eax, dword [ebp - 4]
movsx edi, word [eax + 8]
test edi, edi
jle 0x62af63
nop word [eax + eax]
mov eax, edx
sar edx, 1
imul eax, ecx
sar ecx, 1
imul eax, ebx
add esi, eax
sub edi, 1
jne 0x62af50
push esi
call fcn.006dff04
mov edi, eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
xor edx, edx
add esp, 4
movsx ecx, word [eax + 0x10]
movsx ebx, word [eax + 0xe]
mov dword [eax + 0x14], edi
mov dword [ebp + 8], ecx
cmp dx, word [eax + 8]
jge 0x62afc7
nop
push dword [ebp - 0xc]
mov esi, ecx
imul esi, ebx
push 1
imul esi, dword [ebp - 0x10]
push esi
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov eax, dword [ebp - 4]
add esp, 0x10
mov edx, dword [ebp - 8]
add edi, esi
mov ecx, dword [ebp + 8]
inc edx
sar ecx, 1
movsx eax, word [eax + 8]
sar ebx, 1
mov dword [ebp + 8], ecx
mov dword [ebp - 8], edx
cmp edx, eax
jl 0x62af90
push dword [ebp - 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x62afe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
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 0x62b006
pop edi
xor al, al
pop esi
pop ebp
ret 4
push ebx
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 + 8]
push 2
push eax
call ebx
movzx eax, word [esi]
xor ecx, ecx
mov dword [ebp + 8], eax
mov edx, 0x2c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006dff04
add esp, 0x24
mov dword [ebp + 8], eax
test eax, eax
je 0x62b0b2
mov dword [esi + 4], eax
xor ecx, ecx
movzx eax, word [esi + 8]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006dff04
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
je 0x62b0b9
movzx eax, word [esi]
push edi
push eax
push 0x2c
push dword [esi + 4]
call ebx
movzx eax, word [esi + 8]
push edi
push eax
push 2
push dword [esi + 0xc]
call ebx
push edi
push 1
lea eax, [esi + 0x10]
push 2
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x12]
push 2
push eax
call ebx
add esp, 0x40
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
pop ebp
ret 4
mov dword [esi + 4], 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor al, al
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x62b310
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 edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x62b33c
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret
mov ecx, 0x700992
mov eax, 0x131f130
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x62b366
test dl, dl
je 0x62b362
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x62b366
add eax, 2
add ecx, 2
test dl, dl
jne 0x62b346
xor eax, eax
jmp 0x62b36b
sbb eax, eax
or eax, 1
push ebx
test eax, eax
je 0x62b3fa
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x131f130
push str.c:MP_Project_
lea eax, [ebp - 0x104]
push str._s_s.info
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 ebx, eax
add esp, 0x24
test ebx, ebx
je 0x62b3fa
push ebx
push 0x1e
lea ecx, [edi + 4]
mov byte [edi], 1
push 4
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
push 0x1e
lea eax, [edi + 0x7c]
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x24
mov al, 1
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop ebx
mov byte [edi], 0
xor ecx, ebp
pop edi
call fcn.006dfb52
mov esp, ebp
pop ebp
ret
Function at 0x62b590
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x7062c4
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x62b5b6
pop edi
xor al, al
pop esi
pop ebp
ret 8
push ebx
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 0x10
mov dword [edi + 8], eax
test eax, eax
jle 0x62b623
mov ebx, dword [ebp + 0xc]
cmp eax, ebx
jle 0x62b623
sub eax, ebx
push eax
mov dword [edi + 8], eax
call fcn.006dff04
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x62b623
push 0
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push esi
push dword [edi + 8]
push 1
push dword [edi + 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x1c
cmp eax, dword [edi + 8]
jne 0x62b623
push esi
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
pop ebp
ret 8
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor al, al
pop ebx
pop edi
pop esi
pop ebp
ret 8

Function at 0x62d7f0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x74], 0
jne 0x62d812
lea eax, [esi + 0x6c]
push eax
push 0
push esi
push 0x62d590
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x74], eax
cmp dword [esi + 0x78], 0
jne 0x62d831
lea eax, [esi + 0x70]
push eax
push 0
push esi
push 0x62d7d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x78], eax
pop esi
ret
Function at 0x64cfe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f997d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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 edi, ecx
mov esi, dword [ebp + 8]
lea ebx, [edi + 0x10]
push esi
push 1
push 2
push ebx
mov dword [ebx], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [edi + 0x14], 0
cmp dword [ebx], 0
jbe 0x64d0f4
mov ebx, dword [ebp + 0xc]
push esi
push 1
lea eax, [ebp - 0x10]
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
push 1
push 4
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movzx esi, word [ebp - 0x10]
lea eax, [ebp + 0xc]
add esp, 0x20
mov dword [ebp + 0xc], esi
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00495da0
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0xd], 0
jne 0x64d07a
cmp esi, dword [eax + 0x10]
jae 0x64d0dd
cmp dword [edi + 4], 0xaaaaaaa
je 0x64d108
mov esi, dword [edi]
mov dword [ebp - 0x18], edi
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.006df8c3
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0
push ecx
push dword [ebp - 0x20]
mov dword [ecx], esi
push dword [ebp - 0x24]
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov word [ecx + 0xc], 0
mov ecx, edi
call fcn.00451330
mov ecx, dword [ebx]
mov esi, dword [ebp + 8]
mov dword [eax + 0x14], ecx
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x10]
jb 0x64d038
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00451520
int3
Function at 0x64ef80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
push 1
lea edx, [esi + 0x10]
mov eax, dword [esi + 4]
push 2
push edx
mov dword [edx], eax
call ebx
mov ecx, dword [esi]
add esp, 0x10
mov eax, dword [ecx]
mov dword [esi + 8], eax
cmp eax, ecx
je 0x64f013
nop
push edi
push 1
add eax, 0x10
push 2
push eax
call ebx
mov eax, dword [esi + 8]
push edi
push 1
add eax, 0x14
push 4
push eax
call ebx
mov ecx, dword [esi + 8]
add esp, 0x20
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x64eff6
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x64f00c
cmp ecx, dword [eax + 8]
jne 0x64f00c
mov dword [esi + 8], eax
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x64efe1
jmp 0x64f00c
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x64f00c
nop
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x64f000
mov dword [esi + 8], eax
cmp eax, dword [esi]
jne 0x64efb0
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x653a10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f9c9d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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 edi, dword [ebp + 8]
lea eax, [esi + 0x10]
push edi
push 1
push 2
push eax
mov dword [eax], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], 0
jbe 0x653b1d
push edi
push 1
lea eax, [ebp - 0x10]
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
push 1
push 0x10
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movzx edi, word [ebp - 0x10]
lea eax, [ebp - 0x14]
add esp, 0x20
mov dword [ebp - 0x14], edi
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00495da0
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xd], 0
jne 0x653aa9
cmp edi, dword [eax + 0x10]
jae 0x653b01
cmp dword [esi + 4], 0x71c71c7
je 0x653b30
mov edi, dword [esi]
mov dword [ebp - 0x1c], esi
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.006df8c3
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ecx + 0x10], eax
push ecx
push dword [ebp - 0x24]
mov dword [ecx], edi
push dword [ebp - 0x28]
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov word [ecx + 0xc], 0
mov ecx, esi
call fcn.00451330
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
movups xmm0, xmmword [ecx]
movups xmmword [eax + 0x14], xmm0
inc dword [esi + 0x14]
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x10]
jb 0x653a65
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.00451520
int3
Function at 0x653b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f9ccd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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 edi, dword [ebp + 8]
lea ebx, [esi + 0x10]
push edi
push 1
push 2
push ebx
mov dword [ebx], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [esi + 0x14], 0
cmp dword [ebx], 0
jbe 0x653c57
mov ebx, dword [ebp + 0xc]
push edi
push 1
lea eax, [ebp - 0x10]
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
push 1
push 0xc
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movzx edi, word [ebp - 0x10]
lea eax, [ebp + 0xc]
add esp, 0x20
mov dword [ebp + 0xc], edi
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00495da0
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0xd], 0
jne 0x653bda
cmp edi, dword [eax + 0x10]
jae 0x653c36
cmp dword [esi + 4], 0x7ffffff
je 0x653c6b
mov edi, dword [esi]
mov dword [ebp - 0x18], esi
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.006df8c3
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ecx + 0x10], eax
push ecx
push dword [ebp - 0x20]
mov dword [ecx], edi
push dword [ebp - 0x24]
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov word [ecx + 0xc], 0
mov ecx, esi
call fcn.00451330
movq xmm0, qword [ebx]
mov edi, dword [ebp + 8]
movq qword [eax + 0x14], xmm0
mov ecx, dword [ebx + 8]
mov dword [eax + 0x1c], ecx
inc dword [esi + 0x14]
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x10]
jb 0x653b98
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00451520
int3
Function at 0x657150
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
push 1
lea edx, [esi + 0x10]
mov eax, dword [esi + 4]
push 2
push edx
mov dword [edx], eax
call ebx
mov ecx, dword [esi]
add esp, 0x10
mov eax, dword [ecx]
mov dword [esi + 8], eax
cmp eax, ecx
je 0x6571e3
nop
push edi
push 1
add eax, 0x10
push 2
push eax
call ebx
mov eax, dword [esi + 8]
push edi
push 1
add eax, 0x14
push 0x10
push eax
call ebx
mov ecx, dword [esi + 8]
add esp, 0x20
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x6571c6
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x6571dc
cmp ecx, dword [eax + 8]
jne 0x6571dc
mov dword [esi + 8], eax
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x6571b1
jmp 0x6571dc
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x6571dc
nop
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x6571d0
mov dword [esi + 8], eax
cmp eax, dword [esi]
jne 0x657180
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x6571f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
push 1
lea edx, [esi + 0x10]
mov eax, dword [esi + 4]
push 2
push edx
mov dword [edx], eax
call ebx
mov ecx, dword [esi]
add esp, 0x10
mov eax, dword [ecx]
mov dword [esi + 8], eax
cmp eax, ecx
je 0x657283
nop
push edi
push 1
add eax, 0x10
push 2
push eax
call ebx
mov eax, dword [esi + 8]
push edi
push 1
add eax, 0x14
push 0xc
push eax
call ebx
mov ecx, dword [esi + 8]
add esp, 0x20
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x657266
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x65727c
cmp ecx, dword [eax + 8]
jne 0x65727c
mov dword [esi + 8], eax
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x657251
jmp 0x65727c
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x65727c
nop
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x657270
mov dword [esi + 8], eax
cmp eax, dword [esi]
jne 0x657220
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x657290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
push 1
push 4
lea eax, [esi + 0x15c]
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x17c]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x180]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x204]
push 4
push eax
call ebx
add esp, 0x40
lea eax, [esi + 0x208]
push edi
push 1
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x20c]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x210]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x214]
push 4
push eax
call ebx
add esp, 0x40
lea eax, [esi + 0x218]
push edi
push 1
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x21c]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x220]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x224]
push 4
push eax
call ebx
add esp, 0x40
push edi
push 1
lea eax, [esi + 0x228]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x22c]
push 4
push eax
call ebx
add esp, 0x20
lea ecx, [esi + 0x1a0]
push edi
call fcn.00657150
push edi
lea ecx, [esi + 0x188]
call fcn.006571f0
push edi
lea ecx, [esi + 0x240]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x258]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x270]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x288]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x2a0]
call fcn.006571f0
push edi
lea ecx, [esi + 0x2b8]
call fcn.00657150
push edi
lea ecx, [esi + 0x2d0]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x2e8]
call fcn.0064ef80
mov eax, dword [esi + 0x1bc]
lea ecx, [esi + 0x1c8]
push edi
push 1
push 2
push ecx
mov dword [ecx], eax
call ebx
mov ecx, dword [esi + 0x1b8]
add esp, 0x10
mov eax, dword [ecx]
mov dword [esi + 0x1c0], eax
cmp eax, ecx
je 0x65748a
push edi
push 1
add eax, 0x10
push 2
push eax
call ebx
mov eax, dword [esi + 0x1c0]
push edi
push 1
add eax, 0x14
push 4
push eax
call ebx
mov ecx, dword [esi + 0x1c0]
add esp, 0x20
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x657468
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x65747c
nop dword [eax + eax]
cmp ecx, dword [eax + 8]
jne 0x65747c
mov dword [esi + 0x1c0], eax
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x657450
jmp 0x65747c
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x65747c
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x657470
mov dword [esi + 0x1c0], eax
cmp eax, dword [esi + 0x1b8]
jne 0x657414
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x65d6f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov edx, ebx
push esi
mov esi, ecx
sub ecx, ebx
push edi
nop
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx + edx + 3], al
test al, al
jne 0x65d700
push 0x7062c4
push ebx
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x65d7ba
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push edi
call ebx
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 0x10
mov dword [esi + 0x108], eax
test eax, eax
je 0x65d7ae
push 0
push 0
push edi
call ebx
push dword [esi + 0x108]
call fcn.006dff04
add esp, 0x10
mov dword [esi + 0x104], eax
test eax, eax
je 0x65d7ae
push edi
push 1
push dword [esi + 0x108]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
jne 0x65d7ae
mov eax, dword [esi + 0x104]
test eax, eax
je 0x65d7ae
push eax
call fcn.006dfeff
add esp, 4
mov dword [esi + 0x104], 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x65d7c7
push 0
push 0
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esi + 0x104]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x108]
pop edi
mov dword [esi + 0x110], eax
pop esi
pop ebx
pop ebp
ret 4

Function at 0x65d950
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [0x14f8d58]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0xffffffff
jne 0x65d973
call edi
mov esi, eax
mov dword [0x14f8d58], esi
mov dword [0x14f8d5c], esi
call edi
mov ecx, dword [0x14f8d7c]
xor edx, edx
mov dword [0x14f8d58], eax
sub eax, esi
mov esi, dword [0x14f8d78]
sub ecx, esi
test ecx, 0xfffffffc
jle 0x65da05
mov edi, dword [0x14f8d60]
mov ecx, dword [0x14f8d6c]
movss xmm3, dword [0x706bb8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x700e30]
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm2
divss xmm0, dword [edi + edx*4]
divss xmm1, xmm0
movss dword [esi + edx*4], xmm1
addss xmm1, dword [ecx + edx*4]
cvttss2si eax, xmm1
movss dword [esi + edx*4], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ecx + edx*4], xmm1
inc edx
mov eax, dword [0x14f8d7c]
sub eax, dword [0x14f8d78]
sar eax, 2
cmp edx, eax
jl 0x65d9c0
pop edi
pop esi
ret

Function at 0x661fc0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xa8], 0
jne 0x661fee
lea eax, [esi + 0xa0]
push eax
push 0
push esi
push 0x661c70
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xa8], eax
cmp dword [esi + 0xac], 0
jne 0x662019
lea eax, [esi + 0xa4]
push eax
push 0
push esi
push 0x661fa0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xac], eax
pop esi
ret
Function at 0x6632c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
cmp dword [ebp + 0xc], edi
jle 0x66340d
mov edx, dword [ebp - 0x28]
test esi, esi
je 0x66330f
mov ecx, dword [esi]
lea eax, [ebp - 0x28]
push eax
mov eax, edi
sub eax, dword [0x1a4e674]
push eax
push esi
call dword [ecx + 0x3c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x663312
mov eax, dword [ebp - 0x2c]
test eax, eax
js 0x66340f
mov ecx, dword [edx]
lea eax, [ebp - 0x24]
push eax
push edx
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x24]
cmp eax, 0x31545844
jg 0x66335f
je 0x663381
add eax, 0xffffffec
cmp eax, 6
ja case.0x66333c.22
jmp dword [eax*4 + 0x66343c]
mov eax, dword [ebp - 0xc]
lea ebx, [eax*4]
jmp 0x663383
mov eax, dword [ebp - 0xc]
lea ebx, [eax + eax*2]
jmp 0x663383
mov eax, dword [ebp - 0xc]
lea ebx, [eax + eax]
jmp 0x663383
cmp eax, 0x34545844
jg 0x663376
je 0x663381
cmp eax, 0x32545844
je 0x663381
cmp eax, 0x33545844
jmp 0x66337b
cmp eax, 0x35545844
jne case.0x66333c.22
xor ebx, ebx
test esi, esi
je 0x66339d
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push 0
push 0
push ecx
push edi
push esi
call dword [eax + 0x40]
mov dword [ebp - 0x2c], eax
test eax, eax
js 0x66340f
test ebx, ebx
jne 0x6633b7
push dword [ebp - 0x34]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x3c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
jmp 0x6633e0
mov edi, dword [ebp - 0x3c]
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x6633da
push dword [ebp - 0x34]
push 1
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add edi, dword [ebp - 0x40]
inc esi
add esp, 0x10
cmp esi, dword [ebp - 8]
jb 0x6633c1
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x6633ee
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x44]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x663400
mov eax, dword [edx]
push edx
call dword [eax + 8]
xor edx, edx
mov dword [ebp - 0x28], edx
inc edi
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp + 0xc]
jl 0x6632f0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 0xc