Function at 0x445e14
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x445e1d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x445e36
add esp, 0xfffffff0
call fcn.00404640
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x25], dl
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00407478
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x446e81
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [esi]
call fcn.004042ac
mov eax, dword [esi]
add eax, 0x74
mov edx, dword [ebp - 0x14]
call fcn.0040741c
mov eax, dword [esi]
mov byte [eax + 0x5c], bl
mov eax, dword [esi]
mov dword [eax + 0x98], 0xffffffff
push 1
push 1
push 0x21
push 0x10
push 0x10
call sub.comctl32.dll_ImageList_Create
mov edx, dword [esi]
mov dword [edx + 0x8c], eax
test bl, bl
jne 0x445ebd
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x445ebd
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x58]
call fcn.0042dd0c
test al, al
je 0x445ef2
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x80]
test al, al
je 0x445ef2
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov dl, 6
mov ecx, dword [eax]
call dword [ecx + 0xa4]
jmp 0x445f60
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x50]
call fcn.0042dd0c
test al, al
je 0x445f24
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
je 0x445f24
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov dl, 5
mov ecx, dword [eax]
call dword [ecx + 0xa4]
jmp 0x445f60
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x48]
test al, al
je 0x445f60
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x445f60
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
je 0x445f60
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov dl, 4
mov ecx, dword [eax]
call dword [ecx + 0xa4]
lea edx, [ebp - 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x320]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x318]
mov edx, dword [0x55a3b0]
call fcn.0042e480
test al, al
jne 0x445fd3
mov eax, dword [ebp - 0x1c]
call fcn.004055e0
mov edi, eax
sub edi, 0xa
cmp edi, 0x14
jl 0x445fd3
mov eax, dword [ebp - 0x1c]
cmp byte [eax + edi - 1], 0x2e
jne 0x445fcd
mov eax, dword [ebp - 0x1c]
cmp byte [eax + edi], 0x20
jne 0x445fcd
lea eax, [ebp - 0x1c]
call fcn.00405810
mov byte [eax + edi], 0xd
lea ecx, [edi + 2]
lea edx, [ebp - 0x1c]
mov eax, 0x446eb4
call fcn.004058a0
dec edi
cmp edi, 0x13
jne 0x445f9e
test bl, bl
je 0x44604a
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x314]
cmp al, 1
jne 0x446011
lea edx, [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x240]
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
call fcn.0042def4
jmp 0x44601c
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.004053b8
lea edx, [ebp - 0xcc]
xor eax, eax
call fcn.0042c5a0
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc8]
call fcn.0042c5d0
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0x1c]
call fcn.0042c7c0
jmp 0x4460a4
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x314]
cmp al, 1
jne 0x44606d
lea edx, [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x240]
jmp 0x44607d
lea edx, [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x238]
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
call fcn.0042def4
lea edx, [ebp - 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x230]
lea eax, [ebp - 0x87]
mov edx, 0x28
call fcn.00408b24
mov dword [ebp - 0x87], 0xc0
mov eax, sub.user32.dll_DefWindowProcA
mov dword [ebp - 0x83], eax
mov eax, dword [0x56a7f8]
mov dword [ebp - 0x77], eax
mov dword [ebp - 0x6b], 0x10
mov eax, 0x446eb8
mov dword [ebp - 0x63], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x6f], eax
lea eax, [ebp - 0x87]
push eax
call sub.user32.dll_RegisterClassA
test bl, bl
jne 0x446117
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x446117
mov edi, 0x70000
jmp 0x446119
xor edi, edi
or edi, 0xc80000
push edi
push 0
push 0
push 0x64
push 0x64
push 0
push 0
mov eax, dword [0x56a7f8]
push eax
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004057b0
mov ecx, eax
mov edx, dword [ebp - 0x63]
mov eax, 9
call fcn.00408ba0
mov edx, dword [esi]
mov dword [edx + 0x2c], eax
mov edx, 0x441ad0
mov eax, dword [esi]
call fcn.00413724
mov edx, dword [esi]
mov dword [edx + 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
push 0xfffffffffffffffc
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_SetWindowLongA
test bl, bl
jne 0x446189
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
jne 0x4461cc
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_GetSystemMenu
mov edi, eax
push 0
push 0xf020
push edi
call sub.user32.dll_RemoveMenu
push 0
push 0xf030
push edi
call sub.user32.dll_RemoveMenu
push 0
push 0xf120
push edi
call sub.user32.dll_RemoveMenu
push 0
push 0xf000
push edi
call sub.user32.dll_RemoveMenu
push 0x446ecc
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff5
call sub.gdi32.dll_CreateFontA
mov edi, eax
mov eax, dword [esi]
mov dword [eax + 0x10], edi
test edi, edi
jne 0x44622a
push 0x446ed4
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff4
call sub.gdi32.dll_CreateFontA
mov edx, dword [esi]
mov dword [edx + 0x10], eax
push 0x446ee4
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff5
call sub.gdi32.dll_CreateFontA
mov edx, dword [esi]
mov dword [edx + 0x14], eax
push 0x446ef0
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff8
call sub.gdi32.dll_CreateFontA
mov edx, dword [esi]
mov dword [edx + 0x18], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov edi, eax
mov eax, dword [esi]
mov dword [eax + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
push eax
push edi
call sub.gdi32.dll_SelectObject
mov edx, dword [esi]
mov dword [edx + 0x28], eax
push 1
mov eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_SetBkMode
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x4462c5
test bl, bl
je 0x4462c9
xor eax, eax
jmp 0x4462cb
mov al, 1
mov byte [ebp - 0x59], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x6c]
test al, al
je 0x4462e0
test bl, bl
je 0x4462e4
xor eax, eax
jmp 0x4462e6
mov al, 1
mov byte [ebp - 0x5a], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x70]
test al, al
je 0x4462fb
test bl, bl
je 0x4462ff
xor eax, eax
jmp 0x446301
mov al, 1
mov byte [ebp - 0x5b], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x74]
test al, al
je 0x446316
test bl, bl
je 0x44631f
test byte [ebp + 0xc], bl
jne 0x44631f
xor eax, eax
jmp 0x446321
mov al, 1
mov byte [ebp - 0x5c], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x78]
or al, bl
mov byte [ebp - 0x5d], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
je 0x446345
test bl, bl
je 0x446349
xor eax, eax
jmp 0x44634b
mov al, 1
mov byte [ebp - 0x5e], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x80]
test al, al
je 0x446363
test bl, bl
je 0x446367
xor eax, eax
jmp 0x446369
mov al, 1
mov byte [ebp - 0x5f], al
test bl, bl
je 0x44639b
mov eax, dword [esi]
mov dword [eax + 0x60], 0x17
lea edx, [ebp - 0x24]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x288]
lea edx, [ebp - 0x20]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x28c]
jmp 0x4463e0
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4463b7
mov eax, dword [esi]
mov dword [eax + 0x60], 0x1a
jmp 0x4463c0
mov eax, dword [esi]
mov dword [eax + 0x60], 0x16
lea edx, [ebp - 0x24]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x260]
lea edx, [ebp - 0x20]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x25c]
movzx eax, byte [ebp - 0x59]
push eax
push 0
lea edx, [ebp - 0xd0]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x250]
mov ecx, dword [ebp - 0xd0]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00440a98
mov dword [ebp - 0x40], eax
movzx eax, byte [ebp - 0x5a]
push eax
push 0
lea edx, [ebp - 0xd4]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x254]
mov ecx, dword [ebp - 0xd4]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00440a98
mov dword [ebp - 0x44], eax
movzx eax, byte [ebp - 0x5b]
push eax
push 0
lea edx, [ebp - 0xd8]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x258]
mov ecx, dword [ebp - 0xd8]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00440a98
mov dword [ebp - 0x48], eax
movzx eax, byte [ebp - 0x5c]
push eax
push 0
mov ecx, dword [ebp - 0x20]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00440a98
mov dword [ebp - 0x4c], eax
movzx eax, byte [ebp - 0x5d]
push eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00440a98
mov dword [ebp - 0x50], eax
movzx eax, byte [ebp - 0x5e]
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0xdc]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x264]
mov ecx, dword [ebp - 0xdc]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00440a98
mov dword [ebp - 0x54], eax
movzx eax, byte [ebp - 0x5f]
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0xe0]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x268]
mov ecx, dword [ebp - 0xe0]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00440a98
mov dword [ebp - 0x58], eax
test bl, bl
je 0x446521
cmp dword [ebp - 0x50], 0x4b
jge 0x446514
mov dword [ebp - 0x50], 0x4f
cmp dword [ebp - 0x4c], 0x4b
jge 0x446521
mov dword [ebp - 0x4c], 0x4f
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x40]
jle 0x44652e
mov edi, dword [ebp - 0xc]
jmp 0x446531
mov edi, dword [ebp - 0x40]
cmp edi, dword [ebp - 0x4c]
jge 0x446539
mov edi, dword [ebp - 0x4c]
cmp edi, dword [ebp - 0x44]
jge 0x446541
mov edi, dword [ebp - 0x44]
cmp edi, dword [ebp - 0x48]
jge 0x446549
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0xc3]
mov edx, 0x2c
call fcn.00408b24
mov eax, edi
sub eax, 4
mov edx, dword [esi]
mov dword [edx + 0x1c], eax
mov dword [ebp - 0xc3], 0x28
mov dword [ebp - 0xbf], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0xbb], eax
mov word [ebp - 0xb7], 1
mov word [ebp - 0xb5], 0x20
push 0
push 0
mov eax, dword [esi]
add eax, 0x20
push eax
push 0
lea eax, [ebp - 0xc3]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_CreateDIBSection
mov edi, eax
mov eax, dword [esi]
mov dword [eax + 0xc], edi
push edi
mov eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_SelectObject
mov edx, dword [esi]
mov dword [edx + 0x24], eax
mov byte [ebp - 0xd], 1
movzx edi, byte [ebp - 0x5d]
movzx eax, byte [ebp - 0x5e]
add edi, eax
movzx eax, byte [ebp - 0x5f]
add edi, eax
cmp edi, 1
jle 0x4465f4
movzx eax, byte [ebp - 0x59]
or al, byte [ebp - 0x5a]
jne 0x4465f8
cmp byte [ebp - 0x5b], 0
jne 0x4465f8
cmp byte [ebp - 0x5c], 0
jne 0x4465f8
xor eax, eax
jmp 0x4465fa
mov al, 1
mov byte [ebp - 5], al
cmp edi, 1
jne 0x446607
mov edi, 2
test bl, bl
je 0x446632
mov eax, dword [ebp - 0x50]
add eax, 0xc
add eax, 0xe
mov dword [ebp - 0x38], eax
cmp byte [ebp + 0xc], 0
je 0x446629
mov eax, dword [ebp - 0x38]
add eax, 2
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0x1a
jmp 0x446683
cmp byte [ebp - 5], 0
je 0x44665e
mov eax, dword [ebp - 0x40]
add eax, 6
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
add eax, 0x20
add eax, 8
mov dword [ebp - 0x2c], eax
jmp 0x446683
mov eax, dword [ebp - 0x40]
add eax, 6
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x58]
add eax, 8
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0x1a
push 2
push 0x446efc
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x4466d9
add dword [ebp - 0x2c], 0x28
push ebp
push 9
push 0xa
push 0x20
push 0x20
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
mov ecx, 0x800000b
xor edx, edx
mov eax, 0x446f0c
call fcn.00445bcc
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x70], eax
push 8
push 0xffffffffffffffeb
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x4466e0
mov eax, dword [esi]
xor edx, edx
mov dword [eax + 0x70], edx
cmp dword [ebp - 0x38], 0x298
jge 0x446706
push 0
mov eax, 0x298
sub eax, dword [ebp - 0x2c]
push eax
push 0
push 0
lea eax, [ebp - 0x97]
push eax
call sub.user32.dll_SetRect
jmp 0x44671f
push 0
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x2c]
push eax
push 0
push 0
lea eax, [ebp - 0x97]
push eax
call sub.user32.dll_SetRect
push 0x410
lea eax, [ebp - 0x97]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
call fcn.004057b0
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_DrawTextA
mov eax, dword [ebp - 0x8f]
add eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x38]
jle 0x44675a
mov eax, dword [ebp - 0x8f]
add dword [ebp - 0x2c], eax
jmp 0x446760
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x298
push 0
call sub.user32.dll_GetSystemMetrics
push eax
push 4
call sub.user32.dll_GetSystemMetrics
lea eax, [eax + eax*4]
pop edx
sub edx, eax
cmp edx, dword [ebp - 0x3c]
jge 0x446799
push 0
call sub.user32.dll_GetSystemMetrics
push eax
push 4
call sub.user32.dll_GetSystemMetrics
lea eax, [eax + eax*4]
pop edx
sub edx, eax
mov dword [ebp - 0x3c], edx
test bl, bl
jne 0x4467bc
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x4467bc
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x2c]
jle 0x4467bc
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
cmp dword [eax + 0x70], 0
je 0x4467d6
cmp dword [ebp - 0x8b], 0x1a
jge 0x4467d6
mov dword [ebp - 0x34], 0x1f
jmp 0x4467e2
mov eax, dword [ebp - 0x8b]
add eax, 5
mov dword [ebp - 0x34], eax
cmp edi, 3
jne 0x44680c
cmp byte [ebp - 5], 0
je 0x446807
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
add eax, 4
sub dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 7
jge 0x44680c
mov dword [ebp - 0x34], 7
jmp 0x44680c
mov edi, 2
test bl, bl
je 0x4468b8
cmp byte [ebp + 0xc], 0
je 0x44683b
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x50]
add eax, 4
sub eax, dword [ebp - 0x4c]
add eax, 4
sub eax, 6
sar eax, 1
jns 0x446833
adc eax, 0
sub eax, 3
mov dword [ebp - 0x30], eax
jmp 0x446851
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x50]
add eax, 4
sar eax, 1
jns 0x44684b
adc eax, 0
sub eax, 3
mov dword [ebp - 0x30], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 1
mov eax, dword [ebp - 0x50]
push eax
mov ecx, 4
movzx edx, byte [ebp - 0x5d]
mov eax, dword [ebp - 0x24]
call fcn.00445c78
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x50], eax
add dword [ebp - 0x30], 2
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 1
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, 3
movzx edx, byte [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
call fcn.00445c78
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x44], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
add eax, 4
mov edi, eax
add edi, edi
add edi, dword [ebp - 0x34]
add edi, 0xd
jmp 0x446a82
mov dword [ebp - 0x30], 6
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, edi
dec eax
push eax
mov eax, dword [ebp - 0x40]
push eax
lea edx, [ebp - 0xe4]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x250]
mov eax, dword [ebp - 0xe4]
xor ecx, ecx
movzx edx, byte [ebp - 0x59]
call fcn.00445c78
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x38], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, edi
dec eax
push eax
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0xe8]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x254]
mov eax, dword [ebp - 0xe8]
mov ecx, 1
movzx edx, byte [ebp - 0x5a]
call fcn.00445c78
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x3c], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, edi
dec eax
push eax
mov eax, dword [ebp - 0x48]
push eax
lea edx, [ebp - 0xec]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x258]
mov eax, dword [ebp - 0xec]
mov ecx, 2
movzx edx, byte [ebp - 0x5b]
call fcn.00445c78
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x40], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, edi
dec eax
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, 3
movzx edx, byte [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
call fcn.00445c78
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x44], eax
cmp byte [ebp - 5], 0
je 0x4469b2
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xc]
sub eax, 8
mov dword [ebp - 0x30], eax
jmp 0x4469c4
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x58]
sub eax, 8
mov dword [ebp - 0x30], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, 4
movzx edx, byte [ebp - 0x5d]
mov eax, dword [ebp - 0x24]
call fcn.00445c78
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x50], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x78]
and eax, 0x7f
push eax
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0xf0]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x264]
mov eax, dword [ebp - 0xf0]
mov ecx, 5
movzx edx, byte [ebp - 0x5e]
call fcn.00445c78
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x4c], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, edi
dec eax
push eax
mov eax, dword [ebp - 0x58]
push eax
lea edx, [ebp - 0xf4]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x268]
mov eax, dword [ebp - 0xf4]
mov ecx, 6
movzx edx, byte [ebp - 0x5f]
call fcn.00445c78
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x48], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
add eax, 4
imul edi
add eax, dword [ebp - 0x34]
add eax, 8
mov edi, eax
cmp byte [ebp - 0x5d], 0
je 0x446abe
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
jne 0x446abe
movzx eax, byte [ebp - 0x5e]
or al, byte [ebp - 0x5f]
je 0x446abe
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
push eax
call sub.user32.dll_EnableWindow
push 7
push 0xffffffffffffffeb
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
push eax
call sub.user32.dll_SetWindowLongA
mov dword [ebp - 0x97], 0xb
mov dword [ebp - 0x93], 0xc
mov eax, dword [esi]
cmp dword [eax + 0x70], 0
je 0x446b08
mov dword [ebp - 0x97], 0x33
cmp dword [ebp - 0x8b], 0x1a
jge 0x446b08
mov eax, 0x1a
sub eax, dword [ebp - 0x8b]
sar eax, 1
jns 0x446aff
adc eax, 0
add eax, 0xc
mov dword [ebp - 0x93], eax
push ebp
mov eax, dword [ebp - 0x97]
push eax
mov eax, dword [ebp - 0x93]
push eax
mov eax, dword [ebp - 0x8f]
push eax
mov eax, dword [ebp - 0x8b]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, 0x446f1c
call fcn.00445bcc
pop ecx
mov eax, ebx
xor al, 1
or al, byte [ebp + 0xc]
je 0x446b6e
mov eax, edi
sub eax, 8
mov edx, dword [esi]
mov dword [edx + 0xa8], eax
test bl, bl
jne 0x446b6b
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x446b6b
add edi, 9
jmp 0x446b6e
add edi, 0xb
mov dword [ebp - 0x34], edi
test bl, bl
jne 0x446b8c
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x446b8c
add edi, 0x1da
push 1
call sub.user32.dll_GetSystemMetrics
push eax
push 4
call sub.user32.dll_GetSystemMetrics
lea eax, [eax + eax*4]
pop edx
sub edx, eax
cmp edi, edx
jle 0x446bba
push 1
call sub.user32.dll_GetSystemMetrics
mov edi, eax
push 4
call sub.user32.dll_GetSystemMetrics
lea eax, [eax + eax*4]
sub edi, eax
test bl, bl
jne 0x446c47
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x446c47
push ebp
push 5
mov eax, dword [ebp - 0x34]
sub eax, 4
push eax
mov eax, dword [ebp - 0x2c]
sub eax, 0xf
push eax
mov eax, edi
sub eax, dword [ebp - 0x34]
sub eax, 6
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
xor ecx, ecx
xor edx, edx
mov eax, 0x446f2c
call fcn.00445bcc
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x30], eax
mov edx, 0x442754
mov eax, dword [esi]
call fcn.00413724
mov edx, dword [esi]
mov dword [edx + 0x90], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x90]
push eax
push 0xfffffffffffffffc
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetWindowLongA
mov edx, dword [esi]
mov dword [edx + 0x94], eax
mov eax, dword [esi]
call fcn.004457c4
mov eax, dword [esi]
call fcn.00445124
push 4
call sub.user32.dll_GetSystemMetrics
add edi, eax
mov eax, ebx
xor al, 1
test al, al
je 0x446c9a
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x446c9a
push 0x20
call sub.user32.dll_GetSystemMetrics
push eax
push 7
call sub.user32.dll_GetSystemMetrics
pop edx
sub edx, eax
mov eax, edx
add eax, eax
add dword [ebp - 0x2c], eax
push 0x21
call sub.user32.dll_GetSystemMetrics
push eax
push 8
call sub.user32.dll_GetSystemMetrics
pop edx
sub edx, eax
mov eax, edx
add eax, eax
add edi, eax
push 4
push edi
mov eax, dword [ebp - 0x2c]
push eax
push 1
call sub.user32.dll_GetSystemMetrics
sub eax, edi
sar eax, 1
jns 0x446cb1
adc eax, 0
push eax
push 0
call sub.user32.dll_GetSystemMetrics
sub eax, dword [ebp - 0x2c]
sar eax, 1
jns 0x446cc3
adc eax, 0
push eax
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x97]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x8f]
sub eax, dword [ebp - 0x97]
mov edx, dword [esi]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 0x8b]
sub eax, dword [ebp - 0x93]
mov edx, dword [esi]
mov dword [edx + 0x7c], eax
mov eax, dword [esi]
mov byte [eax + 0x80], 1
mov eax, ebx
xor al, 1
test al, al
je 0x446d80
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x58]
call fcn.0042dd0c
and al, byte [ebp - 0x5f]
je 0x446d36
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
mov edx, dword [esi]
mov dword [edx + 0x54], eax
jmp 0x446d80
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x50]
call fcn.0042dd0c
and al, byte [ebp - 0x5e]
je 0x446d56
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
mov edx, dword [esi]
mov dword [edx + 0x54], eax
jmp 0x446d80
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x48]
and al, byte [ebp - 0x5d]
je 0x446d80
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
je 0x446d80
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
mov edx, dword [esi]
mov dword [edx + 0x54], eax
mov eax, dword [esi]
cmp dword [eax + 0x54], 0
je 0x446dab
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
mov dword [edx + 0x64], eax
push 0
push 0xa
push 0x309
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_SetTimer
mov edx, dword [esi]
mov dword [edx + 0x68], eax
cmp dword [0x55a380], 0
je 0x446dc1
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
mov edx, ebx
call dword [0x55a380]
cmp byte [ebp + 8], 0
je 0x446dce
push 0x10
call sub.user32.dll_MessageBeep
push 1
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x446df7
push 9
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x314]
cmp al, 1
jne 0x446e37
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [0x55ab84]
push eax
mov eax, dword [0x55ab80]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [esi]
push eax
push 0x4426fc
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x368]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446e88
lea eax, [ebp - 0xf4]
mov edx, 0xc
call fcn.00405344
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405344
lea eax, [ebp - 0x14]
call fcn.00407404
ret