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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457060
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
or esi, 0xffffffff
mov dword [ebp - 0x54], esi
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
cmp edi, eax
jne 0x43c2f3
mov dword [ebp - 4], esi
jmp 0x43c94a
cmp dword [0x475e40], eax
jne 0x43c3e6
mov dword [0x475e40], 0x40
mov edx, 0xe
mov dword [0x475e44], edx
mov dword [0x475e48], 0x1b
mov ecx, 0x23
mov dword [0x475e4c], ecx
mov dword [0x475e50], 0x64
mov eax, 0x14
mov dword [0x475e54], eax
mov dword [0x475e58], edx
mov dword [0x475e5c], 0x2a
mov dword [0x475e60], 0x3f
mov edx, 3
mov dword [0x475e64], edx
mov dword [0x475e68], 6
mov dword [0x475e6c], ecx
mov dword [0x475e70], eax
mov eax, 0x38
mov dword [0x475e74], eax
mov dword [0x475e78], eax
mov dword [0x475e7c], 0x11
mov dword [0x475e80], 4
mov dword [0x475e84], 0x31
mov dword [0x475e88], eax
mov dword [0x475e8c], 0x47
mov dword [0x475e90], 0x1f
mov dword [0x475e94], 0xa
mov eax, 0x12
mov dword [0x475e98], eax
mov dword [0x475e9c], edx
mov dword [0x475ea0], eax
mov dword [0x475ea4], 2
push 0x104
call fcn.0044c0d4
add esp, 4
mov ebx, eax
mov dword [ebp - 0x34], ebx
add edi, 0xc2
mov dword [ebp - 0x64], edi
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x460fc8
push ebx
call fcn.00449570
test eax, eax
jne 0x43c573
push 3
call fcn.0044c0d4
mov edi, eax
mov dword [ebp - 0x44], edi
push 0x100
call fcn.0044c0d4
mov dword [ebp - 0x58], eax
push 0x100
call fcn.0044c0d4
mov dword [ebp - 0x2c], eax
push 0x100
call fcn.0044c0d4
mov esi, eax
mov dword [ebp - 0x40], esi
push esi
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x58]
push edx
push edi
push ebx
call fcn.0044c925
push 0x460fc0
push esi
call fcn.00455870
add esp, 0x2c
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x43c547
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
mov edx, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x58]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x460fc8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, edx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 0x64]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
push edi
call fcn.0044c186
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0044c186
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0044c186
push esi
call fcn.0044c186
add esp, 0x10
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x43c943
push 0
push 0x10000082
push 3
push 0
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x54], edi
push ebx
call fcn.0044c186
add esp, 4
cmp edi, 0xffffffff
jne 0x43c5b0
push 0
push 0
push 1
push 0xefffffff
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x4c], esi
cmp esi, 0xc7
jae 0x43c5d7
push 0
push 0
push 1
push 0xefffffff
call dword [sym.imp.KERNEL32.dll_RaiseException]
lea eax, [esi + 0x10]
push eax
call fcn.0044c0d4
add esp, 4
mov ebx, eax
mov dword [ebp - 0x50], ebx
push 0
lea ecx, [ebp - 0x24]
push ecx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43c600
cmp dword [ebp - 0x24], esi
je 0x43c611
push 0
push 0
push 1
push 0xefffffff
call dword [sym.imp.KERNEL32.dll_RaiseException]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x20], ebx
lea eax, [ebx + 0x75]
mov dword [ebp - 0x48], eax
cmp dword [ebx + 0x65], esi
ja 0x43c637
cmp dword [ebx + 0x69], esi
ja 0x43c637
cmp dword [eax + 0x16], esi
jbe 0x43c648
push 0
push 0
push 1
push 0xefffffff
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0x45fe3c
mov edx, dword [ebx + 0x65]
add edx, ebx
push edx
call fcn.00455870
add esp, 8
test eax, eax
je 0x43c670
push 0
push 0
push 1
push 0xefffffff
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov edi, dword [ebx + 0x69]
add edi, ebx
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]
cmp byte [edx], 0
jne 0x43c6ae
push 0
push 0
push 1
push 0xefffffff
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [ebp + 8]
lea eax, [ecx + 2]
push eax
call fcn.00448a90
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2a], eax
lea edx, [ecx + 0x62]
mov eax, dword [ebp - 0x48]
mov edi, dword [eax + 0x16]
add edi, ebx
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]
push edx
call fcn.00448a90
mov edi, dword [ebp + 8]
mov dword [edi + 0x2e], eax
cmp word [ebx + 0x53], 0x226
sbb ecx, ecx
and ecx, 0xfffffed4
add ecx, 0x2bc
mov word [edi + 0x24], cx
xor edx, edx
mov cl, byte [ebx + 0x50]
test cl, cl
setne dl
mov byte [edi + 0x23], dl
mov al, byte [ebx + 0x55]
test al, al
jne 0x43c757
mov al, byte [ebx + 0x5a]
and eax, 0xf0
add eax, 0xfffffff0
cmp eax, 0x40
ja case.0x43c738.21
xor ecx, ecx
mov cl, byte [eax + 0x43c978]
jmp dword [ecx*4 + 0x43c960]
mov al, 8
jmp 0x43c759
mov al, 0x20
jmp 0x43c759
mov al, 0x10
jmp 0x43c759
mov al, 1
jmp 0x43c759
mov al, 4
jmp 0x43c759
mov al, 2
jmp 0x43c759
mov al, 0x40
mov byte [ebp - 0x60], al
mov byte [edi + 0x26], al
mov byte [ebx + 0x41], 0
lea esi, [ebx + 6]
push 0x460fb8
push esi
call fcn.0044c6c0
add esp, 8
test eax, eax
jne 0x43c789
push esi
call fcn.00437f20
mov byte [edi + 0x61], al
cmp al, 0xff
jne 0x43c789
mov byte [edi + 0x61], 0
mov dword [edi + 0x3e], 0
mov esi, dword [ebp - 0x48]
mov eax, dword [esi + 6]
add eax, ebx
mov dword [ebp - 0x3c], eax
xor edx, edx
mov dl, byte [ebx + 0x5f]
mov dword [ebp - 0x30], edx
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov cl, byte [edx + 0x60]
cmp dword [ebp - 0x30], ecx
ja 0x43c7c3
xor ecx, ecx
mov cx, word [eax]
add dword [edi + 0x3e], ecx
add eax, 2
mov dword [ebp - 0x3c], eax
inc dword [ebp - 0x30]
jmp 0x43c7a3
mov dword [edi + 0x42], 0
mov ecx, dword [esi + 2]
add ecx, ebx
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov ax, word [ecx + 0x30]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x43c808
mov edx, dword [esi + 0xe]
lea edx, [edx + ebx + 2]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], eax
jae 0x43c805
mov esi, dword [edx]
add dword [edi + 0x42], esi
add edx, 4
mov dword [ebp - 0x38], edx
inc dword [ebp - 0x30]
jmp 0x43c7f0
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x20]
test byte [eax + 0x5a], 0x30
je 0x43c8a3
cmp byte [eax + 0x60], 0x7b
jbe 0x43c8a3
mov dl, byte [eax + 0x5f]
cmp dl, 0x20
ja 0x43c8a3
mov dword [ebp - 0x28], 0
mov ecx, dword [esi + 6]
add ecx, ebx
mov dword [ebp - 0x3c], ecx
and edx, 0xff
mov esi, 0x20
sub esi, edx
xor eax, eax
mov ax, word [ecx + esi*2]
lea esi, [eax + eax*4]
lea esi, [eax + esi*8]
lea esi, [eax + esi*2]
shl esi, 1
mov dword [ebp - 0x28], esi
mov eax, 0x61
sub eax, edx
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x3c], ecx
mov eax, 0x61
mov dword [ebp - 0x30], eax
cmp eax, 0x7b
jae 0x43c891
xor edx, edx
mov dx, word [ecx]
mov ecx, dword [eax*4 + 0x475cbc]
imul ecx, edx
add esi, ecx
mov dword [ebp - 0x28], esi
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov dword [ebp - 0x3c], ecx
inc eax
jmp 0x43c869
mov eax, 0x10624dd3
mul esi
shr edx, 6
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x1c]
jmp 0x43c8ac
xor edx, edx
mov dx, word [eax + 0x5b]
mov dword [ebp - 0x28], edx
cmp word [ecx + 0xc], 0
jne 0x43c8b9
mov word [ecx + 0xc], 0x3e8
mov eax, edx
shl eax, 0xc
movsx ecx, word [ecx + 0xc]
xor edx, edx
div ecx
mov word [edi + 0x50], ax
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x30], eax
cmp eax, 3
jae 0x43c8dd
mov dword [edi + eax*4 + 0x54], ecx
inc eax
jmp 0x43c8ce
cmp ebx, ecx
je 0x43c8ea
push ebx
call fcn.0044c186
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4