Function at 0x412940
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c0f0
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.004259fe
push str._showmeacrashfortest
push esi
call fcn.004258fd
add esp, 0xc
test eax, eax
jne 0x412993
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x412bfe
push 0
push str.SGDowndloadServerEventNameNew2
lea ecx, [ebp - 0x240]
call fcn.004217a0
cmp byte [ebp - 0x23c], 0
jne 0x412bec
call fcn.00417740
test eax, eax
je 0x412bec
call fcn.00416520
test eax, eax
je 0x412bec
call fcn.00417160
test eax, eax
je 0x412bec
call fcn.004172b0
test eax, eax
je 0x412bec
call fcn.00417520
test eax, eax
je 0x412bec
call fcn.00417380
test eax, eax
je 0x412bec
push str..pipe_sgdownloadpipenew2
call fcn.004144c0
add esp, 4
test eax, eax
je 0x412bec
call fcn.00421700
test eax, eax
je 0x412bec
push 0
call fcn.004144c0
add esp, 4
push eax
call fcn.00416520
mov ecx, eax
call fcn.00416b70
call fcn.00417740
push eax
call fcn.00421700
mov ecx, eax
call fcn.00421790
call fcn.00416520
push eax
call fcn.00421700
mov ecx, eax
call fcn.00421760
call fcn.00417160
push eax
call fcn.00421700
mov ecx, eax
call fcn.00410d90
push str..pipe_sgdownloadpipenew2
call fcn.004144c0
add esp, 4
push eax
call fcn.00421700
mov ecx, eax
call fcn.00410da0
call fcn.004172b0
push eax
call fcn.00421700
mov ecx, eax
call fcn.004108b0
call fcn.00417380
push eax
call fcn.00421700
mov ecx, eax
call fcn.00421770
call fcn.00417520
push eax
call fcn.00421700
mov ecx, eax
call fcn.00421780
call fcn.00421700
push eax
push 0
call fcn.004144c0
add esp, 4
mov ecx, eax
call fcn.00414be0
push 0
push 0
push 0
push 0x412920
push 0
push 0
call fcn.00425ba1
push 0
push 0
push 0
push 0x4128d0
push 0
push 0
mov dword [ebp - 0x30], eax
call fcn.00425ba1
push 0
push 0
push 0
push 0x412800
push 0
push 0
mov dword [ebp - 0x2c], eax
call fcn.00425ba1
add esp, 0x48
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push 0x412850
push 0
push 0
call fcn.00425ba1
push 0
push 0
push 0
push 0x412820
push 0
push 0
mov dword [ebp - 0x24], eax
call fcn.00425ba1
push 0
push 0
push 0
push 0x412880
push 0
push 0
mov dword [ebp - 0x20], eax
call fcn.00425ba1
add esp, 0x48
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x4128b0
push 0
push 0
call fcn.00425ba1
push 0
push 0
push 0
push 0x4124a0
push 0
push 0
mov dword [ebp - 0x18], eax
call fcn.00425ba1
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.004126a0
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 9
call fcn.00421880
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.00421dd5
mov esp, ebp
pop ebp
ret 0x10