Function at 0x415d80
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44779b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
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 0x44bf44
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.00401a90
mov dword [esp + 0x64], ebx
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x415def
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 [0x4579e4]
add esi, 0x10
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x457e94]
lea ecx, [esp + 0x1c]
call fcn.00415880
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.004157a0
lea esi, [ebp + 4]
push esi
call fcn.004155f0
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 [0x456e88]
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 [0x456e88]
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.00415570
mov ecx, dword [ebp + 0x484]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x415ee9
cmp ecx, eax
je 0x415ee9
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 0x415f22
mov eax, dword [ebp + 0x46c]
jmp 0x415f28
lea eax, [ebp + 0x46c]
push edi
push eax
lea ebx, [ebp + 0x34]
push esi
mov edi, ebx
call fcn.00401410
test eax, eax
jne 0x415f5b
mov esi, ebp
call fcn.00416130
cmp dword [esp + 0x54], 8
jb 0x415f54
mov edx, dword [esp + 0x40]
push edx
call fcn.00431474
add esp, 4
xor eax, eax
jmp 0x416048
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.00401a90
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 0x415fc1
cmp dword [ebp + 0x480], esi
jb 0x415fa4
mov eax, dword [ebp + 0x46c]
jmp 0x415faa
lea eax, [ebp + 0x46c]
cmp dword [esp + 0x38], esi
mov ecx, dword [esp + 0x24]
jae 0x415fb8
lea ecx, [esp + 0x24]
push eax
push ecx
mov eax, ebx
call fcn.00401500
push 0x78
call fcn.00431548
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, edi
mov byte [esp + 0x64], 2
je 0x415fea
lea ecx, [ebp + 0x448]
push ecx
mov edi, eax
call fcn.0040b6d0
xor edi, edi
jmp 0x415fec
xor eax, eax
lea edx, [esp + 0x18]
push edx
push edi
push ebp
push 0x4166d0
push edi
push edi
mov dword [ebp + 0x30], eax
mov dword [esp + 0x30], edi
call fcn.00432273
add esp, 0x18
cmp dword [esp + 0x38], esi
mov dword [ebp + 0x28], eax
jb 0x41601f
mov eax, dword [esp + 0x24]
push eax
call fcn.00431474
add esp, 4
cmp dword [esp + 0x54], esi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
jb 0x416043
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00431474
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.00431b07
add esp, 0x54
ret 4