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

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x20]
push dword [ebp]
call fcn.00403cfe
push 0
push 4
mov eax, ebp
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
call fcn.0040458b
mov dword [ebp + 0x10], eax
push 0
push 4
mov eax, ebp
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 8
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push dword [ebp + 0x24]
push 1
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
pop eax
mov dword [ebp + 0x24], eax
call fcn.00404298
push eax
push ebp
call fcn.00405cb4
push 0
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x24]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d04c]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push eax
call fcn.00404505
push eax
mov ecx, ebp
add ecx, 0x10
push ecx
push dword [ecx]
call fcn.0040276c
pop ecx
pop dword [ecx]
push 0
pop eax
mov dword [ebp + 0x1c], eax
push 1
pop eax
cmp eax, 0
je 0x405c98
call fcn.00404298
push eax
push ebp
call fcn.00405cb4
push 0
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp + 0xc]
push eax
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x24]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d04c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push eax
pop eax
mov dword [ebp + 0x18], eax
push dword [ebp + 0x18]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x404f3d
mov eax, 0xffffffff
not eax
mov dword [esp], eax
push dword [ebp + 8]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x404f58
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
or eax, ebx
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x404f76
jmp 0x405c98
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0x20
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x404fae
mov eax, 0xffffffff
not eax
mov dword [esp], eax
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 9
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x404feb
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
or eax, ebx
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x405005
jmp 0x404ed6
call fcn.00404298
push eax
push ebp
call fcn.00405cb4
push 1
push 0
push 0xffffffffffffffff
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x24]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d04c]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0xffffffffffffffff
pop eax
mov dword [ebp + 0x14], eax
push 0
pop eax
mov dword [ebp + 4], eax
push 1
pop eax
cmp eax, 0
je 0x405803
push dword [ebp + 0x14]
push 1
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
pop eax
mov dword [ebp + 0x14], eax
call fcn.00404298
push eax
push ebp
call fcn.00405cb4
push 0
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp + 0xc]
push eax
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x24]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d04c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push eax
pop eax
mov dword [ebp + 0x18], eax
push dword [ebp + 0x18]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4050e0
mov eax, 0xffffffff
not eax
mov dword [esp], eax
push dword [ebp + 0x14]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4050fb
mov eax, 0xffffffff
not eax
mov dword [esp], eax
push dword [ebp + 8]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x405116
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
and eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
or eax, ebx
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x40513e
jmp 0x405c98
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0x22
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x405176
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x40519e
push dword [ebp + 4]
push 1
pop ebx
pop eax
sub esp, 4
xor eax, ebx
mov dword [esp], eax
pop eax
mov dword [ebp + 4], eax
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x14]
pop ebx
pop ecx
add ecx, ebx
pop eax
mov byte [ecx], al
push dword [ebp + 8]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4051ef
mov eax, 0xffffffff
not eax
mov dword [esp], eax
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x40522c
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
or eax, ebx
mov dword [esp], eax
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0xd
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x405273
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
or eax, ebx
mov dword [esp], eax
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0xa
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4052ba
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
or eax, ebx
mov dword [esp], eax
push dword [ebp + 4]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4052df
mov eax, 0xffffffff
not eax
mov dword [esp], eax
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0x40b060
pop eax
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
call fcn.0040458b
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push eax
call fcn.00402088
push eax
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x40533c
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
and eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
or eax, ebx
mov dword [esp], eax
push dword [ebp + 4]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x40536b
mov eax, 0xffffffff
not eax
mov dword [esp], eax
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0x20
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4053a8
mov eax, 0xffffffff
not eax
mov dword [esp], eax
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 9
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4053e5
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
or eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
and eax, ebx
mov dword [esp], eax
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d4cc]
push 0xb
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x405433
mov eax, 0xffffffff
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
and eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
or eax, ebx
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x4057fe
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0xd
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x40548c
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x405593
call fcn.00404298
push eax
push ebp
call fcn.00405cb4
push 0
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp + 0xc]
push eax
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x24]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d04c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [ebp + 8]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4054fa
mov eax, 0xffffffff
mov dword [esp], eax
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0xa
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x405535
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
and eax, ebx
mov dword [esp], eax
not dword [esp]
pop eax
cmp eax, 0
je 0x405593
call fcn.00404298
push eax
push ebp
call fcn.00405cb4
push 1
push 0
push 0xffffffffffffffff
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x24]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d04c]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
jmp 0x405054
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0x20
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4055cb
mov eax, 0xffffffff
not eax
mov dword [esp], eax
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 9
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x405608
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
or eax, ebx
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x4057e4
push 1
pop eax
cmp eax, 0
je 0x4057e4
call fcn.00404298
push eax
push ebp
call fcn.00405cb4
push 0
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp + 0xc]
push eax
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x24]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d04c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [ebp + 8]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x40568c
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x4056a0
jmp 0x4057e4
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0x40b062
pop eax
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
call fcn.0040458b
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push eax
call fcn.00402088
push eax
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4056f8
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x40570c
jmp 0x4057e4
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 0x20
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x405744
mov eax, 0xffffffff
not eax
mov dword [esp], eax
xor ecx, ecx
push ecx
push 0
push 0
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 1
pop ecx
add ecx, eax
xor eax, eax
add ecx, 0xc
mov al, byte [ebp + ecx]
push eax
push 9
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x405781
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
or eax, ebx
mov dword [esp], eax
not dword [esp]
pop eax
cmp eax, 0
je 0x4057df
call fcn.00404298
push eax
push ebp
call fcn.00405cb4
push 1
push 0
push 0xffffffffffffffff
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x24]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d04c]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
jmp 0x4057e4
jmp 0x405621
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x14]
pop ebx
pop ecx
add ecx, ebx
pop eax
mov byte [ecx], al
jmp 0x405803
jmp 0x405054
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d4cc]
push 0xa
pop ebx
mov eax, dword [esp]
cmp eax, ebx
je 0x4058ca
push 9
pop ebx
mov eax, dword [esp]
cmp eax, ebx
je 0x405914
push 7
pop ebx
mov eax, dword [esp]
cmp eax, ebx
je 0x405962
push 8
pop ebx
mov eax, dword [esp]
cmp eax, ebx
je 0x405962
push 5
pop ebx
mov eax, dword [esp]
cmp eax, ebx
je 0x4059db
push 6
pop ebx
mov eax, dword [esp]
cmp eax, ebx
je 0x4059db
push 3
pop ebx
mov eax, dword [esp]
cmp eax, ebx
je 0x405a53
push 4
pop ebx
mov eax, dword [esp]
cmp eax, ebx
je 0x405a53
push 1
pop ebx
mov eax, dword [esp]
cmp eax, ebx
je 0x405acc
push 2
pop ebx
mov eax, dword [esp]
cmp eax, ebx
je 0x405acc
push 0xb
pop ebx
mov eax, dword [esp]
cmp eax, ebx
je 0x405b44
add esp, 4
jmp 0x405c31
add esp, 4
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d44c]
lea eax, [ebp + 0x10]
mov eax, dword [eax]
push eax
call fcn.0040604e
sub esp, 8
fstp qword [esp]
fld qword [esp]
add esp, 8
pop eax
fstp qword [eax]
jmp 0x405c31
add esp, 4
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d44c]
lea eax, [ebp + 0x10]
mov eax, dword [eax]
push eax
call fcn.0040604e
sub esp, 8
fstp qword [esp]
fld qword [esp]
add esp, 4
fstp dword [esp]
pop ebx
pop eax
mov dword [eax], ebx
jmp 0x405c31
add esp, 4
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d44c]
lea eax, [ebp + 0x10]
mov eax, dword [eax]
push eax
call fcn.0040604e
sub esp, 8
fstp qword [esp]
fld qword [esp]
sub esp, 0x10
mov dword [esp + 4], eax
fnstcw word [esp]
mov ax, word [esp]
or ah, 0xc
mov word [esp + 2], ax
fldcw word [esp + 2]
mov eax, dword [esp + 4]
add esp, 0x10
fistp qword [esp]
sub esp, 0x10
fldcw word [esp]
add esp, 0x10
pop ecx
pop ebx
pop eax
mov dword [eax], ecx
mov dword [eax + 4], ebx
jmp 0x405c31
add esp, 4
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d44c]
lea eax, [ebp + 0x10]
mov eax, dword [eax]
push eax
call fcn.0040604e
sub esp, 8
fstp qword [esp]
fld qword [esp]
add esp, 4
sub esp, 0x10
mov dword [esp + 4], eax
fnstcw word [esp]
mov ax, word [esp]
or ah, 0xc
mov word [esp + 2], ax
fldcw word [esp + 2]
mov eax, dword [esp + 4]
add esp, 0x10
fistp dword [esp]
sub esp, 0x10
fldcw word [esp]
add esp, 0x10
pop ebx
pop eax
mov dword [eax], ebx
jmp 0x405c31
add esp, 4
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d44c]
lea eax, [ebp + 0x10]
mov eax, dword [eax]
push eax
call fcn.0040604e
sub esp, 8
fstp qword [esp]
fld qword [esp]
add esp, 4
sub esp, 0x10
mov dword [esp + 4], eax
fnstcw word [esp]
mov ax, word [esp]
or ah, 0xc
mov word [esp + 2], ax
fldcw word [esp + 2]
mov eax, dword [esp + 4]
add esp, 0x10
fistp dword [esp]
sub esp, 0x10
fldcw word [esp]
add esp, 0x10
pop ebx
pop eax
mov word [eax], bx
jmp 0x405c31
add esp, 4
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d44c]
lea eax, [ebp + 0x10]
mov eax, dword [eax]
push eax
call fcn.0040604e
sub esp, 8
fstp qword [esp]
fld qword [esp]
add esp, 4
sub esp, 0x10
mov dword [esp + 4], eax
fnstcw word [esp]
mov ax, word [esp]
or ah, 0xc
mov word [esp + 2], ax
fldcw word [esp + 2]
mov eax, dword [esp + 4]
add esp, 0x10
fistp dword [esp]
sub esp, 0x10
fldcw word [esp]
add esp, 0x10
pop ebx
pop eax
mov byte [eax], bl
jmp 0x405c31
add esp, 4
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d44c]
pop eax
mov eax, dword [eax]
push eax
call fcn.0040276c
call fcn.00404298
push eax
push ebp
call fcn.00405cb4
lea eax, [ebp + 0x10]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
pop eax
mov dword [ebp + 0x18], eax
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d44c]
push dword [ebp + 0x18]
call fcn.0040458b
push eax
pop ebx
pop eax
mov dword [eax], ebx
call fcn.00404298
push eax
push ebp
call fcn.00405cb4
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
push eax
push dword [eax - 4]
call fcn.0040458b
pop ebx
push eax
push dword [eax - 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
pop eax
push eax
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d44c]
pop eax
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
jmp 0x405c31
push dword [ebp + 0x1c]
push 1
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
pop eax
mov dword [ebp + 0x1c], eax
xor ecx, ecx
push ecx
push 0
push dword [ebp + 0x1c]
pop eax
imul eax, eax, 1
add dword [esp], eax
pop eax
imul eax, eax, 4
pop ecx
add ecx, eax
push dword [ecx + 0x40d44c]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x405c7f
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x405c93
jmp 0x405c98
jmp 0x404eca
call fcn.00402c9a
push dword [ebp + 0x10]
call fcn.0040276c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
add esp, 0x1c
ret 4