Function at 0x4168e0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44965b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
xor ebx, ebx
push 0xd
push 0x44e094
lea esi, [esp + 0x44]
mov byte [ebp + 0x2e], bl
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.00401aa0
mov dword [esp + 0x64], ebx
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x41694f
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x45aa44]
add esi, 0x10
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x45af3c]
lea ecx, [esp + 0x1c]
call fcn.00417860
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp + 0x20]
lea esi, [edi + 0x10]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], ecx
call fcn.00417780
lea esi, [ebp + 4]
push esi
call fcn.004163c0
mov edx, dword [esi]
push 0
push 0xbb8
push 0xfa1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [0x459ee8]
push 0
push 0xc
call edi
push eax
push 0xb
call edi
push eax
push 1
push 0x67
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [esi]
push 1
push 0x80
push eax
call ebx
mov ecx, dword [0x459ee8]
push 0
push 0x32
mov dword [esp + 0x1c], ecx
call edi
push eax
push 0x31
call edi
mov edx, dword [esp + 0x1c]
push eax
push 1
push 0x67
push edx
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
mov eax, dword [esi]
push edi
push 0
push 0x80
push eax
call ebx
call fcn.00416340
mov ecx, dword [ebp + 0x484]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x416a49
cmp ecx, eax
je 0x416a49
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x484], eax
mov ecx, dword [esi]
push 0x3ec
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x484]
push 1
push ecx
push 0x30
push eax
call ebx
mov dword [ebp + 0x464], edi
cmp dword [ebp + 0x480], 8
jb 0x416a82
mov eax, dword [ebp + 0x46c]
jmp 0x416a88
lea eax, [ebp + 0x46c]
push edi
push eax
lea ebx, [ebp + 0x34]
push esi
mov edi, ebx
call fcn.00401420
test eax, eax
jne 0x416abb
mov esi, ebp
call fcn.00416c90
cmp dword [esp + 0x54], 8
jb 0x416ab4
mov edx, dword [esp + 0x40]
push edx
call fcn.00433114
add esp, 4
xor eax, eax
jmp 0x416ba8
push 0xb
xor edi, edi
push str.ck_W_vN
lea esi, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
call fcn.00401aa0
mov byte [esp + 0x64], 1
mov eax, dword [ebp + 0x38]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
lea esi, [edi + 8]
je 0x416b21
cmp dword [ebp + 0x480], esi
jb 0x416b04
mov eax, dword [ebp + 0x46c]
jmp 0x416b0a
lea eax, [ebp + 0x46c]
cmp dword [esp + 0x38], esi
mov ecx, dword [esp + 0x24]
jae 0x416b18
lea ecx, [esp + 0x24]
push eax
push ecx
mov eax, ebx
call fcn.00401510
push 0x78
call fcn.004331e8
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, edi
mov byte [esp + 0x64], 2
je 0x416b4a
lea ecx, [ebp + 0x448]
push ecx
mov edi, eax
call fcn.0040c440
xor edi, edi
jmp 0x416b4c
xor eax, eax
lea edx, [esp + 0x18]
push edx
push edi
push ebp
push 0x417430
push edi
push edi
mov dword [ebp + 0x30], eax
mov dword [esp + 0x30], edi
call fcn.00433f13
add esp, 0x18
cmp dword [esp + 0x38], esi
mov dword [ebp + 0x28], eax
jb 0x416b7f
mov eax, dword [esp + 0x24]
push eax
call fcn.00433114
add esp, 4
cmp dword [esp + 0x54], esi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
jb 0x416ba3
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00433114
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004337a7
add esp, 0x54
ret 4