Function at 0x417820
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0xe84], 0
jne 0x417c8c
mov eax, dword [esi + 0xe88]
test eax, eax
jne 0x417c8c
cmp dword [esi + 0xf0c], eax
jne 0x417c80
push 0x270
push eax
lea eax, [esi + 0x8f0]
push eax
call fcn.0048b570
add esp, 0xc
mov dword [esi + 0x100c], 0
cmp dword [esi + 0x86c], 0
mov ecx, 0xa28
mov eax, 0x8f0
mov dword [esi + 0xdc0], 0
cmove eax, ecx
mov dword [esi + 0x1010], 0
add eax, esi
mov dword [esi + 0xdc8], 0
lea ecx, [esi + 0xf40]
mov dword [esi + 0xb60], eax
mov dword [esi + 0xdc4], 0
mov dword [esi + 0x1020], 0
mov dword [esi + 0xdd0], 1
mov dword [esi + 0xdd4], 0
mov dword [esi + 0xdd8], 1
mov dword [esi + 0xddc], 0
mov dword [esi + 0xde0], 0
mov dword [esi + 0xde4], 0
mov dword [esi + 0x12dc], 0
mov dword [esi + 0x102c], 0
mov dword [esi + 0x1030], 0
mov dword [esi + 0x84c], 0
mov dword [esi + 0x12e0], 0
mov dword [esi + 0x12e4], 0
mov dword [esi + 0x12e8], 1
call fcn.0045ea20
lea ecx, [esi + 0xf64]
call fcn.0045ea20
lea ecx, [esi + 0xf88]
call fcn.0045ea20
mov dword [esi + 0xcfc], 0
lea eax, [esi + 0xcf4]
mov dword [eax], eax
mov ecx, esi
mov dword [eax + 4], eax
lea eax, [esi + 0xd00]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], 0
lea eax, [esi + 0xd0c]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], 0
lea eax, [esi + 0xd18]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], 0
call fcn.00416eb0
test eax, eax
je 0x417c70
call dword [sym.imp.KERNEL30.dll_GetTickCount]
mov dword [esi + 0xff4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xff8], 0
test eax, eax
je 0x4179e1
push 0
push eax
mov ecx, esi
call fcn.0041a2e0
mov eax, dword [esi + 0x694]
cmp eax, 7
je 0x4179f1
cmp eax, 4
jne 0x417a3d
mov dword [esi + 0xe80], 1
mov dword [esi + 0xf14], 0
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x41dd70
push 0
push 0
call fcn.004916a8
mov ecx, dword [esi + 0xf14]
add esp, 0x18
mov dword [esi + ecx*4 + 0xee4], eax
test eax, eax
je 0x417a3d
inc dword [esi + 0xf14]
cmp dword [esi + 0xf14], 0xa
jl 0x417a05
mov eax, dword [esi + 0x694]
cmp eax, 7
jne 0x417a6e
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x41caa0
push 0x800000
push 0
call fcn.004916a8
add esp, 0x18
mov dword [esi + 0xe84], eax
jmp 0x417c6c
cmp eax, 0xb
jne 0x417abe
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x427b70
push 0x800000
push 0
call fcn.004916a8
mov dword [esi + 0xe88], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x426df0
push 0x800000
push 0
call fcn.004916a8
add esp, 0x30
mov dword [esi + 0xe84], eax
cmp dword [esi + 0xe88], 0
jmp 0x417c6a
cmp eax, 9
je 0x417c24
cmp eax, 0xa
je 0x417c24
mov dword [esi + 0xe4c], 1
mov dword [esi + 0xf10], 0
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x421bc0
push 0
push 0
call fcn.004916a8
mov ecx, dword [esi + 0xf10]
add esp, 0x18
mov dword [esi + ecx*4 + 0xe94], eax
test eax, eax
je 0x417b1c
inc dword [esi + 0xf10]
cmp dword [esi + 0xf10], 0x14
jl 0x417ae4
lea eax, [ebp - 4]
push eax
push 4
push esi
push 0x427b70
push 0x800000
push 0
call fcn.004916a8
mov dword [esi + 0xe88], eax
lea eax, [ebp - 4]
push eax
push 4
push esi
push 0x41e2b0
push 0x800000
push 0
call fcn.004916a8
add esp, 0x30
mov dword [esi + 0xe84], eax
cmp dword [esi + 0xe88], 0
je 0x417c70
test eax, eax
je 0x417c70
mov ecx, esi
call fcn.00412ef0
test al, al
je 0x417bd5
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x426270
push 0
push 0
call fcn.004916a8
mov dword [esi + 0xe8c], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x42c110
push 0
push 0
call fcn.004916a8
add esp, 0x30
mov dword [esi + 0xe90], eax
cmp dword [esi + 0xe8c], 0
je 0x417c70
test eax, eax
jne 0x417c00
mov ecx, esi
call fcn.00419db0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00412f50
test al, al
je 0x417c00
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x426270
push 0
push 0
call fcn.004916a8
add esp, 0x18
mov dword [esi + 0xe8c], eax
test eax, eax
je 0x417c70
push dword [esi + 0xe84]
call dword [sym.imp.KERNEL30.dll_ResumeThread]
push dword [esi + 0xe88]
call dword [sym.imp.KERNEL30.dll_ResumeThread]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x41e2b0
push 0x800000
push 0
call fcn.004916a8
mov dword [esi + 0xe84], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x427b70
push 0x800000
push 0
call fcn.004916a8
add esp, 0x30
mov dword [esi + 0xe88], eax
cmp dword [esi + 0xe84], 0
je 0x417c70
test eax, eax
jne 0x417c18
mov ecx, esi
call fcn.00419db0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
test eax, eax
jne 0x417c8c
cmp dword [esi + 0xf0c], eax
je 0x417c91
mov eax, 1
push 1
push 0
push eax
push str.Internal_error_Start__d__d__d__
call fcn.00463290
add esp, 8
mov ecx, esi
push eax
call fcn.0041a620
push 0
push 0
push 0x10
push dword [esi + 0x708]
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4