Function at 0x441a60
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x545f70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.004417c0
xor ebx, ebx
mov dword [esi], 0x54c220
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1f0], ebx
mov dword [esi + 0x1f4], ebx
mov ecx, dword [0x67a8cc]
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043ede0
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi + 0x1e8], ebx
mov eax, dword [0x67a8cc]
xor edx, edx
mov dword [esp + 0x15], edx
push eax
push 4
lea ecx, [esp + 0x1c]
mov word [esp + 0x21], dx
push 1
push ecx
mov byte [esp + 0x24], bl
mov byte [esp + 0x2b], dl
call ebp
add esp, 0x10
mov edi, str.wflg
lea eax, [esp + 0x14]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x441b22
test cl, cl
je 0x441b1e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x441b22
add eax, 2
add edi, 2
test cl, cl
jne 0x441afe
xor eax, eax
jmp 0x441b27
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x441c40
mov eax, dword [0x67a8cc]
lea edi, [esi + 0x1e8]
push eax
push 1
push 4
push edi
call ebp
mov ecx, dword [0x67a918]
mov eax, dword [edi]
add esp, 0x10
test ecx, eax
je 0x441c40
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x34]
push edx
push 1
push 4
push eax
mov dword [esp + 0x44], ebx
call ebp
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp eax, ebx
je 0x441c40
mov ecx, dword [0x67a8cc]
mov dword [esp + 0x1c], 0x549d88
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 1
call fcn.00483660
mov ebx, eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x1ec], eax
lea edx, [eax*4]
push edx
call fcn.00478e60
mov dword [esi + 0x1f0], eax
mov eax, dword [esi + 0x1ec]
add esp, 4
xor ebp, ebp
test eax, eax
jle 0x441c0d
mov eax, dword [ebx + 4]
xor edi, edi
cmp ebp, eax
jae 0x441bdc
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
imul edi, ebp
add edi, eax
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x441bf6
push 1
push edi
mov ecx, eax
call fcn.00495db0
jmp 0x441bf8
xor eax, eax
mov ecx, dword [esi + 0x1f0]
inc ebp
mov dword [ecx + ebp*4 - 4], eax
mov eax, dword [esi + 0x1ec]
cmp ebp, eax
jl 0x441bc8
mov eax, dword [esi + 0xc4]
mov ecx, dword [eax + 0x20]
and ecx, 0xfffffffe
test ebx, ebx
mov dword [eax + 0x20], ecx
je 0x441c32
mov ecx, ebx
call fcn.00483940
push 0x10
push ebx
call fcn.004784c0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 0
call fcn.00483770
mov eax, dword [esi + 0x1e8]
mov ecx, dword [0x67a908]
test eax, ecx
je 0x441cc2
and eax, dword [0x67a904]
neg eax
sbb eax, eax
xor ebx, ebx
mov bx, word [esi + 0x1d0]
neg eax
sub ebx, eax
lea edx, [ebx*4]
push edx
call fcn.00478e60
add esp, 4
xor edi, edi
test ebx, ebx
mov dword [esi + 0x1f4], eax
jle 0x441cc2
push 0xc
call fcn.004784b0
add esp, 4
test eax, eax
je 0x441c9a
mov ecx, eax
call fcn.00482d20
jmp 0x441c9c
xor eax, eax
mov ecx, dword [esi + 0x1f4]
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 0x1e4]
mov ecx, dword [esi + 0x1f4]
mov eax, dword [edx + edi*4]
mov ecx, dword [ecx + edi*4]
push eax
call fcn.00483370
inc edi
cmp edi, ebx
jl 0x441c83
lea eax, [esi + 0x1f8]
mov ecx, dword [esp + 0x24]
xor edx, edx
pop edi
mov dword [eax], edx
mov dword [eax + 4], edx
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4