Function at 0x412740
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a864
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x45d520]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x5b4], 0
push 8
call fcn.00433d86
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
je 0x4127ab
mov ecx, dword [ebp - 0x3c]
call fcn.00401db0
mov dword [ebp - 0x12c], eax
jmp 0x4127b5
mov dword [ebp - 0x12c], 0
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [eax], closesocket
push 0
mov ecx, dword [ebp - 0x128]
add ecx, 0xd8
push ecx
push str.SoftwareNeowiz_
lea edx, [ebp - 0x5c]
push edx
call fcn.004053f0
add esp, 0xc
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00412cf0
mov byte [ebp - 0x3d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00401940
movzx edx, byte [ebp - 0x3d]
test edx, edx
je 0x412a05
push 0x44f1bc
lea ecx, [ebp - 0x78]
call fcn.004018c0
mov dword [ebp - 4], 2
push 0
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00412f20
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x5b4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00401940
push str.SVersion
lea ecx, [ebp - 0x94]
call fcn.004018c0
mov dword [ebp - 4], 3
push 0
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00412f20
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x5b8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00401940
push 0x44f10b
lea ecx, [ebp - 0xb0]
call fcn.004018c0
mov dword [ebp - 4], 4
push 0x44f1d0
lea ecx, [ebp - 0xcc]
call fcn.004018c0
mov byte [ebp - 4], 5
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00412e10
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x128]
add ecx, 0x57c
call fcn.00405740
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe8]
call fcn.00401940
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xcc]
call fcn.00401940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00401940
push 0x44f1dc
mov ecx, dword [ebp - 0x128]
add ecx, 0x57c
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.00405480
add esp, 0xc
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x144]
lea ecx, [ebp - 0x120]
call fcn.00404900
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14c]
push edx
mov ecx, dword [ebp - 0x128]
add ecx, 0x57c
call fcn.00405740
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x120]
call fcn.00401940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.00401940
mov ecx, dword [ebp - 0x10]
call fcn.00412f80
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.004335d3
add esp, 4
mov edx, dword [ebp - 0x128]
cmp dword [edx + 0x2b4], 0
je 0x412aa6
push str.version.dat
mov eax, dword [ebp - 0x128]
add eax, 0x57c
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00405480
add esp, 0xc
mov dword [ebp - 4], 9
push 0x44f1ec
lea ecx, [ebp - 0x34]
call fcn.00401960
push eax
call fcn.00436a62
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x412a97
mov edx, dword [ebp - 0x14]
push edx
push 1
push 4
mov eax, dword [ebp - 0x128]
add eax, 0x5b4
push eax
call fcn.00437555
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004367a6
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401940
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00433b5e
mov esp, ebp
pop ebp
ret