Function at 0x408c05
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42074a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.004042af
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.CUdpSocket.0
push 0
push 0
push 1
push 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c
call fcn.00408f58
and dword [ebp - 4], 0
push 1
push 0
push 5
push 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.00408ec6
mov eax, dword [ebp - 0x18]
or dword [eax + 0x40], 0xffffffff
mov eax, dword [ebp - 0x18]
and dword [eax + 0x44], 0
mov eax, dword [ebp - 0x18]
and dword [eax + 0x48], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x4c], 0x3c
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x50], 0x3c
mov eax, dword [ebp - 0x18]
and dword [eax + 0x54], 0
mov eax, dword [ebp - 0x18]
and dword [eax + 0x58], 0
mov eax, dword [ebp - 0x18]
and dword [eax + 0x5c], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x60], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x64], 3
mov eax, dword [ebp - 0x18]
and dword [eax + 0x68], 0
mov eax, dword [ebp - 0x18]
and dword [eax + 0x6c], 0
mov eax, dword [ebp - 0x18]
and dword [eax + 0x70], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x74
call fcn.0040911f
mov byte [ebp - 4], 1
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov word [ecx + 0x78], ax
push dword [0x42b260]
push dword [0x421654]
push dword [0x421654]
mov ecx, dword [ebp - 0x18]
add ecx, 0x7c
call fcn.004094a3
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0x15c
call fcn.00403f73
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x160
call fcn.004015b3
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0x7c
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x178
call fcn.004016ae
mov byte [ebp - 4], 5
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x188
call fcn.00408f58
mov byte [ebp - 4], 6
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x18c
call fcn.00408f58
mov byte [ebp - 4], 7
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x190
call fcn.00408f58
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x194], 0
mov eax, dword [ebp - 0x18]
and dword [eax + 0x198], 0
push 0x1388
push 0x1000
push 5
push 0x598
push 0x1e
push 0x200
push 0x80
push 0xa
push 2
push 1
push 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x19c
call fcn.00408ee8
mov eax, dword [ebp - 0x18]
and dword [eax + 0x1c8], 0
mov eax, dword [ebp - 0x18]
and dword [eax + 0x1cc], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x1d8
call fcn.004095f7
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x18]
add ecx, 0x234
call fcn.00401000
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
add ecx, 0x244
call fcn.00401000
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x18]
add ecx, 0x254
call fcn.00401000
mov byte [ebp - 4], 0xc
push 0
mov eax, dword [ebp - 0x18]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x264], eax
mov eax, dword [ebp - 0x18]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 0x18]
push dword [eax + 0x1c0]
call fcn.0040cf36
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x1c8], ecx
push 0x598
call fcn.0040cf36
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x70], ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret