Function at 0x4460c0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4651ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x12]
xor edi, edi
push 1
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x30], edi
call fcn.0040b222
lea ecx, [esp + 0x13]
push 1
push ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0x2b4], edi
call fcn.0040b222
or eax, 0xffffffff
mov byte [esp + 0x120], 0
mov byte [esp + 0x121], 0
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], eax
mov edx, dword [0x4675cc]
mov ebp, 0x4675c8
mov ebx, 0x4675c0
mov dword [esp + 0x2ac], 1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x5c], ebx
lea esi, [esp + edx + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea eax, [esp + 0x13]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x2b0], 2
call fcn.00447aa0
lea ecx, [esp + 0x50]
mov byte [esp + 0x2ac], 3
call fcn.00447ce0
push edi
lea ecx, [esp + 0x60]
mov byte [esp + 0x2b0], 4
call fcn.00447d20
mov edi, dword [esp + 0x2bc]
mov ecx, dword [esp + 0x2b8]
push edi
push ecx
mov byte [esp + 0x2b4], 5
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x446289
lea eax, [esp + 0x3c]
lea edx, [esp + 0x5c]
neg eax
sbb eax, eax
mov byte [esp + 0x2ac], 6
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x3c]
neg esi
sbb esi, esi
lea edx, [esp + 0x50]
and esi, edx
mov eax, dword [esi]
push eax
call fcn.0043abc6
mov eax, dword [esi + 8]
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.0040b5a4
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x3c]
lea eax, [esp + ecx + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0xf8]
mov dword [esp + 0x2ac], 7
call fcn.00406295
lea ecx, [esp + 0xd0]
mov dword [esp + 0x2ac], 0xffffffff
call fcn.00406295
xor eax, eax
jmp 0x4470ca
mov esi, dword [esp + 0x2c4]
test esi, esi
je 0x446435
cmp byte [esi], 0
je 0x446435
push 0
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], ebp
mov dword [esp + 0xa8], ebx
call fcn.00447cf0
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2b0], 8
mov byte [esp + 0x8c], al
call fcn.0040b5a4
lea ecx, [esp + 0x98]
mov byte [esp + 0x2ac], 9
call fcn.00447ce0
push 0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x2b0], 0xa
call fcn.00447d20
lea ecx, [esp + 0x84]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x84]
mov byte [esp + 0x2ac], 0xc
test edx, edx
je 0x446347
lea eax, [esp + 0x12]
push 1
push eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x94]
call fcn.00426183
mov ecx, dword [esp + 0x84]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x84]
mov eax, dword [esp + edx + 0x84]
push eax
call edi
mov edx, dword [0x4675b8]
lea eax, [esp + 0x84]
neg eax
sbb eax, eax
lea ecx, [esp + 0x88]
and eax, ecx
push edx
push 0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2b8], 0xd
call fcn.0040c556
lea eax, [esp + 0x84]
lea ecx, [esp + 0xa4]
neg eax
sbb eax, eax
mov byte [esp + 0x2ac], 0xe
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x84]
neg esi
sbb esi, esi
lea eax, [esp + 0x98]
and esi, eax
mov eax, dword [esi]
push eax
call fcn.0043abc6
mov ecx, dword [esi + 8]
add esp, 4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x84]
lea edx, [esp + 0x88]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.0040b5a4
mov eax, dword [esp + 0x84]
mov byte [esp + 0x2ac], 5
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x84]
lea eax, [esp + ecx + 0x84]
push edx
call edi
mov edi, dword [esp + 0x2b8]
jmp 0x446526
lea eax, [esp + 0x78]
push 0x30c
push eax
lea ecx, [esp + 0x44]
call fcn.00447610
mov esi, eax
mov ecx, dword [esi]
mov byte [esp + 0x2ac], 0xf
call fcn.00447a20
push 0x30c
push eax
push edi
mov edi, dword [esp + 0x2c4]
push edi
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov al, byte [esp + 0x7c]
mov byte [esp + 0x2ac], 5
test al, al
je 0x4464a8
mov ecx, dword [esp + 0x78]
mov ebx, ecx
mov eax, dword [ecx + 0x1c]
test eax, eax
mov esi, eax
jne 0x446495
mov esi, 0x47d770
push esi
call fcn.0043b8b2
add esp, 4
lea ecx, [ebx + 4]
push eax
push esi
call fcn.0040bf36
mov eax, dword [esp + 0x80]
test eax, eax
je 0x446526
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x12]
push 1
push ecx
push edx
lea ecx, [esp + 0x148]
mov esi, eax
call fcn.0042597a
mov edx, dword [0x4675b8]
lea eax, [esp + 0x13c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x140]
and eax, ecx
push edx
push 0
push eax
mov eax, dword [esp + 0x84]
mov byte [esp + 0x2b8], 0x10
lea ecx, [eax + 4]
call fcn.0040c556
lea ecx, [esp + 0x13c]
mov byte [esp + 0x2ac], 5
call fcn.00406295
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0x3c]
call fcn.00447a20
lea ecx, [esp + 0x12]
push 1
push ecx
lea ecx, [esp + 0x20c]
mov esi, eax
call fcn.0040b222
lea edx, [esp + 0x31]
push 1
push edx
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x2b4], 0x11
call fcn.0040b222
lea eax, [esp + 0x39]
push 1
push eax
lea ecx, [esp + 0x25c]
mov byte [esp + 0x2b4], 0x12
call fcn.0040b222
lea ecx, [esp + 0x33]
push 1
push ecx
lea ecx, [esp + 0x234]
mov byte [esp + 0x2b4], 0x13
call fcn.0040b222
lea edx, [esp + 0x32]
push 1
push edx
lea ecx, [esp + 0x194]
mov byte [esp + 0x2b4], 0x14
call fcn.0040b222
lea eax, [esp + 0x3a]
push 1
xor ebp, ebp
push eax
push esi
lea ecx, [esp + 0x170]
mov byte [esp + 0x2b8], 0x15
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebp
call fcn.0042597a
push ebp
lea ecx, [esp + 0x16c]
mov byte [esp + 0x2b0], 0x16
call fcn.00447b40
cmp word [eax], 0x40
jne 0x446603
push 1
push ebp
lea ecx, [esp + 0x170]
call fcn.0040ca2f
lea ecx, [esp + 0x18c]
push 0x479244
lea edx, [esp + 0x168]
push ecx
push edx
call fcn.004470f0
mov esi, eax
mov eax, dword [esp + 0x1a4]
add esp, 0xc
cmp eax, ebp
jne 0x446749
lea ecx, [esp + 0x164]
mov byte [esp + 0x2ac], 0x15
call fcn.00406295
lea ecx, [esp + 0x18c]
mov byte [esp + 0x2ac], 0x14
call fcn.00406295
lea ecx, [esp + 0x22c]
mov byte [esp + 0x2ac], 0x13
call fcn.00406295
lea ecx, [esp + 0x254]
mov byte [esp + 0x2ac], 0x12
call fcn.00406295
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x2ac], 0x11
call fcn.00406295
lea ecx, [esp + 0x204]
mov byte [esp + 0x2ac], 5
call fcn.00406295
lea eax, [esp + 0x3c]
lea edx, [esp + 0x5c]
neg eax
sbb eax, eax
mov byte [esp + 0x2ac], 0x1c
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x50]
neg ecx
sbb ecx, ecx
mov dword [esi], eax
and ecx, edx
call fcn.00405562
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x40]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
mov byte [esp + 0x2b0], 0x1b
call fcn.0040b5a4
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x3c]
mov eax, dword [esp + edx + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0xf8]
mov dword [esp + 0x2ac], 0x1d
call fcn.00406295
lea ecx, [esp + 0xd0]
mov dword [esp + 0x2ac], 0xffffffff
call fcn.00406295
xor eax, eax
jmp 0x4470ca
lea eax, [esp + 0x3b]
push 1
push eax
lea ecx, [esp + 0x144]
call fcn.0040b222
lea ecx, [esp + 0x30]
push 1
push ecx
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x2b4], 0x17
call fcn.0040b222
lea edx, [esp + 0x70]
lea eax, [esp + 0x74]
push edx
mov bl, 0x18
push eax
push 0x47d378
lea ecx, [esp + 0x198]
mov byte [esp + 0x2b8], bl
call fcn.00447a20
push eax
call fcn.0045da26
add esp, 0x10
cmp eax, ebp
je 0x44689c
mov eax, dword [esp + 0x74]
cmp eax, ebp
je 0x4467c6
lea ecx, [esp + 0x78]
push 0xa
push ecx
push eax
call fcn.0044014d
add esp, 0xc
jmp 0x4467cb
mov eax, 0x47d774
lea edx, [esp + 0x1b]
push 1
push edx
push eax
lea ecx, [esp + 0x288]
call fcn.0042597a
mov edx, dword [0x4675b8]
lea eax, [esp + 0x27c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x280]
and eax, ecx
push edx
push ebp
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x2b8], 0x19
call fcn.0040c556
lea ecx, [esp + 0x27c]
mov byte [esp + 0x2ac], bl
call fcn.00406295
mov eax, dword [esp + 0x70]
cmp eax, ebp
je 0x44683d
lea ecx, [esp + 0x78]
push 0xa
push ecx
push eax
call fcn.0044014d
add esp, 0xc
jmp 0x446842
mov eax, 0x47d774
lea edx, [esp + 0x1a]
push 1
push edx
push eax
lea ecx, [esp + 0x90]
call fcn.0042597a
mov edx, dword [0x4675b8]
lea eax, [esp + 0x84]
neg eax
sbb eax, eax
lea ecx, [esp + 0x88]
and eax, ecx
push edx
push ebp
push eax
lea ecx, [esp + 0x108]
mov byte [esp + 0x2b8], 0x1a
call fcn.0040c556
lea ecx, [esp + 0x84]
mov byte [esp + 0x2ac], bl
call fcn.00406295
jmp 0x4468d3
lea eax, [esp + 0xd0]
push 0x47d374
lea ecx, [esp + 0x190]
push eax
push ecx
call fcn.004470f0
lea edx, [esp + 0x104]
push 0x47d374
lea eax, [esp + 0x19c]
push edx
push eax
call fcn.004470f0
add esp, 0x18
cmp esi, dword [0x4675b8]
je 0x446a7d
lea ecx, [esp + 0x254]
push 0x479244
lea edx, [esp + 0x168]
push ecx
push edx
call fcn.004470f0
add esp, 0xc
lea ecx, [esp + 0x258]
mov esi, eax
push ebp
call fcn.00447b40
cmp word [eax], 0x31
sete al
mov byte [esp + 0x120], al
mov eax, dword [0x4675b8]
cmp esi, eax
je 0x446a7d
lea ecx, [esp + 0x22c]
push 0x479244
lea edx, [esp + 0x168]
push ecx
push edx
call fcn.004470f0
add esp, 0xc
lea ecx, [esp + 0x230]
mov esi, eax
push ebp
call fcn.00447b40
cmp word [eax], 0x31
sete al
mov byte [esp + 0x121], al
mov eax, dword [0x4675b8]
cmp esi, eax
je 0x446a7d
lea ecx, [esp + 0x204]
push 0x479244
lea edx, [esp + 0x168]
push ecx
push edx
call fcn.004470f0
mov esi, eax
mov eax, dword [esp + 0x21c]
add esp, 0xc
cmp eax, ebp
je 0x4469f8
lea eax, [esp + 0xc0]
lea ecx, [esp + 0xc4]
push eax
lea edx, [esp + 0xd0]
push ecx
push edx
push 0x47d368
lea ecx, [esp + 0x214]
call fcn.00447a20
push eax
call fcn.0045da26
add esp, 0x14
cmp eax, 3
jne 0x4469f8
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], edx
cmp esi, dword [0x4675b8]
je 0x446a7d
lea eax, [esp + 0x1dc]
push 0x479244
lea ecx, [esp + 0x168]
push eax
push ecx
call fcn.004470f0
mov eax, dword [esp + 0x1f4]
add esp, 0xc
cmp eax, ebp
je 0x446a7d
lea edx, [esp + 0x1c]
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0xcc]
push eax
push ecx
push 0x47d368
lea ecx, [esp + 0x1ec]
call fcn.00447a20
push eax
call fcn.0045da26
add esp, 0x14
cmp eax, 3
jne 0x446a7d
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x130], edx
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x2ac], 0x17
call fcn.00406295
lea ecx, [esp + 0x13c]
mov byte [esp + 0x2ac], 0x16
call fcn.00406295
lea ecx, [esp + 0x164]
mov byte [esp + 0x2ac], 0x15
call fcn.00406295
lea ecx, [esp + 0x18c]
mov byte [esp + 0x2ac], 0x14
call fcn.00406295
lea ecx, [esp + 0x22c]
mov byte [esp + 0x2ac], 0x13
call fcn.00406295
lea ecx, [esp + 0x254]
mov byte [esp + 0x2ac], 0x12
call fcn.00406295
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x2ac], 0x11
call fcn.00406295
lea ecx, [esp + 0x204]
mov byte [esp + 0x2ac], 5
call fcn.00406295
push ebp
lea ecx, [esp + 0x100]
call fcn.00447b40
cmp word [eax], 0x30
jb 0x446b43
push ebp
lea ecx, [esp + 0x100]
call fcn.00447b40
cmp word [eax], 0x39
jbe 0x446b71
push ebp
lea ecx, [esp + 0xd8]
call fcn.00447b40
cmp word [eax], 0x30
jb 0x446c66
push ebp
lea ecx, [esp + 0xd8]
call fcn.00447b40
cmp word [eax], 0x39
ja 0x446c66
push edi
call fcn.0045b460
add esp, 4
test eax, eax
je 0x446b97
push ebp
lea ecx, [esp + 0x100]
call fcn.00447b40
cmp word [eax], bp
lea ecx, [esp + 0xf8]
jne 0x446b9e
lea ecx, [esp + 0xd0]
call fcn.00447a20
push eax
call fcn.0043c47f
mov esi, eax
mov al, byte [esp + 0x2c4]
add esp, 4
test al, al
jne 0x446bf7
push 0xc
push ebp
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x10
jg 0x446bf7
push ebp
lea ecx, [esp + 0xd8]
call fcn.00447b40
cmp word [eax], bp
je 0x446bf7
lea ecx, [esp + 0xd0]
call fcn.00447a20
push eax
call fcn.0043c47f
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x2cc]
and edx, 0xff
shl edx, 8
and eax, 0xff
push ecx
mov ecx, dword [esp + 0x134]
or edx, eax
shl edx, 8
and ecx, 0xff
push ebp
or edx, ecx
mov eax, dword [esp + 0x2d8]
push edx
mov dl, byte [esp + 0x12c]
mov ebp, dword [esp + 0x20]
neg dl
sbb edx, edx
push edx
push esi
mov esi, dword [esp + 0x2c8]
push 0x47d774
push eax
push 2
push ebp
push edi
mov ecx, esi
call fcn.00445b30
jmp 0x446dd7
push edi
call fcn.0045b460
add esp, 4
test eax, eax
je 0x446cd8
push ebp
lea ecx, [esp + 0x100]
call fcn.00447b40
cmp word [eax], bp
je 0x446cd8
mov eax, dword [esp + 0x100]
cmp eax, ebp
jne 0x446c95
mov eax, 0x4675bc
lea ecx, [esp + 0x1a]
push ebp
push ecx
push eax
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x1c0], 0x467578
mov dword [esp + 0x1e0], 0x467570
call fcn.00401ba8
mov ebx, 1
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x2ac], 0x1e
jmp 0x446d2c
mov eax, dword [esp + 0xd8]
cmp eax, ebp
jne 0x446ce8
mov eax, 0x4675bc
lea edx, [esp + 0x1b]
push ebp
push edx
push eax
lea ecx, [esp + 0x148]
mov dword [esp + 0x148], 0x467578
mov dword [esp + 0x168], 0x467570
call fcn.00401ba8
mov ebx, 2
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x13c]
mov dword [esp + 0x2ac], 0x1f
call fcn.00405854
mov ecx, dword [esp + 0x2cc]
mov edx, dword [esp + 0x138]
push ecx
mov ecx, dword [esp + 0x138]
and edx, 0xff
and ecx, 0xff
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x134]
shl edx, 8
and ecx, 0xff
push 0
or edx, ecx
mov esi, dword [esp + 0x2bc]
push edx
mov dl, byte [esp + 0x12c]
neg dl
sbb edx, edx
mov ecx, esi
push edx
push 0
push eax
mov eax, dword [esp + 0x2c]
push 0
push 2
push eax
push edi
call fcn.00445b30
test bl, 2
mov dword [esp + 0x2ac], 0x1e
je 0x446db7
and ebx, 0xfffffffd
lea ecx, [esp + 0x13c]
mov dword [esp + 0x28], ebx
call fcn.00401279
test bl, 1
mov dword [esp + 0x2ac], 5
je 0x446dd3
lea ecx, [esp + 0x1b4]
call fcn.00401279
mov ebp, dword [esp + 0x14]
push 0x47d774
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
mov ecx, esi
call fcn.00445e80
lea ecx, [esp + 0xb0]
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xbc]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
call edi
mov edx, dword [esp + 0x2b8]
lea ecx, [esp + 0x68]
push ecx
push edx
call edi
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00445e20
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.00445df0
mov al, byte [esp + 0x2c0]
test al, al
je 0x446f19
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov edi, eax
sub ebx, ecx
mov ecx, dword [esp + 0x2c]
sub edi, edx
cmp ecx, edi
jg 0x446e8e
sub eax, ecx
push eax
jmp 0x446e8f
push edx
mov ecx, esi
call fcn.00445d70
mov ecx, dword [esp + 0x64]
cmp ecx, ebx
jg 0x446eb4
mov eax, dword [esp + 0x6c]
sub eax, ecx
mov ecx, dword [esp + 0x24]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
jmp 0x446eb9
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.00445db0
mov eax, dword [esi + 8]
mov dword [eax + 0x3c], 0x4000
mov eax, dword [esp + 0x64]
cmp eax, ebx
jg 0x446ed4
mov ebx, eax
push ebx
mov ecx, esi
call fcn.00445f10
mov eax, dword [esp + 0x2c]
cmp eax, edi
jle 0x446ee6
mov eax, edi
push eax
mov ecx, esi
call fcn.00445ed0
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp edx, edi
setg cl
dec ecx
and ecx, 0x3ffc
add ecx, 4
push ecx
mov ecx, esi
call fcn.00445f50
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x447023
mov edi, dword [esp + 0xb8]
mov ebp, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
sub edi, ebp
mov ebp, dword [esp + 0xbc]
mov ebx, ecx
sub ebp, edx
mov dl, byte [esp + 0x121]
test dl, dl
je 0x446fba
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
inc eax
inc ecx
push 0xfffffffffffffff0
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
sub edi, 2
sub ebp, 2
call ebx
xor eax, 3
or eax, 0x100c
push eax
mov eax, dword [esp + 0x18]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffec
push ecx
call ebx
mov ebx, dword [esp + 0x14]
or eax, 0x20000
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x27
push 0
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.00445d70
push ebx
mov ecx, esi
call fcn.00445db0
push ebp
mov ecx, esi
call fcn.00445f10
push edi
mov ecx, esi
call fcn.00445ed0
push 0x4000
mov ecx, esi
call fcn.00445f50
mov eax, dword [esp + 0x124]
cmp eax, 0xffffffff
je 0x447023
mov edx, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
and edx, 0xff
and ecx, 0xff
shl edx, 8
or edx, ecx
and eax, 0xff
shl edx, 8
or edx, eax
mov ecx, esi
push edx
call fcn.00445e50
push 0xffffffffffffffff
mov ecx, esi
call fcn.00445e80
lea eax, [esp + 0x3c]
lea edx, [esp + 0x5c]
neg eax
sbb eax, eax
mov byte [esp + 0x2ac], 0x21
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x50]
neg ecx
sbb ecx, ecx
mov dword [esi], eax
and ecx, edx
call fcn.00405562
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x40]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
mov byte [esp + 0x2b0], 0x20
call fcn.0040b5a4
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x3c]
mov eax, dword [esp + edx + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0xf8]
mov dword [esp + 0x2ac], 0x22
call fcn.00406295
lea ecx, [esp + 0xd0]
mov dword [esp + 0x2ac], 0xffffffff
call fcn.00406295
mov eax, 1
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a0
ret