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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x23c], 0
jne 0x6217ed
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 1
jne 0x6217ed
mov eax, dword [ebx + 0x254]
call fcn.00485c08
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x62146d
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x62146d
mov edi, dword [esi + 8]
cmp dword [edi + 8], 0
jne 0x621202
cmp dword [edi + 0xc], 0
je 0x62146d
mov edi, dword [esi + 8]
mov eax, dword [0x668dcc]
cmp byte [eax], 0
je 0x621250
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x29a], 0
jne 0x621250
cmp dword [ebx + 0x270], 0
jne 0x621250
mov eax, ebx
call fcn.00610244
test al, al
je 0x621250
mov eax, dword [ebx + 0x254]
call fcn.00485c08
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x621250
mov dl, 1
mov eax, ebx
call fcn.0061e6c0
cmp byte [ebx + 0x5a], 0
je 0x6213cc
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x1ea], 0
je 0x6213cc
mov edx, esp
mov eax, dword [ebx + 0x254]
call fcn.006101e4
mov ebp, dword [ebx + 0x270]
test ebp, ebp
je 0x621378
mov eax, ebp
call fcn.0060c208
mov edx, dword [ebx + 0x254]
add eax, dword [edx + 0x48]
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.005ffe64
mov eax, dword [eax + 0xd8]
movsx eax, word [eax + 0x38]
pop edx
add edx, eax
push edx
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0xc]
call fcn.00610128
mov eax, dword [ebx + 0x270]
call fcn.0060c208
mov ebp, eax
mov eax, dword [ebx + 0x254]
add ebp, dword [eax + 0x4c]
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.005ffe64
mov eax, dword [eax + 0xd8]
movsx eax, word [eax + 0x3c]
add ebp, eax
push ebp
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0x10]
call fcn.00610128
mov eax, dword [ebx + 0x270]
call fcn.0060c208
mov ebp, eax
neg ebp
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.005ffe64
mov eax, dword [eax + 0xd8]
movsx eax, word [eax + 0x36]
add ebp, eax
push ebp
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 4]
call fcn.00610128
mov eax, dword [ebx + 0x270]
call fcn.0060c1cc
mov ebp, eax
neg ebp
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.005ffe64
mov eax, dword [eax + 0xd8]
movsx eax, word [eax + 0x3a]
sub ebp, eax
push ebp
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 8]
call fcn.00610128
jmp 0x6213cc
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x48]
push eax
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0xc]
call fcn.00610128
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0x10]
call fcn.00610128
push 0
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 4]
call fcn.00610128
push 0
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 8]
call fcn.00610128
mov eax, dword [ebx + 0x238]
test ah, 0x60
je 0x62146d
push esi
lea esi, [ebx + 0xdc]
lea edi, [esp + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
and eax, 0x2000
cmp eax, 0x2000
jne 0x621447
mov eax, dword [ebx + 0x254]
call fcn.004e14a8
mov edi, dword [esi + 8]
cmp eax, dword [edi + 0xc]
jne 0x62142e
mov eax, dword [ebx + 0xe0]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x254]
call fcn.004e14a8
mov edx, dword [ebx + 0xe0]
sub edx, eax
mov eax, dword [esi + 8]
sub dword [eax + 0x14], edx
jmp 0x62143d
mov eax, dword [ebx + 0xe0]
add eax, dword [ebx + 0xe8]
mov dword [edi + 0x14], eax
and dword [ebx + 0x238], 0xffffdfff
mov eax, dword [ebx + 0x238]
and eax, 0x4000
cmp eax, 0x4000
jne 0x621463
and dword [ebx + 0x238], 0xffffbfff
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x6217fb
mov eax, dword [ebx + 0x54]
call fcn.005ffe64
test eax, eax
je 0x6217ed
call fcn.005f1a08
test al, al
je 0x6217ed
cmp byte [ebx + 0x78], 0
je 0x6217ed
cmp byte [ebx + 0x22e], 0
jne 0x6217ed
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x18]
and edx, 0x80
cmp edx, 0x80
je 0x6214c2
cmp dword [eax + 8], 0xffff8300
jne 0x621674
mov eax, dword [ebx + 0x54]
cmp dword [eax + 0x40], 0
je 0x621674
mov eax, dword [ebx + 0x254]
call fcn.00485c08
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x62162a
mov eax, dword [ebx + 0x54]
call fcn.005ffe64
cmp byte [eax + 0xd4], 2
je 0x6217ed
cmp byte [ebx + 0x95], 0
je 0x6217ed
mov eax, dword [ebx + 0x54]
call fcn.005ffe64
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x6217ed
mov eax, dword [ebx + 0x238]
and eax, 0x200
cmp eax, 0x200
je 0x6217ed
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x34], 0
jne 0x6217ed
or dword [ebx + 0x238], 0x200
mov dl, 1
mov eax, ebx
call fcn.0060be28
mov edx, dword [ebx + 0x54]
mov dword [edx + 0x40], eax
mov ebp, dword [ebx + 0x270]
test ebp, ebp
je 0x62160f
mov byte [ebp + 0x28], 1
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x340], 0
je 0x62158b
movzx edi, byte [eax + 0x341]
jmp 0x621590
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x270]
call fcn.00627bd8
push eax
mov eax, dword [ebp + 0x18]
call fcn.00485c08
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.00485c08
mov edx, dword [ebx + 0x54]
mov edx, dword [edx + 0x40]
mov ecx, edi
call fcn.0060af88
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.004e14a8
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.004e1488
push eax
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.00485c08
push eax
call sub.user32.dll_SetWindowPos
jmp 0x6217ed
mov eax, dword [ebx + 0x254]
call fcn.00485c08
call fcn.0060b0ac
mov dword [ebx + 0xd4], eax
jmp 0x6217ed
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x29a], 1
je 0x6217ed
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0xffff8300
jne 0x6217ed
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov dl, 1
mov eax, dword [ebx + 0x254]
call fcn.004e3314
mov eax, ebx
call fcn.0060b2b8
jmp 0x6217fb
mov eax, dword [ebx + 0x270]
test eax, eax
je 0x6217ed
cmp dword [eax + 0x18], 0
je 0x6217ed
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
je 0x6217ed
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 0
je 0x6217ed
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x10
cmp eax, 0x10
jne 0x6217ed
mov eax, dword [ebx + 0x238]
and eax, 0x100
cmp eax, 0x100
je 0x6217ed
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x6217ed
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 1
cmp eax, 1
je 0x6217ed
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, dword [ebx + 0x20c]
jl 0x62170f
mov eax, dword [edi + 0x14]
cmp eax, dword [ebx + 0x210]
jge 0x6217ed
cmp dword [ebx + 0x230], 0
je 0x621738
mov ebp, dword [ebx + 0x230]
mov eax, dword [ebp + 0x7c]
cmp byte [eax + 0x24], 0
jne 0x6217ed
mov eax, dword [ebp + 0x78]
cmp byte [eax + 0x24], 0
jne 0x6217ed
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.00485fb4
test al, al
je 0x6217ed
mov eax, dword [ebx + 0x254]
call fcn.00485c08
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x6217d7
or dword [ebx + 0x238], 1
push 0
mov edi, dword [esi + 8]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x270]
call fcn.00627bd8
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.00485c08
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je 0x6217ce
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.00485c08
push eax
mov eax, dword [ebx + 0x254]
call fcn.00485c08
push eax
call sub.user32.dll_SetWindowPos
and dword [ebx + 0x238], 0xfffffffe
jmp 0x6217ed
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x35], 1
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x270]
call fcn.00626a5c
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret