Function at 0x412f90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c810
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.0042612e
push str._showmeacrashfortest
push esi
call fcn.0042602d
add esp, 0xc
test eax, eax
jne 0x412fe3
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x41324e
push 0
push str.SGDowndloadServerEventNameNew2
lea ecx, [ebp - 0x240]
call fcn.00421ed0
cmp byte [ebp - 0x23c], 0
jne 0x41323c
call fcn.00417db0
test eax, eax
je 0x41323c
call fcn.00416b90
test eax, eax
je 0x41323c
call fcn.004177d0
test eax, eax
je 0x41323c
call fcn.00417920
test eax, eax
je 0x41323c
call fcn.00417b90
test eax, eax
je 0x41323c
call fcn.004179f0
test eax, eax
je 0x41323c
push str..pipe_sgdownloadpipenew2
call fcn.00414b30
add esp, 4
test eax, eax
je 0x41323c
call fcn.00421e30
test eax, eax
je 0x41323c
push 0
call fcn.00414b30
add esp, 4
push eax
call fcn.00416b90
mov ecx, eax
call fcn.004171e0
call fcn.00417db0
push eax
call fcn.00421e30
mov ecx, eax
call fcn.00421ec0
call fcn.00416b90
push eax
call fcn.00421e30
mov ecx, eax
call fcn.00421e90
call fcn.004177d0
push eax
call fcn.00421e30
mov ecx, eax
call fcn.004113e0
push str..pipe_sgdownloadpipenew2
call fcn.00414b30
add esp, 4
push eax
call fcn.00421e30
mov ecx, eax
call fcn.004113f0
call fcn.00417920
push eax
call fcn.00421e30
mov ecx, eax
call fcn.00410f00
call fcn.004179f0
push eax
call fcn.00421e30
mov ecx, eax
call fcn.00421ea0
call fcn.00417b90
push eax
call fcn.00421e30
mov ecx, eax
call fcn.00421eb0
call fcn.00421e30
push eax
push 0
call fcn.00414b30
add esp, 4
mov ecx, eax
call fcn.00415250
push 0
push 0
push 0
push 0x412f70
push 0
push 0
call fcn.004262d1
push 0
push 0
push 0
push 0x412f20
push 0
push 0
mov dword [ebp - 0x30], eax
call fcn.004262d1
push 0
push 0
push 0
push 0x412e50
push 0
push 0
mov dword [ebp - 0x2c], eax
call fcn.004262d1
add esp, 0x48
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push 0x412ea0
push 0
push 0
call fcn.004262d1
push 0
push 0
push 0
push 0x412e70
push 0
push 0
mov dword [ebp - 0x24], eax
call fcn.004262d1
push 0
push 0
push 0
push 0x412ed0
push 0
push 0
mov dword [ebp - 0x20], eax
call fcn.004262d1
add esp, 0x48
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x412f00
push 0
push 0
call fcn.004262d1
push 0
push 0
push 0
push 0x412af0
push 0
push 0
mov dword [ebp - 0x18], eax
call fcn.004262d1
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 [0x457c21], 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.00412cf0
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 9
call fcn.00421fb0
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.00422505
mov esp, ebp
pop ebp
ret 0x10