Function at 0x10007670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031878
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10140be4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 4]
push eax
push str._HCClientDisconnectRecv__Type:__d
push 0
call fcn.10009970
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xf
ja case.default.0x100076bf
jmp dword [eax*4 + 0x10007988]
push 0x1388
add esi, 5
push esi
push 1
push 2
push 0x10040610
call fcn.1000a4d0
push 0x104
push 0
push esi
call fcn.10017ef0
add esp, 0x20
jmp case.0x100076bf.0
cmp dword [0x10141ed8], 0
jne case.0x100076bf.0
push 0x6e0f189f
lea ecx, [ebp - 0x20]
mov dword [0x10141ed8], 1
call fcn.100028a0
add esi, 5
push esi
push eax
push 0x10141db8
call fcn.1000f710
add esp, 0xc
push 0
push 0
push 0
push 0x10009160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x104
push 0
push esi
call fcn.10017ef0
add esp, 0xc
jmp case.0x100076bf.0
cmp dword [0x10141ed8], 0
jne case.0x100076bf.0
push 0
push 0
push 0
push 0x10009160
push 0
push 0
mov dword [0x10141ed8], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp case.0x100076bf.0
mov eax, dword [0x10040368]
test eax, eax
je case.0x100076bf.0
cmp dword [eax], 5
jl case.0x100076bf.0
cmp byte [0x10040099], 0
jne case.0x100076bf.0
cmp dword [0x1004008c], 0
je case.0x100076bf.0
push 0x3c
push 0
push 0x10040328
call fcn.10017ef0
add esp, 0xc
mov eax, 0x404b90
mov ecx, 0x10040328
push 0xf1
push 0xc1
call eax
push 2
mov esi, 0x4050d0
mov ecx, 0x10040328
call esi
push 2
mov ecx, 0x10040328
call esi
push 0
push 1
mov ecx, 0x10040328
call dword [0x1004008c]
push 0x3c
push 0
push 0x10040328
call fcn.10017ef0
add esp, 0xc
jmp case.0x100076bf.0
mov eax, str.Fvwiu___
lea ecx, [ebp - 0x1c]
sub eax, 0x1395533e
push eax
call fcn.10001f40
mov ebx, eax
push ebx
push 1
push 2
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
push 0
mov dword [ebp - 4], 0
call fcn.10009970
mov eax, dword [0x100403c4]
add esp, 0x14
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x1000787c
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10141b30]
mov dword [0x100403c4], 0
push dword [0x100403dc]
call edi
mov eax, dword [0x100404ec]
test eax, eax
je 0x100078a6
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10141b30]
mov dword [0x100404ec], 0
push dword [0x10040504]
call edi
mov eax, dword [0x10040614]
test eax, eax
je 0x100078d0
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10141b30]
mov dword [0x10040614], 0
push dword [0x1004062c]
call edi
push 0x2b39c0
push ebx
push 1
push 0x808080
push dword [0x10141b30]
mov ecx, 0x10040610
push 2
call fcn.1000a8a0
push 0
push 0
push 0x10040610
push 0x1000a670
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x10040618]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x10040618]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10040614]
test eax, eax
je 0x10007956
push 0
push 0
push 0x10
push eax
call esi
push dword [0x10141b30]
mov dword [0x10040614], 0
push dword [0x1004062c]
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x1000abc0
jmp dword [pe_dos_header]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100153bf
mov esp, ebp
pop ebp
ret