Function at 0x428619
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x38], ecx
lea ecx, [eax*8]
sub ecx, eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [eax + eax*4]
push edi
mov edi, dword [0x448c78]
add eax, eax
lea ecx, [edi + ecx*8]
mov edi, dword [ecx]
mov ecx, dword [ecx + 0x1c]
add eax, eax
mov ebx, dword [eax + eax + 0x443e90]
add eax, eax
cmp dword [0x448520], 0
mov dword [ebp - 0x3c], esi
les ecx, [ecx + 0x4d89c055]
mov ah, 0xc6
inc ebp
hlt
add bh, al
inc ebp
mov esp, 0
mov dword [ebp - 0x24], eax
jne 0x4280f1
test esi, esi
je 0x4280a0
mov ecx, dword [0x4532f0]
mov dword [esi], ecx
mov ecx, dword [0x4532f4]
mov dword [esi + 4], ecx
mov ecx, dword [0x4532f8]
mov dword [esi + 8], ecx
mov cl, byte [0x4532fc]
mov byte [esi + 0xc], cl
test edx, edx
je 0x4280c7
mov ecx, dword [0x4532f0]
mov dword [edx], ecx
mov ecx, dword [0x4532f4]
mov dword [edx + 4], ecx
mov ecx, dword [0x4532f8]
mov dword [edx + 8], ecx
mov cl, byte [0x4532fc]
mov byte [edx + 0xc], cl
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x4280f1
mov edx, dword [0x4532f0]
mov dword [esi], edx
mov ecx, dword [0x4532f4]
mov dword [esi + 4], ecx
mov edx, dword [0x4532f8]
mov dword [esi + 8], edx
mov cl, byte [0x4532fc]
mov byte [esi + 0xc], cl
xor esi, esi
mov dword [ebp - 0x28], esi
cmp dword [eax + 0x443e80], esi
jle 0x428686
fldz
lea esi, [esi + esi*2]
shl esi, 4
fst qword [ebp - 0x34]
add esi, dword [ebp - 0x4c]
cmp dword [eax + 0x443e84], 0
je 0x4283b9
cmp ebx, 8
jne 0x428148
mov eax, dword [ebp - 0x24]
fstp st(0)
push edi
push 1
lea eax, [eax + 0x443ea0]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x428164
fld qword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
xor ebx, ebx
lea eax, [eax + 0x443ea0]
movzx eax, byte [eax + ebx]
mov dword [ebp - 0x48], eax
cmp eax, 0xfc
jg 0x42817a
fstp st(0)
je 0x428164
test eax, eax
jne 0x42818d
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004391bc
mov esp, ebp
pop ebp
ret
sub eax, 0xfd
je 0x428291
dec eax
je 0x4281c0
dec eax
fstp st(0)
je 0x4281a8
fild dword [ebp - 0x48]
mov eax, dword [ebp - 0x24]
inc ebx
mov dword [eax + 0x443e90], ebx
fsub qword [0x441ad8]
fst qword [ebp - 0x34]
jmp 0x428461
fld qword [0x4596d0]
mov eax, dword [ebp - 0x24]
inc ebx
fst qword [ebp - 0x34]
mov dword [eax + 0x443e90], ebx
jmp 0x428461
cmp word [esi + 0x20], 0
je 0x4283aa
xor eax, eax
mov cl, byte [eax + 0x4532f0]
mov byte [ebp + eax - 0x18], cl
inc eax
test cl, cl
jne 0x4281cd
cmp word [esi + 0x1e], 8
jle 0x4283aa
inc dword [ebp - 0x28]
inc ebx
cmp ebx, 8
jne 0x428217
mov eax, dword [ebp - 0x24]
fstp st(0)
push edi
push 1
lea eax, [eax + 0x443ea0]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x428164
fld qword [ebp - 0x34]
xor ebx, ebx
mov eax, dword [ebp - 0x24]
lea eax, [eax + 0x443ea0]
mov al, byte [eax + ebx]
cmp al, 0xfe
jne 0x428247
mov al, byte [0x440c84]
mov edx, dword [0x440c80]
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x24]
inc ebx
mov dword [ebp - 0x10], edx
mov dword [eax + 0x443e90], ebx
jmp 0x428461
cmp al, 0xfd
jne 0x4283aa
push edi
fstp st(0)
push 1
lea ecx, [ebp - 0x20]
push 8
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x428164
push 4
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.MSVCR100.dll_strncpy]
fld qword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
add esp, 0xc
inc ebx
mov dword [eax + 0x443e90], ebx
jmp 0x428461
cmp word [esi + 0x1c], 1
fstp st(0)
jne 0x4282a8
push edi
push 1
push 8
lea ecx, [ebp - 0x34]
push ecx
jmp 0x428395
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x4532f0]
mov byte [ebp + eax - 0x18], cl
inc eax
test cl, cl
jne 0x4282b0
cmp word [esi + 0x20], 0
push edi
push 1
push 8
je 0x428391
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x428164
cmp word [esi + 0x1e], 8
jle 0x4283a7
inc dword [ebp - 0x28]
inc ebx
cmp ebx, 8
jne 0x42831a
push edi
push eax
mov eax, dword [ebp - 0x24]
lea eax, [eax + 0x443ea0]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x428164
xor ebx, ebx
mov eax, dword [ebp - 0x24]
lea eax, [eax + 0x443ea0]
mov al, byte [eax + ebx]
cmp al, 0xfe
jne 0x42834d
mov eax, dword [0x440c80]
fld qword [ebp - 0x34]
mov cl, byte [0x440c84]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
inc ebx
mov byte [ebp - 0xc], cl
mov dword [eax + 0x443e90], ebx
jmp 0x428461
cmp al, 0xfd
jne 0x4283a7
push edi
push 1
lea edx, [ebp - 0x20]
push 8
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x428164
push 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy]
fld qword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
add esp, 0xc
inc ebx
mov dword [eax + 0x443e90], ebx
jmp 0x428461
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x428164
fld qword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
inc ebx
mov dword [eax + 0x443e90], ebx
jmp 0x428461
cmp word [esi + 0x1c], 1
fstp st(0)
jne 0x4283cd
push edi
push 1
push 8
lea ecx, [ebp - 0x34]
push ecx
jmp 0x42844c
cmp word [esi + 0x20], 0
je 0x428443
xor eax, eax
jmp 0x4283e0
mov cl, byte [eax + 0x4532f0]
mov byte [ebp + eax - 0x18], cl
inc eax
test cl, cl
jne 0x4283e0
push edi
push 1
lea edx, [ebp - 0x18]
push 8
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x428164
cmp word [esi + 0x1e], 8
jle 0x42845e
push edi
push eax
lea eax, [ebp - 0x20]
push 8
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x428164
push 4
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
inc dword [ebp - 0x28]
jmp 0x42845e
push edi
push 1
push 8
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x428164
fld qword [ebp - 0x34]
movsx eax, word [esi + 0x20]
add eax, 3
cmp eax, 4
ja case.0x428471.0
jmp dword [eax*4 + 0x42869c]
mov eax, dword [esi + 0x18]
add eax, 3
cmp eax, 6
ja case.default.0x428487
jmp dword [eax*4 + 0x4286b0]
fcom qword [esi]
fnstsw ax
test ah, 1
jne 0x4284a1
fcom qword [esi + 8]
fnstsw ax
test ah, 0x41
jnp 0x4284b3
fld st(0)
fld qword [esi + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jp case.default.0x428487
mov eax, dword [ebp - 0x44]
fstp st(0)
fld qword [0x4596d0]
mov ecx, dword [ebp - 0x50]
fstp qword [ecx + eax*8]
inc eax
mov dword [ebp - 0x44], eax
jmp 0x42866b
fcom qword [esi]
fnstsw ax
test ah, 1
jne case.default.0x428487
fcom qword [esi + 8]
fnstsw ax
test ah, 0x41
jp case.default.0x428487
mov eax, dword [ebp - 0x44]
fstp st(0)
fld qword [0x4596d0]
mov ecx, dword [ebp - 0x50]
fstp qword [ecx + eax*8]
inc eax
mov dword [ebp - 0x44], eax
jmp 0x42866b
fld qword [0x4596d0]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x42856b
mov eax, dword [ebp - 0x44]
fstp st(1)
mov ecx, dword [ebp - 0x50]
fstp qword [ecx + eax*8]
inc eax
mov dword [ebp - 0x44], eax
jmp 0x42866b
fld st(0)
fld qword [esi]
jmp 0x4284a6
fld st(0)
fld qword [esi]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4284b3
fld st(0)
fld qword [esi + 8]
jmp 0x4284a6
fld st(0)
fld qword [esi]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4284b3
fld st(0)
fld qword [esi + 8]
fucompp
fnstsw ax
test ah, 0x44
jmp 0x42849f
fstp st(0)
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x50]
fstp qword [ecx + eax*8]
inc eax
mov dword [ebp - 0x44], eax
jmp 0x42866b
cmp dword [0x448520], 0
je 0x4285a6
fadd qword [0x441a90]
sub esp, 8
fstp qword [esp]
call sub.MSVCR100.dll_floor
mov edx, dword [ebp - 0x3c]
fstp qword [edx]
add esp, 8
jmp 0x42866b
mov edx, dword [ebp - 0x3c]
fstp st(0)
lea eax, [ebp - 0x18]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4285b2
mov esi, dword [ebp - 0x3c]
mov eax, 0xc
call fcn.00406820
jmp 0x42866b
cmp dword [0x448520], 0
je 0x4285f2
fadd qword [0x441a90]
sub esp, 8
fstp qword [esp]
call sub.MSVCR100.dll_floor
mov edx, dword [ebp - 0x40]
fstp qword [edx]
add esp, 8
jmp 0x42866b
mov edx, dword [ebp - 0x40]
fstp st(0)
lea eax, [ebp - 0x18]
mov ecx, eax
sub edx, ecx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x428600
mov esi, dword [ebp - 0x40]
mov eax, 0xc
call fcn.00406820
jmp 0x42866b
cmp dword [0x448520], 0
je 0x42863d
fadd qword [0x441a90]
sub esp, 8
fstp qword [esp]
call sub.MSVCR100.dll_floor
mov edx, dword [ebp - 0x38]
fstp qword [edx]
add esp, 8
jmp 0x42866b
mov edx, dword [ebp - 0x38]
fstp st(0)
lea eax, [ebp - 0x18]
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x428650
mov esi, dword [ebp - 0x38]
mov eax, 0xc
call fcn.00406820
jmp 0x42866b
fstp st(0)
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [edx + 0x443e80]
jge 0x428686
mov esi, eax
mov eax, edx
jmp 0x428102
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004391bc
mov esp, ebp
pop ebp
ret