Function at 0x4e1bf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd414
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x65b4e4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x16c], ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 0x10
call fcn.00412c90
jmp 0x4e1c3d
lea ecx, [ebp - 0x14]
call fcn.00439d00
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x16c]
add ecx, 0x10
call fcn.00440c60
push eax
lea ecx, [ebp - 0x14]
call fcn.004331d0
movzx edx, al
test edx, edx
je 0x4e1f2e
lea ecx, [ebp - 0x14]
call fcn.0042d0e0
push eax
lea ecx, [ebp - 0x80]
call fcn.0040c070
mov dword [ebp - 4], 0
push 0x60b898
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00404a40
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x44], closesocket
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x64], 0
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x60]
call fcn.0040c070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.0040bfe0
movzx eax, al
test eax, eax
jne 0x4e1f02
lea ecx, [ebp - 0x80]
call fcn.0040bf30
push eax
call fcn.00519e80
add esp, 4
test eax, eax
je 0x4e1f02
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
call fcn.0040bf30
push eax
call fcn.0051b730
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x40]
jb 0x4e1f02
ja 0x4e1d25
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x44]
jbe 0x4e1f02
lea ecx, [ebp - 0x80]
call fcn.0040bf30
push eax
call fcn.00503060
add esp, 4
test eax, eax
jne 0x4e1d43
mov dword [ebp - 0x64], 1
jmp 0x4e1d5f
lea ecx, [ebp - 0x80]
call fcn.0040bf30
push eax
call fcn.00519e80
add esp, 4
test eax, eax
je 0x4e1d5f
mov dword [ebp - 0x64], 1
cmp dword [ebp - 0x64], 0
je 0x4e1d92
lea ecx, [ebp - 0x34]
call fcn.0040bf30
push eax
call fcn.00503060
add esp, 4
push 0
lea ecx, [ebp - 0x34]
call fcn.0040bf30
push eax
lea ecx, [ebp - 0x80]
call fcn.0040bf30
push eax
call fcn.004fe150
add esp, 0xc
push str..pos
lea ecx, [ebp - 0x130]
call fcn.0040bf50
mov byte [ebp - 4], 3
push str..log
lea ecx, [ebp - 0x14c]
call fcn.0040bf50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x14c]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.004fb430
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14c]
call fcn.0040c050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x130]
call fcn.0040c050
lea ecx, [ebp - 0x60]
call fcn.0040bf30
push eax
call fcn.00519e80
add esp, 4
test eax, eax
jne 0x4e1e5f
push 0x60b8b0
lea ecx, [ebp - 0x60]
call fcn.0040bf30
push eax
call fcn.005b0ac9
add esp, 8
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x84], 0
je 0x4e1e5f
mov ecx, dword [ebp - 0x84]
push ecx
push 1
push 4
lea edx, [ebp - 0x88]
push edx
call fcn.005b0d41
add esp, 0x10
mov eax, dword [ebp - 0x84]
push eax
call fcn.005b0f84
add esp, 4
push 1
push 2
lea ecx, [ebp - 0x10c]
call fcn.0040b160
mov byte [ebp - 4], 5
push 0x60b8b4
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.00409360
add esp, 8
push eax
call fcn.00409c80
add esp, 8
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00409610
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x174]
call fcn.0040bf30
push eax
push str.CMoniterLogFile::MoniterUplogLog
push 0x68
push 0x60b8ec
push 0xf0000000
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x168]
call fcn.0040c050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10c]
call fcn.00409ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0040c050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.0040c050
jmp 0x4e1c35
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005b0968
mov esp, ebp
pop ebp
ret