Function at 0x4eb4a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e9d34
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x66d4f4]
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.0042e380
jmp 0x4eb4ed
lea ecx, [ebp - 0x14]
call fcn.0043e440
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x16c]
add ecx, 0x10
call fcn.0044c5f0
push eax
lea ecx, [ebp - 0x14]
call fcn.00434710
movzx edx, al
test edx, edx
je 0x4eb7de
lea ecx, [ebp - 0x14]
call fcn.00412dd0
push eax
lea ecx, [ebp - 0x80]
call fcn.0040b660
mov dword [ebp - 4], 0
push 0x619dc8
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.004041b0
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.0040b660
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.0040b5d0
movzx eax, al
test eax, eax
jne 0x4eb7b2
lea ecx, [ebp - 0x80]
call fcn.0040b520
push eax
call fcn.00514170
add esp, 4
test eax, eax
je 0x4eb7b2
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
call fcn.0040b520
push eax
call fcn.00530270
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x40]
jb 0x4eb7b2
ja 0x4eb5d5
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x44]
jbe 0x4eb7b2
lea ecx, [ebp - 0x80]
call fcn.0040b520
push eax
call fcn.0050ba00
add esp, 4
test eax, eax
jne 0x4eb5f3
mov dword [ebp - 0x64], 1
jmp 0x4eb60f
lea ecx, [ebp - 0x80]
call fcn.0040b520
push eax
call fcn.00514170
add esp, 4
test eax, eax
je 0x4eb60f
mov dword [ebp - 0x64], 1
cmp dword [ebp - 0x64], 0
je 0x4eb642
lea ecx, [ebp - 0x34]
call fcn.0040b520
push eax
call fcn.0050ba00
add esp, 4
push 0
lea ecx, [ebp - 0x34]
call fcn.0040b520
push eax
lea ecx, [ebp - 0x80]
call fcn.0040b520
push eax
call fcn.00506620
add esp, 0xc
push str..pos
lea ecx, [ebp - 0x130]
call fcn.0040b540
mov byte [ebp - 4], 3
push str..log
lea ecx, [ebp - 0x14c]
call fcn.0040b540
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.00510470
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14c]
call fcn.0040b640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x130]
call fcn.0040b640
lea ecx, [ebp - 0x60]
call fcn.0040b520
push eax
call fcn.00514170
add esp, 4
test eax, eax
jne 0x4eb70f
push 0x619de0
lea ecx, [ebp - 0x60]
call fcn.0040b520
push eax
call fcn.005bd438
add esp, 8
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x84], 0
je 0x4eb70f
mov ecx, dword [ebp - 0x84]
push ecx
push 1
push 4
lea edx, [ebp - 0x88]
push edx
call fcn.005bd6b0
add esp, 0x10
mov eax, dword [ebp - 0x84]
push eax
call fcn.005bd8f3
add esp, 4
push 1
push 2
lea ecx, [ebp - 0x10c]
call fcn.0040a750
mov byte [ebp - 4], 5
push 0x619de4
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.00408950
add esp, 8
push eax
call fcn.00409270
add esp, 8
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00408c00
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.0040b520
push eax
push str.CMoniterLogFile::MoniterUplogLog
push 0x68
push 0x619e1c
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x168]
call fcn.0040b640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10c]
call fcn.004094e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0040b640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.0040b640
jmp 0x4eb4e5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005bd2d7
mov esp, ebp
pop ebp
ret