Function at 0x468270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4e5d
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x67c3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xa8], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [ebp - 0x65], 0
mov dword [ebp - 0x84], eax
jne 0x4682cf
push 0
push 0
push 0
push dword [esi + 0xac]
push 0
push 0
call eax
mov dword [esi + 0xa8], eax
mov edi, dword [esi + 0xb0]
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], eax
test edi, edi
jne 0x4682f8
push 0
call eax
mov edi, dword [esi + 0xb0]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], edi
test edi, edi
je 0x4682e4
imul eax, dword [0x66b030], 0xe2c
push 0xfde9
push dword [eax + 0x66bc54]
lea eax, [ebp - 0x64]
push eax
call fcn.00544480
add esp, 0xc
cmp dword [ebp - 0x50], 7
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0x64]
push eax
mov eax, dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
mov dword [ebp - 0x8c], eax
call eax
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push 0x3ee
push edi
mov dword [ebp - 0x70], eax
call eax
push eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x90], eax
call eax
or eax, 8
push eax
push 0xfffffffffffffff0
push 0x3ee
push edi
call dword [ebp - 0x70]
push eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 0x1c], eax
call eax
push 0
push 1
push 0x40a
push 0x3ee
push edi
call dword [ebp - 0x70]
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x88], eax
call eax
mov edx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi]
mov eax, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [ebp - 0x7c], edx
mov edx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x80], edx
cmp ecx, 0xffffffff
je 0x4683d7
lea edx, [ebp - 0x14]
push edx
push ecx
call eax
cmp dword [ebp - 0x14], 0x103
jne 0x4683cc
push 0
push dword [esi]
call dword [ebp - 0x7c]
push dword [esi]
call dword [ebp - 0x80]
mov dword [esi], 0xffffffff
push 0
push 0
push 0
push dword [esi + 4]
push 0
push 0
call dword [ebp - 0x84]
mov edi, dword [ebp - 0x74]
mov dword [esi], eax
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x46841e
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [ebp - 0x6c]
cmp dword [ebp - 0x18], 0x103
jne 0x46841e
push 0x64
call edi
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x14
jl 0x4683f6
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x78]
cmp eax, 0xffffffff
je 0x46848d
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [ebp - 0x6c]
cmp dword [ebp - 0x18], 0x103
jne 0x46848d
push 5
push edi
call dword [ebp - 0x14]
push edi
call fcn.00480f80
add esp, 4
push 0x3e8
call dword [ebp - 0x74]
cmp dword [esi + 0xb0], 0
je 0x46848d
mov edi, dword [ebp - 0x74]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x46848a
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [ebp - 0x6c]
cmp dword [ebp - 0x18], 0x103
jne 0x46848a
push 1
call edi
cmp dword [esi + 0xb0], 0
jne 0x468465
mov edi, dword [ebp - 0x78]
push 0
push edi
call dword [ebp - 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esi + 0xb4], 1
mov eax, dword [esi]
mov dword [ebp - 0x78], ecx
cmp eax, 0xffffffff
je 0x4684af
push 0xffffffffffffffff
push eax
call ecx
mov byte [esi + 0xb4], 0
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4684e0
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [ebp - 0x6c]
cmp dword [ebp - 0x18], 0x103
jne 0x4684d5
push 0
push dword [esi]
call dword [ebp - 0x7c]
push dword [esi]
call dword [ebp - 0x80]
mov dword [esi], 0xffffffff
mov eax, dword [esi + 0x10]
cmp eax, 2
je 0x468763
cmp eax, 3
je 0x468763
xor cl, cl
cmp eax, 1
jne 0x468503
mov dword [esi + 0x10], 5
cmp dword [esi + 0xb0], 0
je 0x468809
test cl, cl
je 0x468809
imul eax, dword [0x66b030], 0xe2c
push 0xfde9
push dword [eax + 0x66bc5c]
lea eax, [ebp - 0x34]
push eax
call fcn.00544480
imul eax, dword [0x66b030], 0xe2c
push 0xfde9
mov byte [ebp - 4], 1
push dword [eax + 0x66bc58]
lea eax, [ebp - 0x4c]
push eax
call fcn.00544480
add esp, 0x18
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 2
jne 0x468593
cmp dword [ebp - 0x20], 7
lea ecx, [ebp - 0x34]
push 0x10004
cmova ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 7
push ecx
cmova eax, dword [ebp - 0x4c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x468781
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x4685c1
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [ebp - 0x6c]
cmp dword [ebp - 0x18], 0x103
jne 0x4685b4
push 0
push dword [esi + 8]
call dword [ebp - 0x7c]
push dword [esi + 8]
call dword [ebp - 0x80]
mov dword [esi + 8], 0xffffffff
push 0
push 0
push 0
xorps xmm0, xmm0
lea eax, [esi + 0xa4]
movss dword [eax], xmm0
push dword [esi + 0xc]
push 0
push 0
call dword [ebp - 0x84]
mov dword [esi + 8], eax
imul eax, dword [0x66b030], 0xe2c
push 0xfde9
push dword [eax + 0x66bc60]
lea eax, [ebp - 0xa8]
push eax
call fcn.00544480
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.004443f0
movups xmm1, xmmword [ebp - 0xa8]
lea ecx, [ebp - 0x34]
movq xmm0, qword [ebp - 0x98]
movq qword [ebp - 0x24], xmm0
cmp dword [ebp - 0x20], 7
movd eax, xmm1
movups xmmword [ebp - 0x34], xmm1
cmova ecx, eax
push ecx
push edi
call dword [ebp - 0x8c]
push 0xfffffffffffffff0
push 0x3ee
push edi
call dword [ebp - 0x70]
push eax
call dword [ebp - 0x90]
and eax, 0xfffffff7
push eax
push 0xfffffffffffffff0
push 0x3ee
push edi
call dword [ebp - 0x70]
push eax
call dword [ebp - 0x1c]
push 5
push edi
call dword [ebp - 0x14]
push edi
call fcn.00480f80
movss xmm0, dword [esi + 0xa4]
add esp, 4
movss xmm1, dword [0x5cc040]
comiss xmm1, xmm0
movss dword [ebp - 0x84], xmm0
jbe 0x4686dd
nop
cmp dword [esi + 0xb0], 0
je 0x468707
push 0x3ee
push edi
call dword [ebp - 0x70]
mov ecx, eax
cvttss2si eax, dword [ebp - 0x84]
push 0
push eax
push 0x402
push ecx
call dword [ebp - 0x88]
push 0x1e
call dword [ebp - 0x74]
movss xmm0, dword [esi + 0xa4]
movss xmm1, dword [0x5cc040]
comiss xmm1, xmm0
movss dword [ebp - 0x84], xmm0
ja 0x468690
cmp dword [esi + 0xb0], 0
je 0x468707
push 0
push 0x64
push 0x402
push 0x3ee
push edi
call dword [ebp - 0x70]
push eax
call dword [ebp - 0x88]
push 0x1f4
call dword [ebp - 0x74]
push 0
push edi
call dword [ebp - 0x14]
mov byte [esi + 0xb4], 1
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x468722
push 0xffffffffffffffff
push eax
call dword [ebp - 0x78]
mov byte [esi + 0xb4], 0
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x468757
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [ebp - 0x6c]
cmp dword [ebp - 0x1c], 0x103
jne 0x46874a
push 0
push dword [esi + 8]
call dword [ebp - 0x7c]
push dword [esi + 8]
call dword [ebp - 0x80]
mov dword [esi + 8], 0xffffffff
cmp dword [esi + 0x14], 3
jne 0x46877a
mov byte [ebp - 0x65], 1
jmp 0x468781
mov cl, 1
cmp eax, 2
jne 0x4684f7
mov dword [esi + 0x10], 3
jmp 0x468503
mov dword [esi + 0x14], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 7
jbe 0x4687bb
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4687b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4688bb
push ecx
push edx
call fcn.0059a744
add esp, 8
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
cmp ecx, 7
jbe 0x468809
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4687ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4688bb
push ecx
push edx
call fcn.0059a744
add esp, 8
push edi
mov dword [esi + 0xb0], 0
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0xa8]
cmp eax, 0xffffffff
je 0x46882b
push 0xffffffffffffffff
push eax
call dword [ebp - 0x78]
mov eax, dword [esi + 0xa8]
cmp eax, 0xffffffff
je 0x468865
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [ebp - 0x6c]
cmp dword [ebp - 0x1c], 0x103
jne 0x468852
push 0
push dword [esi + 0xa8]
call dword [ebp - 0x7c]
push dword [esi + 0xa8]
call dword [ebp - 0x80]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, dword [ebp - 0x50]
cmp ecx, 7
jbe 0x46889b
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x468891
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4688c0
push ecx
push edx
call fcn.0059a744
add esp, 8
mov al, byte [ebp - 0x65]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059a5ad
mov esp, ebp
pop ebp
ret 4
call fcn.005ad975
call fcn.005ad975
int3