Function at 0x4750d0
Capabilities:
Terminate thread

Disassembly:
push ebp
lea ebp, [esp - 0x60]
sub esp, 0x60
push 0xffffffffffffffff
push 0x51125d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x569080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x68]
mov eax, dword [esi + 0x18]
cmp dword [eax - 0xc], 0
je 0x475386
cmp dword [esi + 8], 0
je 0x475386
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x475386
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x475386
lea ebx, [edi + 0x18]
mov ecx, ebx
call fcn.0045f720
test al, al
jne 0x47516c
movzx eax, byte [edi + 0x11d]
mov ecx, dword [ebx + 0x14]
push eax
push 1
push dword [ecx]
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x475162
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0xe0000027
jmp 0x47538b
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp - 4], 0
mov dword [ebp + 0x50], esi
mov byte [ebp + 0x54], 0
mov dword [ebp - 4], 1
lea eax, [ebp + 0x44]
push 0
push eax
push esi
push ebx
lea ecx, [ebp]
call fcn.0044be90
mov byte [ebp - 4], 2
cmp byte [edi + 0xa4], 0
jne 0x475301
cmp byte [edi + 0x11d], 0
jne 0x475301
lea eax, [ebp]
mov dword [ebp + 0x2c], 0x533814
mov dword [ebp + 0x2c], 0x533824
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xffffffff
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x34]
sub ecx, 0x10
call fcn.00402800
lea esi, [eax + 0x10]
mov dword [ebp + 0x58], esi
mov byte [ebp - 4], 6
lea eax, [ebp + 0x2c]
push 0
push eax
lea eax, [ebp + 0x58]
push eax
push ebx
lea ecx, [ebp - 0x60]
call fcn.0044df20
mov byte [ebp - 4], 7
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x60]
call fcn.0047d1d0
cmp eax, 2
jne 0x475240
mov byte [edi + 0x15c], 1
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x47526f
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x5c], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x475262
mov ebx, dword [ebp + 0x5c]
jmp 0x475271
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp + 0x5c], eax
jmp 0x475274
xor ebx, ebx
mov dword [ebp + 0x5c], ebx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call fcn.0044e030
mov byte [ebp - 4], 4
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4752a8
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x30]
mov dword [ebp + 0x2c], 0x533824
test eax, eax
je 0x475312
push dword [ebp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x34], 0xffffffff
je 0x4752f6
lea eax, [ebp + 0x58]
mov dword [ebp + 0x58], 0
push eax
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4752f6
cmp dword [ebp + 0x58], 0x103
jne 0x4752f6
push 0
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x475312
push 0
push 0
lea ecx, [ebp]
call fcn.0044bf70
mov ebx, eax
mov dword [ebp + 0x5c], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.0043eb70
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x475374
xor ebx, ebx
cmp dword [ebp + 0x48], ebx
jle 0x475361
xor eax, eax
mov dword [ebp + 0x58], eax
lea edi, [eax + ecx]
mov eax, dword [edi]
push 0
mov esi, dword [eax]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov eax, dword [ebp + 0x58]
inc ebx
mov ecx, dword [ebp + 0x44]
add eax, 0x16c
mov dword [ebp + 0x58], eax
cmp ebx, dword [ebp + 0x48]
jl 0x475338
push ecx
call fcn.004ddca1
mov ebx, dword [ebp + 0x5c]
add esp, 4
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0
mov eax, ebx
mov dword [ebp + 0x4c], 0
jmp 0x47538b
mov eax, 0xe0000007
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x60]
pop ebp
ret 4