Function at 0x428040
Capabilities:
Create thread

Disassembly:
sub esp, 0x234
mov eax, dword [0x463630]
xor eax, esp
mov dword [esp + 0x230], eax
push 0
push str.SGDowndloadServerEventNameNew2
lea ecx, [esp + 0x28]
call fcn.00439f10
cmp byte [esp + 0x24], 0
je 0x428079
lea ecx, [esp + 0x20]
call fcn.00439e70
jmp 0x4282da
call fcn.00430590
test eax, eax
je 0x42806b
call fcn.0042cd30
test eax, eax
je 0x42806b
call fcn.00430380
test eax, eax
je 0x42806b
call fcn.0042d960
test eax, eax
je 0x42806b
call fcn.0042d9e0
test eax, eax
je 0x42806b
call fcn.0042dad0
test eax, eax
je 0x42806b
push str..pipe_sgdownloadpipenew2
call fcn.00429fa0
add esp, 4
test eax, eax
je 0x42806b
call fcn.00439aa0
test eax, eax
je 0x42806b
push esi
push 0
call fcn.00429fa0
add esp, 4
push eax
call fcn.0042cd30
mov ecx, eax
call fcn.0042b470
call fcn.00430590
push eax
call fcn.00439aa0
mov ecx, eax
call fcn.00439a20
call fcn.0042cd30
push eax
call fcn.00439aa0
mov ecx, eax
call fcn.00439a30
call fcn.00430380
push eax
call fcn.00439aa0
mov ecx, eax
call fcn.00439a40
call fcn.0042d960
push eax
call fcn.00439aa0
mov ecx, eax
call fcn.00439a60
push str..pipe_sgdownloadpipenew2
call fcn.00429fa0
add esp, 4
push eax
call fcn.00439aa0
mov ecx, eax
call fcn.00439a70
call fcn.0042d9e0
push eax
call fcn.00439aa0
mov ecx, eax
call fcn.00439a80
call fcn.0042dad0
push eax
call fcn.00439aa0
mov ecx, eax
call fcn.00439a90
call fcn.00439aa0
push eax
push 0
call fcn.00429fa0
add esp, 4
mov ecx, eax
call fcn.00429780
xor eax, eax
push eax
push eax
push eax
push 0x427b70
push eax
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call fcn.0043a6ce
push 0
push 0
push 0
push 0x427b90
push 0
push 0
mov dword [esp + 0x34], eax
call fcn.0043a6ce
push 0
push 0
push 0
mov dword [esp + 0x44], eax
push 0x427be0
push 0
push 0
call fcn.0043a6ce
add esp, 0x48
push 0
push 0
push 0
push 0x427c00
push 0
push 0
mov dword [esp + 0x24], eax
call fcn.0043a6ce
push 0
push 0
push 0
push 0x427c20
push 0
push 0
mov dword [esp + 0x40], eax
call fcn.0043a6ce
push 0
push 0
push 0
push 0x427c50
push 0
push 0
mov dword [esp + 0x5c], eax
call fcn.0043a6ce
add esp, 0x48
push 0
push 0
push 0
push 0x427c80
push 0
push 0
mov dword [esp + 0x30], eax
call fcn.0043a6ce
push 0
push 0
push 0
push 0x427cb0
push 0
push 0
mov dword [esp + 0x4c], eax
call fcn.0043a6ce
add esp, 0x30
push 0xffffffffffffffff
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0xc]
push eax
push 7
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ecx
mov byte [0x465800], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
call fcn.00427f60
lea ecx, [esp + 0x24]
call fcn.00439e70
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
xor eax, eax
call fcn.0043a5be
add esp, 0x234
ret 0x10