Function at 0x480190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5658a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
push 0x98
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], edi
call fcn.0055044f
mov ecx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
cmp ecx, edi
mov byte [ebp - 4], 1
je 0x4801df
call fcn.0047bbe0
jmp 0x4801f8
xor eax, eax
jmp 0x4801f8
cmp eax, edi
mov dword [ebp - 4], 0xffffffff
jne 0x4804e8
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0xb0]
call fcn.00404a20
mov ecx, dword [ebp - 0x1c]
push 0x572a6c
push 0x572aa0
mov edx, dword [ebp - 0x1e]
push 0x572a4c
mov eax, dword [ebp - 0x20]
push 0x572a6c
push 0x572a48
push 0x10000000
push 0x572a40
push ecx
mov ecx, dword [ebp - 0x22]
push 0x572a3c
push edx
mov edx, dword [ebp - 0x26]
push 0x572a3c
push eax
mov eax, dword [ebp - 0x28]
push 0x572a38
push ecx
push 0x572a34
push edx
push 0x572a34
push eax
push 0x572a38
push 0xb4
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
mov esi, 0x10
push esi
mov ebx, 3
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push str..SocketBase.cpp
mov dword [ebp - 4], ebx
mov byte [ecx + 4], 0
call fcn.00404640
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], esi
mov byte [ebp - 4], 4
jb 0x4802d0
mov eax, dword [eax + 4]
jmp 0x4802d3
add eax, 4
push eax
lea edx, [ebp - 0xb0]
push 0x572a0c
push edx
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
mov eax, dword [ebp - 0xb4]
add esp, 8
cmp eax, esi
mov byte [ebp - 4], bl
jb 0x4803ba
mov eax, dword [ebp - 0xc8]
push eax
call fcn.0055047a
add esp, 4
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00407930
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x64]
add esp, 4
mov dword [ebp - 0x30], edx
mov dword [ebp + ecx - 0xb0], 0x572924
test byte [ebp - 0x6c], 1
lea edx, [ebp - 0xac]
mov dword [ebp - 4], 5
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0xac], 0x5728a0
je 0x480414
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
push eax
call fcn.0055047a
add esp, 4
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], edi
mov edx, dword [ebp - 0x8c]
mov dword [edx], edi
mov eax, dword [ebp - 0x7c]
mov dword [eax], edi
mov ecx, dword [ebp - 0x98]
mov dword [ecx], edi
mov edx, dword [ebp - 0x88]
mov dword [edx], edi
mov eax, dword [ebp - 0x78]
mov dword [eax], edi
mov edx, dword [ebp - 0x6c]
and edx, 0xfffffffe
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0xac], 0x57286c
mov eax, dword [ebp - 0x74]
cmp eax, edi
mov byte [ebp - 4], 6
mov ebx, eax
je 0x4804aa
mov esi, dword [eax]
cmp esi, edi
je 0x4804a1
push edi
lea ecx, [ebp - 0x14]
call fcn.0054db25
mov eax, dword [esi + 4]
cmp eax, edi
jbe 0x480480
cmp eax, 0xffffffff
jae 0x480480
dec eax
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
xor ecx, ecx
cmp edx, edi
setne cl
dec ecx
and esi, ecx
lea ecx, [ebp - 0x14]
call fcn.0054db48
cmp esi, edi
je 0x4804a1
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
push ebx
call fcn.0055047a
add esp, 4
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.0054e238
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - 0xb0], 0x57283c
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x64], 0x572840
call fcn.0054dfcb
mov esi, dword [ebp - 0x18]
jmp 0x4804f5
push eax
call fcn.00480070
mov ecx, eax
call fcn.0047dbe0
cmp dword [esi + 0x40], edi
jne 0x48052a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test eax, eax
je 0x48052a
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x47b5d0
push edi
push edi
mov dword [ebp - 0x14], edi
mov byte [esi + 0x44], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x40], eax
jne 0x48052a
mov byte [esi + 0x44], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret