Function at 0x4429c7
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
push esi
push 0x4a5e00
call fcn.00435cba
mov ecx, dword [0x4a5e60]
mov edx, dword [ecx + eax*4]
mov edi, dword [edx]
cmp dword [edi + 0x190], 0
mov eax, dword [edi + 0x44]
mov ebp, dword [edi + 0x48]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebp
je 0x442a15
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub ebp, eax
mov dword [esp + 0x28], ebp
cmp dword [esp + 0x2c], 0
jle 0x442cf8
test ebp, ebp
jle 0x442cf8
cmp dword [esp + 0x30], 0
jle 0x442cf8
cmp dword [esp + 0x34], 0
jle 0x442cf8
cmp ebx, 1
je 0x442cf8
mov eax, 3
cmp dword [0x4a5e84], eax
mov dword [esp + 0x20], eax
jl 0x442c93
jmp 0x442a6b
mov ebp, dword [esp + 0x28]
mov ecx, dword [0x4a5e74]
mov edx, dword [ecx + eax*4]
mov esi, dword [edx]
test esi, esi
je 0x442c7e
mov eax, dword [esi + 4]
cmp eax, dword [edi + 4]
jne 0x442c7e
cmp dword [esi], 0
je 0x442c7e
movsx eax, word [esi + 0x80]
imul eax, dword [esp + 0x30]
cdq
idiv dword [esp + 0x2c]
movsx ecx, word [esi + 0x84]
movsx edi, word [esi + 0x86]
mov dword [esp + 0x18], eax
movsx eax, word [esi + 0x82]
imul eax, dword [esp + 0x34]
cdq
idiv ebp
mov ebp, eax
mov eax, ecx
imul eax, dword [esp + 0x30]
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, edi
imul eax, dword [esp + 0x34]
cdq
idiv dword [esp + 0x28]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 0x7e]
test ax, ax
je 0x442c40
test eax, 0x100
je 0x442b55
mov dword [esp + 0x14], ecx
test al, 6
jne 0x442b55
test al, 8
mov eax, dword [esp + 0x30]
je 0x442b21
sub eax, dword [esp + 0x2c]
cdq
sub eax, edx
mov ebx, eax
movsx eax, word [esi + 0x80]
sar ebx, 1
add ebx, eax
jmp 0x442b59
mov ebx, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
cmp ebx, eax
jle 0x442b59
mov ebx, dword [esp + 0x2c]
movsx edx, word [esi + 0x80]
mov eax, ebx
sub eax, edx
sub eax, dword [esp + 0x14]
imul eax, dword [esp + 0x30]
cdq
idiv ebx
mov ebx, dword [esp + 0x30]
sub ebx, eax
sub ebx, dword [esp + 0x14]
jmp 0x442b59
mov ebx, dword [esp + 0x18]
movzx eax, word [esi + 0x7e]
test eax, 0x200
je 0x442bb8
mov dword [esp + 0x10], edi
test al, 0x60
jne 0x442bb8
test al, al
mov eax, dword [esp + 0x34]
jns 0x442b8a
sub eax, dword [esp + 0x28]
cdq
sub eax, edx
mov ebp, eax
movsx eax, word [esi + 0x82]
sar ebp, 1
add ebp, eax
jmp 0x442bb8
cdq
sub eax, edx
sar eax, 1
cmp ebp, eax
jle 0x442bb8
mov ebp, dword [esp + 0x28]
movsx edx, word [esi + 0x82]
mov eax, ebp
sub eax, edx
sub eax, dword [esp + 0x10]
imul eax, dword [esp + 0x34]
cdq
idiv ebp
mov ebp, dword [esp + 0x34]
sub ebp, eax
sub ebp, dword [esp + 0x10]
movzx edx, word [esi + 0x7e]
mov eax, edx
and eax, 2
je 0x442bca
movsx ebx, word [esi + 0x80]
test dl, 4
je 0x442bfd
test ax, ax
movsx eax, word [esi + 0x80]
je 0x442bed
sub ecx, ebx
sub ecx, dword [esp + 0x2c]
add ecx, eax
add ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
jmp 0x442bfd
sub ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x2c]
add ecx, eax
add ecx, dword [esp + 0x30]
mov ebx, ecx
mov eax, edx
and eax, 0x20
je 0x442c0b
movsx ebp, word [esi + 0x82]
test dl, 0x40
je 0x442c44
test ax, ax
movsx eax, word [esi + 0x82]
je 0x442c2e
sub edi, ebp
sub edi, dword [esp + 0x28]
add edi, eax
add edi, dword [esp + 0x34]
mov dword [esp + 0x10], edi
jmp 0x442c44
sub edi, dword [esp + 0x10]
sub edi, dword [esp + 0x28]
add edi, eax
add edi, dword [esp + 0x34]
mov ebp, edi
jmp 0x442c44
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
push 0
push ecx
push edx
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov al, byte [esi + 0x88]
test al, al
jne 0x442cb1
mov eax, dword [esi]
push 0xffff
push 0
push 0x142
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [0x4a5e84]
mov dword [esp + 0x20], eax
jle 0x442a67
mov edx, dword [edi]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [edi + 0x178], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
cmp al, 0x16
jne 0x442c7a
test byte [esi + 0x8a], 0x20
jne 0x442c7a
mov ecx, dword [esi + 0x30]
mov edx, dword [esi]
push 0
push ecx
push 0x469
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esi + 0x8b]
cmp al, 0xff
je 0x442c7a
mov edi, dword [esp + 0x1c]
movzx eax, al
cmp eax, dword [edi + 0x184]
je 0x442c7e
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x442c7e
movzx eax, word [esp + 0x34]
movzx ecx, word [esp + 0x30]
shl eax, 0x10
or eax, ecx
push eax
push ebx
push 5
push esi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10