Function at 0x43fae0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x448]
sub esp, 0x448
push 0xffffffffffffffff
push 0x4ae042
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4e8008]
xor eax, ebp
mov dword [ebp + 0x444], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x450]
xor ecx, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], 1
mov eax, dword [0x4e8960]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [0x4e8960]
or dword [ebp - 0x2c], 0xffffffff
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 3
lea edi, [ebx + 0x430]
cmp dword [ebx + 0x564], ecx
push ecx
push ecx
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
je 0x43fb86
push 0x4bb3f8
call fcn.00402ae6
mov byte [ebp - 4], 4
jmp 0x43fb94
push 0x4bb420
call fcn.00402ae6
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00437bfa
mov ecx, esi
call fcn.0043ab61
mov ecx, edx
mov dword [ebp - 0x4c], eax
push ecx
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x50], ecx
push 0x4bb448
push eax
call fcn.0040240b
add esp, 0x10
lea eax, [ebp - 0x10]
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00437bfa
cmp dword [ebx + 0x564], 0
lea ecx, [ebx + 0x55c]
je 0x43fc00
lea eax, [ebx + 0x568]
push eax
call fcn.00402d8e
jmp 0x43fc46
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0043acd5
mov byte [ebp - 4], 7
mov edx, eax
push 0x4b9c40
lea ecx, [ebp - 0x40]
call fcn.00401f34
mov byte [ebp - 4], 8
lea ecx, [ebx + 0x55c]
push eax
call fcn.00402d8e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.004019df
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004019df
lea esi, [ebx + 0x55c]
push dword [esi]
lea eax, [ebp - 0x10]
push 0x4bb4a8
push eax
call fcn.0040240b
add esp, 0xc
lea eax, [ebp - 0x10]
push 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 9
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00437bfa
push 0
mov ecx, esi
call fcn.00402bdb
push ecx
push ecx
mov ecx, eax
call fcn.004a03d8
mov esi, eax
mov dword [ebp - 0x14], esi
pop ecx
pop ecx
test esi, esi
jne 0x43fcc6
push 1
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4bb4e4
call fcn.00402ae6
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00437bfa
jmp 0x440169
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x40], ecx
cmp dword [eax + 0x9c], ecx
jle 0x43fff6
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
push ecx
mov ecx, eax
call fcn.0043a9aa
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.00437ae6
test al, al
jne 0x44014f
mov ecx, dword [ebp - 0x18]
push 0
call fcn.00402bdb
push eax
lea ecx, [ebp - 0x24]
call fcn.00402ae6
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x18]
push 0
lea ecx, [ecx + 4]
call fcn.00402bdb
push eax
lea ecx, [ebp - 0x20]
call fcn.00402ae6
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add eax, 8
push eax
call fcn.0040180b
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x10]
push dword [ebp - 0x24]
push 0x4bb51c
push eax
call fcn.0040240b
add esp, 0xc
lea eax, [ebp - 0x10]
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov ecx, edi
call fcn.00437bfa
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push connect
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
jne 0x43fdd4
push dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push 0x4bb548
push eax
call fcn.0040240b
add esp, 0xc
lea eax, [ebp - 0x10]
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xd
mov ecx, edi
call fcn.00437bfa
jmp 0x43ff91
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp + 0x34]
lea ecx, [ebp - 0x60]
and dword [ebp - 0x6c], 0
push dword [ebp - 0x28]
mov dword [ebp - 0x70], eax
movzx eax, word [ebp + 0x36]
dec eax
mov dword [ebp - 0x74], eax
movzx eax, word [ebp + 0x3a]
mov dword [ebp - 0x78], eax
movzx eax, word [ebp + 0x3c]
mov dword [ebp - 0x7c], eax
movzx eax, word [ebp + 0x3e]
mov dword [ebp - 0x80], eax
movzx eax, word [ebp + 0x40]
mov dword [ebp - 0x84], eax
mov eax, 0x80
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], eax
call fcn.00403677
push 0
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00402bdb
push eax
lea ecx, [ebp - 0x60]
call fcn.00403677
push ecx
push ecx
push esi
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x84]
sub esp, 0x10
mov edx, eax
push ecx
mov ecx, esi
call fcn.004a163a
add esp, 0x20
test eax, eax
je 0x43fe9a
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push 0x4bb5c8
push eax
call fcn.0040240b
add esp, 0xc
lea eax, [ebp - 0x10]
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0x10
jmp 0x43fdc4
mov ecx, edi
call fcn.00437ae6
test al, al
jne 0x43ffcd
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push 0
push eax
push 0x400
lea eax, [ebp + 0x44]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43ff7b
cmp dword [ebp - 0x30], 0
je 0x43ff7b
push dword [ebp - 0x30]
lea edx, [ebp + 0x44]
mov ecx, esi
call fcn.004a1651
pop ecx
test eax, eax
jne 0x43ff3d
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
adc eax, 0
mov dword [ebp - 0x34], ecx
push ecx
mov edx, eax
mov dword [ebp - 0x3c], eax
call fcn.004a7d30
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x4d73f4]
movss dword [ebp - 0x18], xmm0
call fcn.004a7d30
movss xmm1, dword [ebp - 0x18]
mov ecx, edi
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
push eax
call fcn.00437bde
jmp 0x43fe9a
push ecx
mov ecx, esi
call fcn.0049fd38
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push 0x4bb600
push eax
call fcn.0040240b
add esp, 0x10
lea eax, [ebp - 0x10]
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xd
mov ecx, edi
call fcn.00437bfa
push ecx
mov ecx, esi
call fcn.0049fd38
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x2c], 0xffffffff
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
call fcn.004019df
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x20]
call fcn.004019df
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004019df
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
inc ecx
mov dword [ebp - 0x40], ecx
cmp ecx, dword [eax + 0x9c]
jl 0x43fce6
jmp 0x440002
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
call fcn.004019df
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x20]
call fcn.004019df
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004019df
jmp 0x44014f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov ecx, esi
call fcn.004a1758
xor esi, esi
cmp dword [ebx + 0x564], esi
jne 0x440139
push dword [ebx + 0x55c]
lea eax, [ebp - 0x10]
push 0x4bb650
push eax
call fcn.0040240b
add esp, 0xc
lea eax, [ebp - 0x10]
push esi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00437bfa
lea eax, [ebp - 0x44]
push eax
push ecx
lea eax, [ebx + 0x55c]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 3
mov ecx, ebx
call fcn.00440410
test eax, eax
je 0x4400b3
push dword [ebx + 0x55c]
lea eax, [ebp - 0x10]
push 0x4bb698
push eax
call fcn.0040240b
add esp, 0xc
lea eax, [ebp - 0x10]
push esi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00437bfa
jmp 0x44015a
push 0x4bb6e8
lea edx, [ebx + 0x55c]
lea ecx, [ebp - 0x14]
call fcn.00401f34
mov byte [ebp - 4], 0x15
push 0x4b9240
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041cc26
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004019df
cmp dword [ebp - 0x1c], 0
jne 0x44011f
push dword [ebx + 0x55c]
lea eax, [ebp - 0x10]
push 0x4bb6f8
push eax
call fcn.0040240b
add esp, 0xc
lea eax, [ebp - 0x10]
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0x16
jmp 0x4400a3
push dword [ebp - 0x44]
push dword [ebp - 0x1c]
call fcn.0040fd1b
push dword [ebp - 0x1c]
call fcn.0041ca0d
add esp, 0xc
and dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x34]
cmp dword [ebp - 0x4c], edx
jne 0x44015a
mov edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x50], edx
jne 0x44015a
xor eax, eax
inc eax
mov dword [ebp - 0x54], eax
test esi, esi
je 0x44015a
mov ecx, esi
call fcn.004a1758
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x440169
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x440178
push dword [ebp - 0x1c]
call fcn.0041ca0d
pop ecx
mov esi, dword [ebp - 0x54]
push 1
push 0x64
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
test esi, esi
je 0x440199
push 0x4bb740
call fcn.00402ae6
mov byte [ebp - 4], 0x17
jmp 0x4401a7
push 0x4bb780
call fcn.00402ae6
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00437bfa
xor eax, eax
push eax
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
cmp dword [ebx + 0x564], eax
je 0x4401e9
test esi, esi
je 0x4401d9
push 0x4bb7b4
call fcn.00402ae6
mov byte [ebp - 4], 0x19
jmp 0x4401f7
push 0x4bb7e8
call fcn.00402ae6
mov byte [ebp - 4], 0x1a
jmp 0x4401f7
push 0x4bb824
call fcn.00402ae6
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00437bfa
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004019df
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004019df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00401a38
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x444]
xor ecx, ebp
call fcn.00413912
add ebp, 0x448
leave
ret 4