Function at 0x4112a0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429cf6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44c264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CDiagToolsDlg.0
mov eax, dword [esi + 0xa4]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], 0x1b
je 0x411342
mov dword [eax + 4], 1
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [esi + 0xa4]
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x41132a
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41131d
mov ecx, dword [edi + 0xc]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [edi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xc], ebx
mov ecx, dword [esi + 0xa4]
cmp ecx, ebx
je 0x41133c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], ebx
mov eax, dword [esi + 0x188]
cmp eax, ebx
mov edi, dword [sym.imp.USER32.dll_DestroyIcon]
je 0x41135b
push eax
call edi
mov dword [esi + 0x188], ebx
mov eax, dword [esi + 0x184]
cmp eax, ebx
je 0x41136e
push eax
call edi
mov dword [esi + 0x184], ebx
lea ecx, [esi + 0x208]
mov byte [ebp - 4], 0x1a
call fcn.0040b350
lea ecx, [esi + 0x1cc]
mov byte [ebp - 4], 0x19
call fcn.00410b60
lea ecx, [esi + 0x18c]
mov byte [ebp - 4], 0x18
call fcn.00423aa0
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0x17
call fcn.00419370
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 0x16
call fcn.00419030
lea eax, [esi + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x80]
cmp eax, ebx
je 0x4113d9
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov eax, dword [esi + 0x70]
cmp eax, ebx
je 0x4113fb
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov eax, dword [esi + 0x68]
cmp eax, ebx
mov byte [ebp - 4], 0x12
je 0x411417
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x64]
cmp eax, ebx
mov byte [ebp - 4], 0x11
je 0x41142a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x5c]
cmp eax, ebx
mov byte [ebp - 4], 0x10
je 0x41143d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x58]
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x411450
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x54]
cmp eax, ebx
mov byte [ebp - 4], 0xe
je 0x411463
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x50]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x411476
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x4c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x411489
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x48]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x41149c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x4114af
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x40]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x4114c2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x4114d5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x38]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x4114e8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x34]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x4114fb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x30]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x41150e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x411521
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x28]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x411534
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x24]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x411547
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x20]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x41155a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi + 0x18]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x411569
lea edx, [eax + 4]
jmp 0x41156b
xor edx, edx
mov eax, dword [edx]
cmp eax, ebx
je 0x411592
mov dword [eax + 0x24], ebx
mov eax, dword [edx]
mov edi, dword [eax + 0x24]
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x24], edi
mov edx, dword [edx]
cmp edx, ebx
je 0x411592
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push edx
call ecx
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret