Function at 0x446010
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4645fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x12]
xor ebx, ebx
push 1
push eax
lea ecx, [esp + 0xdc]
mov dword [esp + 0x40], ebx
call fcn.0040b049
lea ecx, [esp + 0x13]
push 1
push ecx
lea ecx, [esp + 0x104]
mov dword [esp + 0x2b8], ebx
call fcn.0040b049
or edi, 0xffffffff
mov byte [esp + 0x124], bl
mov byte [esp + 0x125], bl
mov dword [esp + 0x128], edi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x130], edi
mov dword [esp + 0x134], edi
mov dword [esp + 0x138], edi
mov dword [esp + 0x13c], edi
mov edx, dword [0x46660c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x2b0], 1
mov dword [esp + 0x40], 0x466608
mov dword [esp + 0x60], 0x466600
lea esi, [esp + edx + 0x40]
call ebp
mov dword [esi], eax
lea eax, [esp + 0x13]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x2b4], 2
call fcn.00452130
lea ecx, [esp + 0x54]
mov byte [esp + 0x2b0], 3
call fcn.00447f40
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x2b4], 4
call fcn.00447f80
mov esi, dword [esp + 0x2c0]
mov ecx, dword [esp + 0x2bc]
push esi
push ecx
mov byte [esp + 0x2b8], 5
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x4461aa
lea eax, [esp + 0x40]
lea edx, [esp + 0x60]
neg eax
sbb eax, eax
mov byte [esp + 0x2b0], 6
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call ebp
mov dword [esi], eax
lea esi, [esp + 0x40]
neg esi
sbb esi, esi
lea edx, [esp + 0x54]
and esi, edx
mov eax, dword [esi]
push eax
call fcn.0043b3dc
mov eax, dword [esi + 8]
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x44]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00401caf
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x40]
lea eax, [esp + ecx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x2b0], 7
jmp 0x446638
mov eax, dword [esp + 0x2c8]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
je 0x44635b
cmp byte [eax], 0
je 0x44635b
push 0
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0x466608
mov dword [esp + 0xa8], 0x466600
call fcn.00447f50
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2b4], 8
mov byte [esp + 0x8c], al
call fcn.00401caf
lea ecx, [esp + 0x98]
mov byte [esp + 0x2b0], 9
call fcn.00447f40
push 0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x2b4], 0xa
call fcn.00447f80
lea ecx, [esp + 0x84]
mov dword [esp + 0x6c], ecx
lea edx, [esp + 0x84]
mov byte [esp + 0x2b0], 0xc
test edx, edx
je 0x446280
mov edx, dword [esp + 0x2c8]
lea eax, [esp + 0x12]
push 1
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x94]
call fcn.00447bc0
or edi, 0xffffffff
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x84]
mov eax, dword [esp + edx + 0x84]
push eax
call ebx
mov edx, dword [0x4665f8]
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 + 0x50]
mov byte [esp + 0x2bc], 0xd
call fcn.0040c41f
lea eax, [esp + 0x84]
lea ecx, [esp + 0xa4]
neg eax
sbb eax, eax
mov byte [esp + 0x2b0], 0xe
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call ebp
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.0043b3dc
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.00401caf
mov eax, dword [esp + 0x84]
mov byte [esp + 0x2b0], 5
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x84]
lea eax, [esp + ecx + 0x84]
push edx
jmp 0x446446
lea eax, [esp + 0x78]
push 0x30c
push eax
lea ecx, [esp + 0x48]
call fcn.00447730
mov ecx, dword [eax]
mov byte [esp + 0x2b0], 0xf
mov byte [eax + 4], 1
call fcn.0040bc81
mov eax, dword [eax]
mov ecx, dword [esp + 0x2bc]
push 0x30c
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov al, byte [esp + 0x7c]
mov byte [esp + 0x2b0], 5
test al, al
je 0x4463d5
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x1c]
test eax, eax
mov esi, eax
jne 0x4463be
mov esi, 0x47d330
push esi
call fcn.0043bfdf
mov edx, dword [esp + 0x20]
add esp, 4
push eax
push esi
lea ecx, [edx + 4]
call fcn.0040bd68
mov eax, dword [esp + 0x80]
test eax, eax
je 0x446448
call ebp
mov ecx, dword [esp + 0x80]
mov esi, eax
lea eax, [esp + 0x12]
push 1
push eax
push ecx
lea ecx, [esp + 0x14c]
call fcn.004474f0
mov ecx, dword [0x4665f8]
lea eax, [esp + 0x140]
neg eax
sbb eax, eax
lea edx, [esp + 0x144]
and eax, edx
mov edx, dword [esp + 0x78]
push ecx
push 0
push eax
lea ecx, [edx + 4]
mov byte [esp + 0x2bc], 0x10
call fcn.0040c41f
lea ecx, [esp + 0x140]
mov byte [esp + 0x2b0], 5
call fcn.00405fcc
push esi
call ebx
lea ecx, [esp + 0x40]
call fcn.00447d30
mov esi, eax
lea eax, [esp + 0x12]
push 1
push eax
lea ecx, [esp + 0x1e8]
call fcn.0040b049
lea ecx, [esp + 0x3f]
push 1
push ecx
lea ecx, [esp + 0x210]
mov byte [esp + 0x2b8], 0x11
call fcn.0040b049
lea edx, [esp + 0x36]
push 1
push edx
lea ecx, [esp + 0x260]
mov byte [esp + 0x2b8], 0x12
call fcn.0040b049
lea eax, [esp + 0x37]
push 1
push eax
lea ecx, [esp + 0x238]
mov byte [esp + 0x2b8], 0x13
call fcn.0040b049
lea ecx, [esp + 0x33]
push 1
push ecx
lea ecx, [esp + 0x198]
mov byte [esp + 0x2b8], 0x14
call fcn.0040b049
lea edx, [esp + 0x32]
push 1
xor eax, eax
push edx
push esi
lea ecx, [esp + 0x174]
mov byte [esp + 0x2bc], 0x15
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
call fcn.004474f0
push 0
lea ecx, [esp + 0x170]
mov byte [esp + 0x2b4], 0x16
call fcn.00447e10
cmp word [eax], 0x40
jne 0x446524
push 1
push 0
lea ecx, [esp + 0x174]
call fcn.0040c870
lea eax, [esp + 0x190]
push 0x4675b4
lea ecx, [esp + 0x16c]
push eax
push ecx
call fcn.00447050
mov esi, eax
mov eax, dword [esp + 0x1a8]
add esp, 0xc
test eax, eax
jne 0x44665e
lea ecx, [esp + 0x168]
mov byte [esp + 0x2b0], 0x15
call fcn.00405fcc
lea ecx, [esp + 0x190]
mov byte [esp + 0x2b0], 0x14
call fcn.00405fcc
lea ecx, [esp + 0x230]
mov byte [esp + 0x2b0], 0x13
call fcn.00405fcc
lea ecx, [esp + 0x258]
mov byte [esp + 0x2b0], 0x12
call fcn.00405fcc
lea ecx, [esp + 0x208]
mov byte [esp + 0x2b0], 0x11
call fcn.00405fcc
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x2b0], 5
call fcn.00405fcc
lea eax, [esp + 0x40]
lea edx, [esp + 0x60]
neg eax
sbb eax, eax
mov byte [esp + 0x2b0], 0x1c
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call ebp
lea ecx, [esp + 0x40]
lea edx, [esp + 0x54]
neg ecx
sbb ecx, ecx
mov dword [esi], eax
and ecx, edx
call fcn.0042ff47
lea ecx, [esp + 0x40]
lea eax, [esp + 0x44]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
mov byte [esp + 0x2b4], 0x1b
call fcn.00401caf
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x40]
mov eax, dword [esp + edx + 0x40]
push eax
call ebx
mov dword [esp + 0x2b0], 0x1d
lea ecx, [esp + 0xfc]
call fcn.00405fcc
lea ecx, [esp + 0xd4]
mov dword [esp + 0x2b0], edi
call fcn.00405fcc
xor eax, eax
jmp 0x447030
lea edx, [esp + 0x35]
push 1
push edx
lea ecx, [esp + 0x148]
call fcn.0040b049
lea eax, [esp + 0x34]
push 1
push eax
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x2b8], 0x17
call fcn.0040b049
mov eax, dword [esp + 0x198]
mov bl, 0x18
test eax, eax
mov byte [esp + 0x2b0], bl
jne 0x4466a5
mov eax, 0x4665fc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
push 0x47cec4
push eax
call fcn.0045cda6
add esp, 0x10
test eax, eax
je 0x4467b7
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4466df
lea ecx, [esp + 0x78]
push 0xa
push ecx
push eax
call fcn.00440077
add esp, 0xc
jmp 0x4466e4
mov eax, 0x47d334
lea edx, [esp + 0x1b]
push 1
push edx
push eax
lea ecx, [esp + 0x28c]
call fcn.004474f0
mov edx, dword [0x4665f8]
lea eax, [esp + 0x280]
neg eax
sbb eax, eax
lea ecx, [esp + 0x284]
and eax, ecx
push edx
push 0
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x2bc], 0x19
call fcn.0040c41f
lea ecx, [esp + 0x280]
mov byte [esp + 0x2b0], bl
call fcn.00405fcc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x446757
lea ecx, [esp + 0x78]
push 0xa
push ecx
push eax
call fcn.00440077
add esp, 0xc
jmp 0x44675c
mov eax, 0x47d334
lea edx, [esp + 0x1a]
push 1
push edx
push eax
lea ecx, [esp + 0x90]
call fcn.004474f0
mov edx, dword [0x4665f8]
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 + 0x10c]
mov byte [esp + 0x2bc], 0x1a
call fcn.0040c41f
lea ecx, [esp + 0x84]
mov byte [esp + 0x2b0], bl
call fcn.00405fcc
jmp 0x4467ee
lea eax, [esp + 0xd4]
push 0x47cec0
lea ecx, [esp + 0x194]
push eax
push ecx
call fcn.00447050
lea edx, [esp + 0x108]
push 0x47cec0
lea eax, [esp + 0x1a0]
push edx
push eax
call fcn.00447050
add esp, 0x18
cmp esi, dword [0x4665f8]
je 0x4469ac
lea ecx, [esp + 0x258]
push 0x4675b4
lea edx, [esp + 0x16c]
push ecx
push edx
call fcn.00447050
add esp, 0xc
lea ecx, [esp + 0x25c]
mov esi, eax
push 0
call fcn.00447e10
cmp word [eax], 0x31
sete al
mov byte [esp + 0x124], al
mov eax, dword [0x4665f8]
cmp esi, eax
je 0x4469ac
lea ecx, [esp + 0x230]
push 0x4675b4
lea edx, [esp + 0x16c]
push ecx
push edx
call fcn.00447050
add esp, 0xc
lea ecx, [esp + 0x234]
mov esi, eax
push 0
call fcn.00447e10
cmp word [eax], 0x31
sete al
mov byte [esp + 0x125], al
mov eax, dword [0x4665f8]
cmp esi, eax
je 0x4469ac
lea ecx, [esp + 0x1e0]
push 0x4675b4
lea edx, [esp + 0x16c]
push ecx
push edx
call fcn.00447050
mov esi, eax
mov eax, dword [esp + 0x1f8]
add esp, 0xc
test eax, eax
je 0x446919
mov eax, dword [esp + 0x1e8]
test eax, eax
jne 0x4468c4
mov eax, 0x4665fc
lea ecx, [esp + 0xc0]
lea edx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0xc8]
push edx
push ecx
push str._d__d__d
push eax
call fcn.0045cda6
add esp, 0x14
cmp eax, 3
jne 0x446919
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], ecx
cmp esi, dword [0x4665f8]
je 0x4469ac
lea edx, [esp + 0x208]
push 0x4675b4
lea eax, [esp + 0x16c]
push edx
push eax
call fcn.00447050
mov eax, dword [esp + 0x220]
add esp, 0xc
test eax, eax
je 0x4469ac
mov eax, dword [esp + 0x210]
test eax, eax
jne 0x44695d
mov eax, 0x4665fc
lea ecx, [esp + 0x6c]
lea edx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0xcc]
push edx
push ecx
push str._d__d__d
push eax
call fcn.0045cda6
add esp, 0x14
cmp eax, 3
jne 0x4469ac
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x2b0], 0x17
call fcn.00405fcc
lea ecx, [esp + 0x140]
mov byte [esp + 0x2b0], 0x16
call fcn.00405fcc
lea ecx, [esp + 0x168]
mov byte [esp + 0x2b0], 0x15
call fcn.00405fcc
lea ecx, [esp + 0x190]
mov byte [esp + 0x2b0], 0x14
call fcn.00405fcc
lea ecx, [esp + 0x230]
mov byte [esp + 0x2b0], 0x13
call fcn.00405fcc
lea ecx, [esp + 0x258]
mov byte [esp + 0x2b0], 0x12
call fcn.00405fcc
lea ecx, [esp + 0x208]
mov byte [esp + 0x2b0], 0x11
call fcn.00405fcc
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x2b0], 5
call fcn.00405fcc
push 0
lea ecx, [esp + 0x104]
call fcn.00447e10
cmp word [eax], 0x30
jb 0x446a74
push 0
lea ecx, [esp + 0x104]
call fcn.00447e10
cmp word [eax], 0x39
jbe 0x446aa4
push 0
lea ecx, [esp + 0xdc]
call fcn.00447e10
cmp word [eax], 0x30
jb 0x446bb8
push 0
lea ecx, [esp + 0xdc]
call fcn.00447e10
cmp word [eax], 0x39
ja 0x446bb8
mov ecx, dword [esp + 0x2bc]
push ecx
call fcn.0045a8b0
add esp, 4
test eax, eax
je 0x446ad3
push 0
lea ecx, [esp + 0x104]
call fcn.00447e10
cmp word [eax], 0
lea ecx, [esp + 0xfc]
jne 0x446ada
lea ecx, [esp + 0xd4]
call fcn.00447d30
push eax
call fcn.0043ceda
mov esi, eax
mov al, byte [esp + 0x2c8]
add esp, 4
test al, al
jne 0x446b36
push 0xc
push 0
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x10
jg 0x446b36
push 0
lea ecx, [esp + 0xdc]
call fcn.00447e10
cmp word [eax], 0
je 0x446b36
lea ecx, [esp + 0xd4]
call fcn.00447d30
push eax
call fcn.0043ceda
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x2d0]
and eax, 0xff
shl eax, 8
and ecx, 0xff
push edx
mov edx, dword [esp + 0x138]
or eax, ecx
shl eax, 8
and edx, 0xff
push 0
or eax, edx
mov ecx, dword [esp + 0x2dc]
push eax
mov al, byte [esp + 0x130]
mov edx, dword [esp + 0x20]
neg al
sbb eax, eax
push eax
mov eax, dword [esp + 0x2cc]
push esi
mov esi, dword [esp + 0x2cc]
push 0x47d330
push ecx
push 2
push edx
push eax
mov ecx, esi
call fcn.00445a80
mov edi, dword [esp + 0x2bc]
mov ebp, dword [esp + 0x14]
jmp 0x446d3e
mov ecx, dword [esp + 0x2bc]
push ecx
call fcn.0045a8b0
add esp, 4
test eax, eax
je 0x446c34
push 0
lea ecx, [esp + 0x104]
call fcn.00447e10
cmp word [eax], 0
je 0x446c34
mov eax, dword [esp + 0x104]
test eax, eax
jne 0x446bf0
mov eax, 0x4665fc
lea edx, [esp + 0x1a]
push 0
push edx
push eax
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x1c4], 0x4665b8
mov dword [esp + 0x1e4], 0x4665b0
call fcn.00401b55
mov ebx, 1
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x1b8]
mov byte [esp + 0x2b0], 0x1e
jmp 0x446c89
mov eax, dword [esp + 0xdc]
test eax, eax
jne 0x446c44
mov eax, 0x4665fc
lea ecx, [esp + 0x1b]
push 0
push ecx
push eax
lea ecx, [esp + 0x14c]
mov dword [esp + 0x14c], 0x4665b8
mov dword [esp + 0x16c], 0x4665b0
call fcn.00401b55
mov ebx, 2
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x140]
mov dword [esp + 0x2b0], 0x1f
mov eax, dword [eax + 8]
test eax, eax
jne 0x446c95
mov eax, 0x466588
mov edx, dword [esp + 0x2d0]
mov ecx, dword [esp + 0x13c]
push edx
mov edx, dword [esp + 0x13c]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x138]
shl ecx, 8
and edx, 0xff
push 0
or ecx, edx
mov ebp, dword [esp + 0x1c]
push ecx
mov cl, byte [esp + 0x130]
neg cl
mov edi, dword [esp + 0x2c8]
mov esi, dword [esp + 0x2c4]
sbb ecx, ecx
push ecx
push 0
push eax
push 0
push 2
push ebp
push edi
mov ecx, esi
call fcn.00445a80
test bl, 2
mov dword [esp + 0x2b0], 0x1e
je 0x446d22
and ebx, 0xfffffffd
lea ecx, [esp + 0x140]
mov dword [esp + 0x38], ebx
call fcn.00401257
test bl, 1
mov dword [esp + 0x2b0], 5
je 0x446d3e
lea ecx, [esp + 0x1b8]
call fcn.00401257
push 0x47d330
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
mov ecx, esi
call fcn.00445dd0
lea edx, [esp + 0xb0]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb8]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xbc]
push ecx
push edi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call ebx
lea edx, [esp + 0x70]
push edx
push edi
call ebx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00445d70
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.00445d40
mov al, byte [esp + 0x2c4]
test al, al
je 0x446e79
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov edi, eax
sub ebx, ecx
mov ecx, dword [esp + 0x2c]
sub edi, edx
cmp ecx, edi
jg 0x446dee
sub eax, ecx
push eax
jmp 0x446def
push edx
mov ecx, esi
call fcn.00445cc0
mov ecx, dword [esp + 0x68]
cmp ecx, ebx
jg 0x446e14
mov eax, dword [esp + 0x74]
sub eax, ecx
mov ecx, dword [esp + 0x28]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
jmp 0x446e19
mov edx, dword [esp + 0x28]
push edx
mov ecx, esi
call fcn.00445d00
mov eax, dword [esi + 8]
mov dword [eax + 0x3c], 0x4000
mov eax, dword [esp + 0x68]
cmp eax, ebx
jg 0x446e34
mov ebx, eax
push ebx
mov ecx, esi
call fcn.00445e60
mov eax, dword [esp + 0x2c]
cmp eax, edi
jle 0x446e46
mov eax, edi
push eax
mov ecx, esi
call fcn.00445e20
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.00445ea0
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x446f89
mov edi, dword [esp + 0xb8]
mov ebp, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov dl, byte [esp + 0x125]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub edi, ebp
mov ebp, dword [esp + 0xbc]
sub ebp, ebx
mov dword [esp + 0x1c], eax
test dl, dl
mov dword [esp + 0x20], ecx
je 0x446f18
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
inc eax
inc ecx
push 0xfffffffffffffff0
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 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_SetWindowLongW]
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_SetWindowLongW]
push 0x27
push 0
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edx
call fcn.00445cc0
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.00445d00
push ebp
mov ecx, esi
call fcn.00445e60
push edi
mov ecx, esi
call fcn.00445e20
push 0x4000
mov ecx, esi
call fcn.00445ea0
mov eax, dword [esp + 0x128]
cmp eax, 0xffffffff
je 0x446f89
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x12c]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
or ecx, edx
and eax, 0xff
shl ecx, 8
or ecx, eax
push ecx
mov ecx, esi
call fcn.00445da0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00445dd0
lea eax, [esp + 0x40]
lea ecx, [esp + 0x60]
neg eax
sbb eax, eax
mov byte [esp + 0x2b0], 0x21
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x40]
mov dword [esi], eax
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x54]
and ecx, eax
call fcn.0042ff47
lea ecx, [esp + 0x40]
lea edx, [esp + 0x44]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
mov byte [esp + 0x2b4], 0x20
call fcn.00401caf
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x40]
lea eax, [esp + ecx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0xfc]
mov dword [esp + 0x2b0], 0x22
call fcn.00405fcc
lea ecx, [esp + 0xd4]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.00405fcc
mov eax, 1
mov ecx, dword [esp + 0x2a8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a4
ret