Function at 0x43f1b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1651
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x53a00c]
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 edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
push ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc8], ebx
call fcn.00440600
mov eax, dword [edi]
push 0x80
push 3
push ecx
mov dword [edi + 4], eax
mov ecx, esi
push 0
mov byte [ebx], 0
call fcn.00402f50
mov edx, SysReAllocString
mov ecx, eax
call fcn.00422cb0
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x43f3a5
test esi, esi
je 0x43f3a5
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.00402f20
mov dword [ebp - 4], 0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xe0]
movlpd qword [ebp - 0xd0], xmm0
push eax
lea eax, [ebp - 0xd0]
movlpd qword [ebp - 0xe0], xmm0
push eax
push dword [ebp - 0x14]
movlpd qword [ebp - 0xd8], xmm0
call fcn.0043f960
test al, al
je 0x43f32a
mov ebx, dword [ebp - 0xd0]
mov ecx, ebx
mov eax, dword [ebp - 0xcc]
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x43f324
jb 0x43f2c0
cmp ecx, 0x4ffffe
ja 0x43f324
lea eax, [ebp - 0xc1]
mov byte [ebp - 0xc1], 0
push eax
lea ecx, [ebp - 0x2c]
push ecx
push ebx
call fcn.0041158d
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
call fcn.00403210
push 0
lea ecx, [ebp - 0x14]
push ecx
mov eax, dword [eax]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp ecx, dword [ebp - 0xcc]
ja 0x43f324
jb 0x43f30b
cmp eax, ebx
jae 0x43f324
mov byte [ebp - 0xc1], cl
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xc1]
push ecx
push edx
push eax
mov ecx, edx
call fcn.0041158d
mov ebx, dword [ebp - 0xc8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.00404f80
test al, al
jne 0x43f396
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.00402f20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc0]
call fcn.0044d070
lea ecx, [ebp - 0x2c]
call fcn.00403210
mov edx, dword [eax]
lea eax, [ebp - 0x38]
push eax
call fcn.00405490
push eax
push edx
lea ecx, [ebp - 0xc0]
call fcn.0044afa0
test al, al
jne 0x43f3c5
mov byte [ebx], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00405140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405140
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.004c4269
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x38]
call fcn.00405490
xor edx, edx
mov ecx, 0x3e8
div ecx
test edx, edx
jne 0x43f387
lea ecx, [ebp - 0x38]
call fcn.00405490
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov esi, edx
shr esi, 6
mov dword [ebp - 0xcc], esi
test esi, esi
je 0x43f789
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
push esi
mov ecx, eax
call fcn.00440030
lea ecx, [ebp - 0x38]
call fcn.00403210
mov ecx, dword [eax]
imul eax, esi, 0x3e8
push eax
push ecx
push dword [ebp - 0x20]
call fcn.004c6260
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x43f4c5
xor esi, esi
cmp dword [ebx + esi], 0x23ab45db
jne 0x43f514
inc dword [ebp - 0x14]
xor eax, eax
mov word [ebx + esi + 0x282], ax
mov word [ebx + esi + 0x382], ax
mov word [ebx + esi + 0x3ca], ax
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x1c]
add esi, 0x3e8
mov ebx, dword [ebp - 0x20]
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x14], eax
jb 0x43f471
mov esi, dword [ebp - 0xcc]
mov ecx, dword [edi + 8]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x43f592
mov dword [ebp - 0x14], 0x2762762
call fcn.00401f50
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00403890
add esp, 8
mov eax, dword [eax]
cmp esi, eax
ja 0x43f7ab
jmp 0x43f58a
mov ecx, dword [ebp - 0xc8]
mov byte [ecx], 1
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x43f38a
mov ecx, dword [ebp - 0x18]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x43f566
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f7b0
push ecx
push esi
call fcn.004c4650
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x43f38a
push esi
mov ecx, edi
call fcn.0043fdc0
lea ecx, [ebp - 0xa0]
call fcn.0043d740
mov byte [ebp - 4], 3
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
mov dword [ebp - 0x14], esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x43f6f6
xor eax, eax
mov dword [ebp - 0xcc], eax
nop dword [eax]
add eax, 4
add esi, eax
push esi
call fcn.00403860
add esp, 4
lea ecx, [ebp - 0xa0]
push eax
push esi
call fcn.00403340
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0xcc]
add ecx, 0x284
add esi, ecx
push esi
call fcn.00403860
add esp, 4
lea ecx, [ebp - 0x88]
push eax
push esi
call fcn.00403340
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xcc]
mov eax, dword [ecx + edx + 0x3cc]
lea esi, [edx + 0x384]
mov dword [ebp - 0x58], eax
add esi, ecx
mov eax, dword [ecx + edx + 0x3d0]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + edx + 0x3d4]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + edx + 0x3d8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + edx + 0x3dc]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + edx + 0x3e0]
push esi
mov dword [ebp - 0x44], eax
call fcn.00403860
add esp, 4
lea ecx, [ebp - 0x70]
push eax
push esi
call fcn.00403340
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0xcc]
mov eax, dword [ecx + esi + 0x3e4]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 4]
mov byte [ebp - 0x3c], 0
cmp dword [edi + 8], eax
je 0x43f6b0
push eax
push 0x68
call fcn.00401f40
add esp, 8
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.0043e0f0
add dword [edi + 4], 0x68
jmp 0x43f6bf
lea ecx, [ebp - 0xa0]
push ecx
push eax
mov ecx, edi
call fcn.00440400
mov ecx, dword [ebp - 0x1c]
add esi, 0x3e8
mov dword [ebp - 0xcc], esi
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x20]
inc ebx
sub ecx, esi
mov dword [ebp - 0x14], esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
mov eax, dword [ebp - 0xcc]
jb 0x43f5d0
mov ecx, dword [ebp - 0xc8]
mov byte [ecx], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00402de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00402de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00402de0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x43f789
mov ecx, dword [ebp - 0x18]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x43f76a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f7b5
push ecx
push esi
call fcn.004c4650
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00405140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405140
mov al, 1
jmp 0x43f3a7
call fcn.00403b10
call fcn.004c9a8e
call fcn.004c9a8e
int3