Function at 0x42dcc0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3cb8
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x53f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfc], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x42e290
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x42e290
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42dd2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42e290
mov eax, dword [ebp - 0x28]
xor edi, edi
add edi, esi
mov ecx, ebx
adc eax, 0
mov dword [ebp - 0xf8], eax
call fcn.0043ae00
test al, al
je 0x42e290
lea ecx, [ebp - 0x94]
call fcn.00416f92
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00416f92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.00416f92
mov byte [ebp - 4], 2
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.0042c0b0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00416f92
mov byte [ebp - 4], 4
mov edx, ecx
lea ecx, [ebp - 0x94]
call fcn.0042d620
lea ecx, [ebp - 0x1c]
call fcn.00416f63
mov esi, eax
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 3
call fcn.00416f8d
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.00416f8d
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00416f8d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00416f8d
cmp dword [ebp - 0xf8], 0
ja 0x42de16
jb 0x42e290
cmp edi, esi
jb 0x42e290
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
call fcn.00416f92
mov dword [ebp - 4], 8
lea eax, [ebp - 0xe5]
push eax
push ecx
push esi
mov byte [ebp - 0xe5], 0
call fcn.00417015
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], 0
call fcn.00409460
lea ecx, [ebp - 0x24]
push ecx
push esi
mov eax, dword [eax]
mov ecx, ebx
push eax
call fcn.0043ac30
test al, al
je 0x42e27b
cmp dword [ebp - 0x24], esi
jne 0x42e27b
lea ecx, [ebp - 0x6c]
call fcn.0042c040
mov byte [ebp - 4], 9
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0xec]
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0x44]
call fcn.0042d910
add esp, 4
test al, al
jne 0x42deba
xor bl, bl
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6c]
call fcn.0042f190
jmp 0x42e27d
lea ecx, [ebp - 0xbc]
call fcn.0042c040
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xbc]
call fcn.0042c0b0
lea ecx, [ebp - 0xbc]
call fcn.00416f63
lea ecx, [ebp - 0x6c]
mov edx, eax
call fcn.00416f63
cmp eax, edx
jne 0x42df38
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00408510
lea ecx, [ebp - 0x6c]
mov edx, dword [eax]
lea eax, [ebp - 0xf0]
push eax
call fcn.00408900
lea ecx, [ebp - 0x6c]
mov esi, dword [eax]
lea eax, [ebp - 0xf4]
push eax
call fcn.00408510
mov eax, dword [eax]
sub esi, eax
push esi
push edx
push eax
call fcn.004ccdea
add esp, 0xc
test eax, eax
je 0x42e056
lea ecx, [ebp - 0xe4]
call fcn.0042c040
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe4]
call fcn.0042c410
lea ecx, [ebp - 0xe4]
call fcn.00416f63
lea ecx, [ebp - 0x6c]
mov edx, eax
call fcn.00416f63
cmp eax, edx
jne 0x42dfb6
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00408510
lea ecx, [ebp - 0x6c]
mov edx, dword [eax]
lea eax, [ebp - 0xf0]
push eax
call fcn.00408900
lea ecx, [ebp - 0x6c]
mov esi, dword [eax]
lea eax, [ebp - 0xec]
push eax
call fcn.00408510
mov eax, dword [eax]
sub esi, eax
push esi
push edx
push eax
call fcn.004ccdea
add esp, 0xc
test eax, eax
je 0x42e047
lea ecx, [ebp - 0x94]
call fcn.0042c040
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x94]
call fcn.0042c770
lea ecx, [ebp - 0x94]
call fcn.00416f63
lea ecx, [ebp - 0x6c]
mov edx, eax
call fcn.00416f63
cmp eax, edx
jne 0x42e23e
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x94]
call fcn.00408510
lea ecx, [ebp - 0x6c]
mov edx, dword [eax]
lea eax, [ebp - 0xf0]
push eax
call fcn.00408900
lea ecx, [ebp - 0x6c]
mov esi, dword [eax]
lea eax, [ebp - 0xec]
push eax
call fcn.00408510
mov eax, dword [eax]
sub esi, eax
push esi
push edx
push eax
call fcn.004ccdea
add esp, 0xc
test eax, eax
jne 0x42e23e
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x94]
call fcn.0042f190
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe4]
call fcn.0042f190
lea ecx, [ebp - 0x54]
call fcn.00416f63
lea ecx, [ebp - 0xa4]
mov edx, eax
call fcn.00416f63
cmp edx, eax
jne 0x42e25c
lea eax, [ebp - 0xf4]
push eax
call fcn.00408510
lea ecx, [ebp - 0x54]
mov edx, dword [eax]
lea eax, [ebp - 0xf0]
push eax
call fcn.00408900
lea ecx, [ebp - 0x54]
mov esi, dword [eax]
lea eax, [ebp - 0xec]
push eax
call fcn.00408510
mov eax, dword [eax]
sub esi, eax
push esi
push edx
push eax
call fcn.004ccdea
add esp, 0xc
test eax, eax
jne 0x42e25c
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x98]
jne 0x42e25c
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0x6c]
push eax
add ecx, 0x24
call fcn.0042f200
cmp edi, dword [ebp - 0x28]
jne 0x42e0ee
cmp dword [ebp - 0xf8], 0
jne 0x42e0ee
mov bl, 1
jmp 0x42e25e
mov eax, dword [ebx]
mov dword [ebp - 0x38], 0
test eax, eax
je 0x42e25c
cmp dword [eax], 0xffffffff
je 0x42e25c
push 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push ecx
push 4
lea ecx, [ebp - 0x38]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42e25c
cmp dword [ebp - 0x24], 4
jne 0x42e25c
sub edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x38]
cmp esi, edi
ja 0x42e25c
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
call fcn.00416f92
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xe5]
push eax
push ecx
push esi
mov byte [ebp - 0xe5], 0
call fcn.00417015
lea ecx, [ebp - 0x34]
call fcn.00409460
mov edi, eax
mov ecx, ebx
lea eax, [ebp - 0x24]
push eax
push esi
push dword [edi]
call fcn.0043ac30
test al, al
je 0x42e22e
cmp dword [ebp - 0x24], esi
jne 0x42e22e
lea ecx, [ebp - 0x54]
call fcn.00410240
test al, al
jne 0x42e22e
call fcn.00409460
mov eax, dword [eax]
mov al, byte [eax]
test al, al
jne 0x42e22e
lea ecx, [ebp - 0x34]
call fcn.00416f63
test al, 7
jne 0x42e22e
call fcn.00410240
test al, al
jne 0x42e20f
lea ecx, [ebp - 0x60]
call fcn.00416f63
cmp eax, 0x10
jne 0x42e22e
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.00416f63
mov ecx, dword [edi]
mov edx, eax
call fcn.0043af90
add esp, 4
lea ecx, [ebp - 0x60]
xor edx, edx
call fcn.00409460
mov esi, dword [eax]
nop
mov al, byte [esi + edx]
cmp al, byte [ebp + edx - 0x20]
jne 0x42e22e
inc edx
cmp edx, 0x10
jb 0x42e200
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0x34]
push eax
call fcn.0042e4b0
mov bl, al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34]
call fcn.00416f8d
jmp 0x42e25e
xor bl, bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34]
call fcn.00416f8d
jmp 0x42e25e
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x94]
call fcn.0042f190
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe4]
call fcn.0042f190
xor bl, bl
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbc]
call fcn.0042f190
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6c]
call fcn.0042f190
jmp 0x42e27d
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00416f8d
mov al, bl
jmp 0x42e292
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9ebd
mov esp, ebp
pop ebp
ret 4