Function at 0x4130e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c800
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x45604c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
push 1
call fcn.0042611e
push str._showmeacrashfortest
push esi
call fcn.0042601d
add esp, 0xc
test eax, eax
jne 0x413133
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x41339e
push 0
push str.SGDowndloadServerEventNameNew2
lea ecx, [ebp - 0x240]
call fcn.00421ec0
cmp byte [ebp - 0x23c], 0
jne 0x41338c
call fcn.00417f00
test eax, eax
je 0x41338c
call fcn.00416ce0
test eax, eax
je 0x41338c
call fcn.00417920
test eax, eax
je 0x41338c
call fcn.00417a70
test eax, eax
je 0x41338c
call fcn.00417ce0
test eax, eax
je 0x41338c
call fcn.00417b40
test eax, eax
je 0x41338c
push str..pipe_sgdownloadpipenew2
call fcn.00414c80
add esp, 4
test eax, eax
je 0x41338c
call fcn.00421e20
test eax, eax
je 0x41338c
push 0
call fcn.00414c80
add esp, 4
push eax
call fcn.00416ce0
mov ecx, eax
call fcn.00417330
call fcn.00417f00
push eax
call fcn.00421e20
mov ecx, eax
call fcn.00421eb0
call fcn.00416ce0
push eax
call fcn.00421e20
mov ecx, eax
call fcn.00421e80
call fcn.00417920
push eax
call fcn.00421e20
mov ecx, eax
call fcn.00411530
push str..pipe_sgdownloadpipenew2
call fcn.00414c80
add esp, 4
push eax
call fcn.00421e20
mov ecx, eax
call fcn.00411540
call fcn.00417a70
push eax
call fcn.00421e20
mov ecx, eax
call fcn.00411050
call fcn.00417b40
push eax
call fcn.00421e20
mov ecx, eax
call fcn.00421e90
call fcn.00417ce0
push eax
call fcn.00421e20
mov ecx, eax
call fcn.00421ea0
call fcn.00421e20
push eax
push 0
call fcn.00414c80
add esp, 4
mov ecx, eax
call fcn.004153a0
push 0
push 0
push 0
push 0x4130c0
push 0
push 0
call fcn.004262c1
push 0
push 0
push 0
push 0x413070
push 0
push 0
mov dword [ebp - 0x30], eax
call fcn.004262c1
push 0
push 0
push 0
push 0x412fa0
push 0
push 0
mov dword [ebp - 0x2c], eax
call fcn.004262c1
add esp, 0x48
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push 0x412ff0
push 0
push 0
call fcn.004262c1
push 0
push 0
push 0
push 0x412fc0
push 0
push 0
mov dword [ebp - 0x24], eax
call fcn.004262c1
push 0
push 0
push 0
push 0x413020
push 0
push 0
mov dword [ebp - 0x20], eax
call fcn.004262c1
add esp, 0x48
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x413050
push 0
push 0
call fcn.004262c1
push 0
push 0
push 0
push 0x412c40
push 0
push 0
mov dword [ebp - 0x18], eax
call fcn.004262c1
add esp, 0x30
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push 0xffffffffffffffff
push 1
push eax
push 7
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0xffffffffffffffff
push dword [ebp - 0x14]
mov byte [0x457c11], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x14]
call esi
call fcn.00412e40
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 9
call fcn.00421fa0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004224f6
mov esp, ebp
pop ebp
ret 0x10