Function at 0x403c82
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x41c378
call fcn.0041baa0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [esi], 0x420ad4
lea eax, [esi + 0x138]
mov dword [ebp - 4], 0x16
push eax
call fcn.00408aa9
mov ecx, dword [esi + 0x118]
xor ebx, ebx
cmp ecx, ebx
je 0x403cc3
call fcn.0040ec2f
cmp dword [0x42bd34], ebx
je 0x403d3e
mov eax, dword [esi + 0x118]
push dword [eax + 0xe4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403cf7
mov eax, dword [esi + 0x118]
push ebx
push ebx
push 0x12
push dword [eax + 0xe4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x118]
push 0x7d0
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x403d2b
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x403d21
push ebx
push dword [0x42bd34]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403d3e
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [0x42bd34]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x118]
cmp ecx, ebx
je 0x403d4e
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, 0x42bc98
mov dword [esi + 0x118], ebx
call fcn.004145b5
mov eax, dword [esi + 0x1b4]
cmp eax, ebx
je 0x403dd8
mov byte [eax + 0x74], bl
mov eax, dword [esi + 0x1b4]
push ebx
push ebx
push 0x12
mov byte [ebp - 4], 0x17
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov eax, dword [esi + 0x1b4]
push 0x2710
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x403dad
mov eax, dword [esi + 0x1b4]
push ebx
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x1b4]
cmp ecx, ebx
je 0x403dbe
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1b4], ebx
jmp 0x403dd1
mov dword [ebp - 4], 0x16
lea ecx, [esi + 0x1c0]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1bc]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1b8]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x12
call fcn.0040bdb3
lea ecx, [esi + 0x15c]
mov byte [ebp - 4], 0x11
call fcn.0041b61c
lea ecx, [esi + 0x154]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x138]
mov byte [ebp - 4], 0xf
call fcn.004178b7
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 0xe
call fcn.004178b7
lea ecx, [esi + 0x114]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x110]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10c]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x104]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 8
call fcn.0040a2eb
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret