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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
push edi
xorps xmm0, xmm0
mov dword [esp + 0x14], edx
xor eax, eax
movlpd qword [esp + 0x28], xmm0
mov esi, ecx
movaps xmmword [esp + 0x30], xmm0
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
test edx, edx
je 0x434a27
lea edx, [esp + 0x30]
call fcn.00434080
mov edi, eax
test edi, edi
je 0x434a27
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edi, eax
test edi, edi
je 0x434a27
mov ecx, dword [esp + 0x3c]
xor edi, edi
mov esi, dword [esp + 0x2c]
lea eax, [ecx + 0x214]
test esi, esi
jl 0x434a27
mov edx, dword [esp + 0x28]
jg 0x434762
cmp edx, eax
jbe 0x434a27
mov eax, 0xfffffdec
sub eax, ecx
mov ecx, 0xffffffff
push 0x434
sbb ecx, edi
add edx, eax
mov dword [esp + 0x2c], edx
adc esi, ecx
mov dword [esp + 0x30], esi
call fcn.0045a914
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
je 0x434a27
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea edx, [esi + 0x20]
push 0
push 0
push dword [esp + 0x34]
mov dword [esp + 0x28], edx
add esi, 0x220
push dword [esp + 0x34]
mov dword [esp + 0x28], edi
push dword [esp + 0x20]
mov dword [esp + 0x34], eax
call eax
mov edi, eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x24], eax
test edi, edi
je 0x434a27
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x214
push esi
push dword [esp + 0x20]
call eax
mov edi, eax
test edi, edi
je 0x434a27
xor eax, eax
cmp dword [esp + 0x18], 0x214
cmovne edi, eax
test edi, edi
je 0x434a27
xor edi, edi
cmp dword [esi], 0x33333333
jne 0x434a27
cmp dword [esi + 0x210], 0x44444444
jne 0x434a27
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
ja 0x434a27
mov eax, dword [esi + 4]
test eax, eax
jne 0x434843
mov ecx, 0x494d68
lea edx, [edi + 2]
jmp 0x434856
cmp eax, 1
jne 0x434a27
mov ecx, 0x495170
mov edx, 3
mov eax, dword [esp + 0x14]
push ecx
push ecx
mov dword [eax], edx
lea eax, [esi + 0x10]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x24], 0x200
call fcn.00434bd0
add esp, 0xc
test eax, eax
jne 0x434a27
cmp dword [esp + 0x18], 0x30
jne 0x434a1a
mov eax, dword [esi]
cmp eax, dword [str.88888888]
jne 0x434a1a
mov eax, dword [esi + 4]
cmp eax, dword [0x495584]
jne 0x434a1a
mov eax, dword [esi + 0x28]
cmp eax, dword [str.66666666]
jne 0x434a1a
mov eax, dword [esi + 0x2c]
cmp eax, dword [0x495578]
jne 0x434a1a
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x14]
push esi
call fcn.00434240
mov edi, eax
add esp, 8
test edi, edi
je 0x434a27
lea edx, [esi + 0x28]
mov ecx, esi
mov esi, 0x1c
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x434a09
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4348f4
cmp dword [ebp + 8], 0
mov edi, 1
je 0x434a31
cmp dword [ebp + 0xc], 0
je 0x434a31
mov eax, dword [esp + 0xc]
push dword [eax + 0x22c]
call fcn.0045a914
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
je 0x434a31
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push 0
sub edx, dword [eax + 0x228]
push 0
sbb ecx, 0
mov dword [esp + 0x30], edx
push ecx
push edx
push dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov eax, dword [eax + 0x22c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call dword [esp + 0x34]
mov edi, eax
test edi, edi
je 0x4349b0
push 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
push esi
push dword [esp + 0x20]
call dword [esp + 0x38]
mov edi, eax
test edi, edi
je 0x4349b0
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp eax, dword [esp + 0x14]
cmovne edi, ecx
test edi, edi
jne 0x4349c0
mov edi, 1
push esi
call fcn.004575c1
add esp, 4
jmp 0x434a31
cmp dword [esi], 0x11111111
jne 0x4349b5
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x22c]
cmp dword [eax + esi - 4], 0x22222222
jne 0x4349b5
mov ecx, dword [esp + 0x1c]
lea esi, [eax - 8]
mov eax, dword [ebp + 0xc]
push esi
mov dword [eax], esi
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004502a0
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
mov ecx, dword [ebp + 8]
add esp, 0xc
movq qword [esi + eax], xmm0
mov dword [ecx], eax
jmp 0x434a31
mov eax, dword [esp + 0x14]
mov edi, 1
mov dword [eax], 1
jmp 0x434a31
mov eax, dword [esp + 0x14]
mov dword [eax], edi
mov edi, 1
jmp 0x434a31
mov esi, dword [esp + 0x14]
mov dword [esi], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x434a42
push eax
call fcn.004575c1
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret