joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cbb0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0xb330
call fcn.004f75e0
push esi
mov esi, dword [0x669354]
push edi
mov ecx, 0x2ccc
lea edi, [esp + 8]
lea eax, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0040cad0
mov eax, dword [esp + 0xb344]
add esp, 4
test eax, eax
pop edi
pop esi
jne 0x40cc0b
mov ecx, dword [esp + 0xb334]
lea edx, [esp]
push ecx
push 1
push 0xb330
push edx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
add esp, 0xb330
ret
mov eax, dword [esp + 0xb334]
lea ecx, [esp]
push eax
push 0xb330
push ecx
call fcn.0041c6c0
add esp, 0xc
add esp, 0xb330
ret

Function at 0x40cc50
Capabilities:
Read file on windows

Disassembly:
mov eax, 0xb330
call fcn.004f75e0
mov eax, dword [esp + 0xb338]
test eax, eax
jne 0x40cc84
mov eax, dword [esp + 0xb334]
lea ecx, [esp]
push eax
push 1
push 0xb330
push ecx
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
jmp 0x40cc9e
mov edx, dword [esp + 0xb334]
lea eax, [esp]
push edx
push 0xb330
push eax
call fcn.0041c720
add esp, 0xc
push esi
lea ecx, [esp + 4]
push edi
push ecx
call fcn.0040cb30
mov edi, dword [0x669354]
mov ecx, 0x2ccc
lea esi, [esp + 0xc]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x669354]
mov ecx, dword [0x5383fc]
pop edi
pop esi
cmp dword [eax + 0xb32c], ecx
je 0x40cce8
mov dword [eax + 0xb32c], ecx
mov edx, dword [0x669354]
push edx
call fcn.0040b3c0
add esp, 4
add esp, 0xb330
ret

Function at 0x40ccf0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
push esi
push 1
push 4
push 0x65d8e8
call edi
push esi
push 1
push 4
push 0x65d8e4
call edi
push esi
push 1
push 4
push 0x65d8e0
call edi
push esi
push 1
push 4
push 0x65d8ec
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x65d8f0
call edi
push esi
push 1
push 4
push 0x65d8f4
call edi
push esi
push 1
push 4
push 0x65d8f8
call edi
push esi
push 1
push 4
push 0x65d8fc
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x65d900
call edi
push esi
push 1
push 4
push 0x65d904
call edi
push esi
push 1
push 4
push 0x65d908
call edi
add esp, 0x30
pop edi
pop esi
ret

Function at 0x40cd90
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
push 4
push 0x65d8e8
call edi
push esi
push 1
push 4
push 0x65d8e4
call edi
push esi
push 1
push 4
push 0x65d8e0
call edi
push esi
push 1
push 4
push 0x65d8ec
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x65d8f0
call edi
push esi
push 1
push 4
push 0x65d8f4
call edi
push esi
push 1
push 4
push 0x65d8f8
call edi
push esi
push 1
push 4
push 0x65d8fc
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x65d900
call edi
push esi
push 1
push 4
push 0x65d904
call edi
push esi
push 1
push 4
push 0x65d908
call edi
add esp, 0x30
pop edi
pop esi
ret
Function at 0x40d0f0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
push esi
push 1
push 4
push 0x669370
call edi
push esi
push 1
push 4
push 0x669360
call edi
push esi
push 1
push 4
push 0x669368
call edi
push esi
push 1
push 4
push 0x669364
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x66936c
call edi
add esp, 0x10
pop edi
pop esi
ret

Function at 0x40d150
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
push 4
push 0x669370
call edi
push esi
push 1
push 4
push 0x669360
call edi
push esi
push 1
push 4
push 0x669368
call edi
push esi
push 1
push 4
push 0x669364
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x66936c
call edi
add esp, 0x10
pop edi
pop esi
ret
Function at 0x41c530
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
lea eax, [ebp + ebp]
push eax
call sub.MFC42.DLL_operatornew
xor edi, edi
add esp, 4
cmp ebp, edi
mov esi, eax
mov dword [esp + 0x18], edi
jle 0x41c5ca
mov ebx, dword [esp + 0x14]
mov dl, byte [ebx]
inc ebx
inc edi
mov eax, 1
cmp edi, ebp
jge 0x41c56d
cmp byte [ebx], dl
jne 0x41c56d
inc edi
inc eax
inc ebx
cmp edi, ebp
jl 0x41c562
cmp dl, 0xc0
jae 0x41c580
cmp eax, 1
jne 0x41c580
mov ecx, dword [esp + 0x18]
mov byte [ecx + esi], dl
jmp 0x41c5c2
test eax, eax
je 0x41c5c6
cmp eax, 0x3f
jle 0x41c5ad
mov ecx, dword [esp + 0x18]
mov byte [ecx + esi], 0xff
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
mov byte [ecx + esi], dl
mov ecx, dword [esp + 0x18]
inc ecx
sub eax, 0x3f
mov dword [esp + 0x18], ecx
je 0x41c5c6
jmp 0x41c584
mov ecx, dword [esp + 0x18]
sub al, 0x40
mov byte [ecx + esi], al
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
mov byte [eax + esi], dl
inc dword [esp + 0x18]
cmp edi, ebp
jl 0x41c555
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.msvcrt.dll_fwrite]
push edi
push 1
lea edx, [esp + 0x20]
push 4
push edx
call ebx
mov eax, dword [esp + 0x28]
push edi
push 1
push eax
push esi
call ebx
push esi
call sub.MFC42.DLL_operatordelete
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x41c600
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
lea eax, [esp + 0x30]
push 4
push eax
call edi
mov ecx, dword [esp + 0x38]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x3c]
push esi
mov ebx, eax
push 1
push edx
push ebx
mov dword [esp + 0x38], ebx
call edi
mov eax, dword [esp + 0x48]
add esp, 0x24
xor ebp, ebp
mov ecx, ebx
test eax, eax
jle 0x41c6aa
mov edx, dword [esp + 0x20]
mov al, byte [ecx]
inc ecx
cmp al, 0xc0
mov byte [esp + 0x10], al
jae 0x41c65c
mov byte [edx + ebp], al
inc ebp
jmp 0x41c6a4
mov esi, dword [esp + 0x10]
mov al, byte [ecx]
and esi, 0xff
inc ecx
add esi, 0xffffff40
mov dword [esp + 0x18], ecx
test esi, esi
jle 0x41c6a4
mov bl, al
mov ecx, esi
mov bh, bl
lea edi, [edx + ebp]
mov eax, ebx
mov edx, ecx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x18]
cmp ebp, dword [esp + 0x24]
jl 0x41c64b
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x41c6c0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push edi
push eax
push ecx
push esi
call fcn.004eeba0
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.msvcrt.dll_fwrite]
push edi
push 1
lea edx, [esp + 0x1c]
push 4
push edx
call ebx
mov eax, dword [esp + 0x24]
push edi
push 1
push eax
push esi
call ebx
push esi
call sub.MFC42.DLL_operatordelete
add esp, 0x24
pop edi
pop esi
pop ebx
ret

Function at 0x41c720
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_fread]
push esi
push edi
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push edi
push 1
push 4
push eax
call ebx
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x30]
push edi
mov esi, eax
push 1
push edx
push esi
call ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add esp, 0x24
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push esi
push edx
push eax
call fcn.004eebc0
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41de70
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, 1
push eax
mov eax, dword [0x66a2c8]
push 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
shl edx, cl
imul eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0x669e9c
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
ret

Function at 0x41deb0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, 1
push eax
mov eax, dword [0x66a2c8]
push 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
shl edx, cl
imul eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0x669e9c
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
ret

Function at 0x41def0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x68c568]
sub esp, 0x100
mov ecx, dword [eax + 0x1c]
push esi
test ecx, ecx
je 0x41df71
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
push ecx
push edx
lea eax, [esp + 0xc]
push 0x536d90
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
lea ecx, [esp + 0x14]
push 0x5022bc
push ecx
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x41df71
mov edx, dword [0x66a2c8]
mov eax, 1
push esi
push 1
mov ecx, dword [edx]
shl eax, cl
imul eax, dword [edx + 4]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0x669e9c
call dword [sym.imp.msvcrt.dll_fwrite]
push esi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0x14
pop esi
add esp, 0x100
ret
Function at 0x41df80
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x68c568]
sub esp, 0x100
mov ecx, dword [eax + 0x1c]
push esi
test ecx, ecx
je 0x41e001
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
push ecx
push edx
lea eax, [esp + 0xc]
push 0x536d90
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
lea ecx, [esp + 0x14]
push 0x536d9c
push ecx
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x41e001
mov edx, dword [0x66a2c8]
mov eax, 1
push esi
push 1
mov ecx, dword [edx]
shl eax, cl
imul eax, dword [edx + 4]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0x669e9c
call dword [sym.imp.msvcrt.dll_fread]
push esi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0x14
pop esi
add esp, 0x100
ret

Function at 0x41f970
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
push esi
push 1
push 0x1c
push 0x536db0
call edi
push esi
push 1
push 4
push 0x66a2f8
call edi
push esi
push 1
push 4
push 0x66a2fc
call edi
push esi
push 1
push 4
push 0x536dcc
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x66a300
call edi
push esi
push 1
push 4
push 0x66a304
call edi
push esi
push 1
push 4
push 0x66a308
call edi
push esi
push 1
push 1
push 0x66a30c
call edi
add esp, 0x40
push esi
push 1
push 1
push 0x66a30d
call edi
add esp, 0x10
pop edi
pop esi
ret

Function at 0x41fa00
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
push 0x1c
push 0x536db0
call edi
push esi
push 1
push 4
push 0x66a2f8
call edi
push esi
push 1
push 4
push 0x66a2fc
call edi
push esi
push 1
push 4
push 0x536dcc
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x66a300
call edi
push esi
push 1
push 4
push 0x66a304
call edi
push esi
push 1
push 4
push 0x66a308
call edi
push esi
push 1
push 1
push 0x66a30c
call edi
add esp, 0x40
push esi
push 1
push 1
push 0x66a30d
call edi
add esp, 0x10
pop edi
pop esi
ret
Function at 0x41fc60
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov eax, ebx
push esi
mov esi, dword [esp + 0x10]
shr eax, 0x18
push edi
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
mov byte [esp + 0x20], al
mov ecx, ebx
mov edx, ebx
push esi
push 1
lea eax, [esp + 0x28]
shr ecx, 0x10
shr edx, 8
push 4
push eax
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], bl
call edi
mov eax, dword [esp + 0x28]
push esi
mov ecx, eax
mov edx, eax
shr ecx, 0x18
shr edx, 0x10
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], dl
mov ecx, eax
push 1
lea edx, [esp + 0x38]
push 4
shr ecx, 8
push edx
mov byte [esp + 0x42], cl
mov byte [esp + 0x43], al
call edi
add esp, 0x20
lea eax, [esp + 0x20]
mov ebp, 8
push 4
push eax
push 0
call fcn.004eecc0
test ebx, ebx
mov dword [esp + 0x14], eax
jbe 0x41fd0f
mov ecx, dword [esp + 0x1c]
push esi
push 1
push ebx
push ecx
call edi
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add esp, 0x10
lea ebp, [ebx + 8]
push ebx
push edx
push eax
call fcn.004eecc0
mov dword [esp + 0x14], eax
mov ecx, eax
mov edx, eax
shr ecx, 0x18
shr edx, 0x10
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], dl
mov ecx, eax
push esi
push 1
lea edx, [esp + 0x28]
shr ecx, 8
push 4
push edx
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], al
call edi
add esp, 0x10
add ebp, 4
add ebx, 0xc
pop edi
pop esi
cmp ebp, ebx
pop ebp
pop ebx
je 0x41fd5b
push 0x536e00
call fcn.0041fa90
add esp, 4
xor eax, eax
ret
mov eax, 1
ret
Function at 0x41fd70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 0x536e4c
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
mov ebp, dword [sym.imp.msvcrt.dll_malloc]
push 0xc
call ebp
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41fe3d
mov edi, 0x536e40
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x10]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 1]
mov dword [ebx + 4], eax
inc eax
push eax
call ebp
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx], edx
je 0x41fe3d
mov edi, 0x536e40
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x536e40
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebx]
lea esi, [esp + 0x10]
not ecx
dec ecx
mov edi, esi
lea edx, [ecx + eax + 1]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x66a318]
mov dword [ebx + 8], ecx
mov dword [0x66a318], ebx
mov edx, dword [0x68c568]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 4]
push eax
push 0x536e3c
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
push 0xc
call ebp
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x41ff03
mov edi, 0x536e34
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x10]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 1]
mov dword [ebx + 4], eax
inc eax
push eax
call ebp
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx], edx
je 0x41ff03
mov edi, 0x536e34
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x536e34
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebx]
mov edi, edx
not ecx
dec ecx
lea ebp, [ecx + eax + 1]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x66a318]
mov dword [ebx + 8], eax
mov dword [0x66a318], ebx
mov esi, dword [esp + 0x414]
push esi
push 1
push 8
push 0x536df4
call dword [sym.imp.msvcrt.dll_fwrite]
mov ecx, dword [esp + 0x43c]
mov edx, dword [esp + 0x438]
mov eax, dword [esp + 0x434]
push ecx
mov ecx, dword [esp + 0x434]
push edx
mov edx, dword [esp + 0x434]
push eax
mov eax, dword [esp + 0x434]
push ecx
push edx
push eax
push esi
call fcn.0041ff70
add esp, 0x2c
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x400
ret
Function at 0x420670
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
push 1
push 4
push 0x66a978
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
ret

Function at 0x420690
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
push 1
push 4
push 0x66a978
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
ret

Function at 0x4208b0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov ecx, dword [0x68c568]
push esi
push edi
mov eax, dword [ecx + 0x1c]
sub eax, 0
je 0x4209a4
dec eax
je 0x42091f
dec eax
jne 0x4209e5
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
push esi
push 1
push 4
push 0x66b6c8
call edi
push esi
push 1
push 4
push 0x66b680
call edi
push esi
push 1
push 4
push 0x66b67c
call edi
push esi
push 1
push 4
push 0x66b678
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x5fa54c
call edi
add esp, 0x10
pop edi
pop esi
pop ecx
ret
mov eax, dword [ecx + 0x1c]
mov esi, dword [esp + 0x10]
cmp eax, 1
jne 0x420934
push esi
call fcn.0040ccf0
add esp, 4
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
push esi
push 1
push 4
push 0x69530c
call edi
push esi
push 1
push 4
push 0x695310
call edi
push esi
push 1
push 4
push 0x695314
call edi
push esi
push 1
push 4
push 0x66b6c8
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x66b680
call edi
push esi
push 1
push 4
push 0x66b67c
call edi
push esi
push 1
push 4
push 0x66b678
call edi
push esi
push 1
push 4
push 0x5fa54c
call edi
add esp, 0x40
pop edi
pop esi
pop ecx
ret
mov esi, dword [esp + 0x10]
mov eax, dword [0x71b8c8]
mov edi, dword [sym.imp.msvcrt.dll_fwrite]
push esi
mov cx, word [eax + 0x400]
push 1
lea edx, [esp + 0x10]
push 2
push edx
mov dword [esp + 0x18], ecx
call edi
push esi
push 1
push 1
push 0x537a5c
call edi
push esi
call fcn.0041f970
push esi
call fcn.00420670
add esp, 0x28
pop edi
pop esi
pop ecx
ret
Function at 0x4209f0
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [0x68c568]
push esi
push edi
mov eax, dword [ecx + 0x1c]
sub eax, 0
je 0x420ae1
dec eax
je 0x420a5d
dec eax
jne 0x420b24
mov esi, dword [esp + 0xc]
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
push 4
push 0x66b6c8
call edi
push esi
push 1
push 4
push 0x66b680
call edi
push esi
push 1
push 4
push 0x66b67c
call edi
push esi
push 1
push 4
push 0x66b678
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x5fa54c
call edi
add esp, 0x10
pop edi
pop esi
ret
mov eax, dword [ecx + 0x1c]
mov esi, dword [esp + 0xc]
cmp eax, 1
jne 0x420a72
push esi
call fcn.0040cd90
add esp, 4
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
push 4
push 0x69530c
call edi
push esi
push 1
push 4
push 0x695310
call edi
push esi
push 1
push 4
push 0x695314
call edi
push esi
push 1
push 4
push 0x66b6c8
call edi
add esp, 0x40
push esi
push 1
push 4
push 0x66b680
call edi
push esi
push 1
push 4
push 0x66b67c
call edi
push esi
push 1
push 4
push 0x66b678
call edi
push esi
push 1
push 4
push 0x5fa54c
call edi
add esp, 0x40
pop edi
pop esi
ret
mov esi, dword [esp + 0xc]
mov edi, dword [sym.imp.msvcrt.dll_fread]
push esi
push 1
lea eax, [esp + 0x14]
push 2
push eax
call edi
mov edx, dword [0x71b8c8]
mov cx, word [esp + 0x1c]
push esi
push 1
push 1
push 0x537a5c
mov word [edx + 0x400], cx
call edi
push esi
call fcn.0041fa00
push esi
call fcn.00420690
add esp, 0x28
pop edi
pop esi
ret
Function at 0x426db0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
lea eax, [ebp - 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
push 0
push 0x3e8
push ecx
push edx
call fcn.004f7670
mov esi, dword [ebp + 8]
mov dword [ebp - 8], eax
test esi, esi
mov dword [ebp - 4], edx
je 0x426e48
push 0
push 0
push 0xffffffffffffffff
call fcn.0043faf0
add esp, 0xc
push eax
push ebx
push ecx
push edi
mov ebx, dword [0x7013e4]
mov ax, word [ebx + 0x1fffc]
shl eax, 0x10
mov ax, word [ebx + 0x1fffc]
mov ecx, 0xc400
mov edi, dword [0x6d7068]
add edi, 0x7040
mov ebx, 0xe0
mov ecx, 0xc0
rep stosd dword es:[edi], eax
add edi, 0x80
dec ebx
jne 0x426e23
pop edi
pop ecx
pop ebx
pop eax
push 0x53774c
push 1
push 2
call fcn.0043faf0
add esp, 0xc
mov dword [0x680980], 0
call fcn.00440b60
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x18]
push eax
call edi
mov ebx, 0x19
call fcn.00441dd0
dec ebx
jne 0x426e68
lea ecx, [ebp - 0x10]
push ecx
call edi
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
sub ebx, ecx
test esi, esi
mov dword [ebp - 0x20], ebx
je 0x426eaf
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0
fild qword [ebp - 0x28]
fild qword [ebp - 8]
sub esp, 8
fdivp st(1)
fstp qword [esp]
push ebx
push 0x53772c
push 4
push 2
call fcn.0043faf0
add esp, 0x18
mov dword [0x680980], 1
call fcn.00440b60
lea edx, [ebp - 0x18]
push edx
call edi
mov esi, 0x19
call fcn.00441dd0
dec esi
jne 0x426ec9
lea eax, [ebp - 0x10]
push eax
call edi
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
sub edi, ecx
test esi, esi
mov dword [ebp - 0x1c], edi
je 0x426f13
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
fild qword [ebp - 0x28]
fild qword [ebp - 8]
sub esp, 8
fdivp st(1)
fstp qword [esp]
push edi
push 0x53770c
push 5
push 2
call fcn.0043faf0
add esp, 0x18
cmp edi, ebx
sbb edi, edi
neg edi
test esi, esi
je 0x426f50
lea ecx, [edi*4]
lea edx, [ebp - 0x1c]
sub edx, ecx
mov eax, dword [edx]
xor edx, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
div dword [ebp + ecx - 0x20]
sub eax, 0x64
push eax
push edi
push 0x5376ec
push 7
push 2
call fcn.0043faf0
add esp, 0x14
cmp dword [0x680980], edi
je 0x426f63
mov dword [0x680980], edi
call fcn.00440b60
test esi, esi
je 0x426f78
call fcn.00441dd0
call fcn.004418d0
mov ecx, eax
call fcn.0041d140
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a250
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
push esi
cmp eax, 2
push edi
je 0x42a2c8
mov ecx, eax
and ecx, 0x80000003
jns 0x42a26a
dec ecx
or ecx, 0xfffffffc
inc ecx
je 0x42a274
push 1
call dword [sym.imp.msvcrt.dll_exit]
cdq
mov edi, dword [esp + 0xc]
sub eax, edx
mov esi, eax
sar esi, 1
push esi
push edi
call fcn.0042a250
lea edx, [edi + esi*8]
push esi
push edx
call fcn.0042a250
mov eax, esi
add esp, 0x10
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x42a2c8
mov ecx, eax
push ebx
shl ecx, 4
add ecx, edi
lea edx, [edi + eax*8]
mov ebx, dword [ecx]
mov esi, dword [edx]
mov edi, dword [edx + 4]
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
add ecx, 8
mov dword [edx + 4], ebx
mov dword [ecx - 8], esi
mov dword [ecx - 4], edi
add edx, 8
dec eax
jne 0x42a2a9
pop ebx
pop edi
pop esi
ret