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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cff5
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4d7200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x2a8]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41990f
cmp dword [edi + 0x18], 1
jge 0x419934
cmp dword [edi + 0x2a8], 0
je 0x41990f
mov ecx, edi
call fcn.00419810
mov dword [edi + 0x2e0], ebx
test ebx, ebx
je 0x41994b
mov edx, dword [ebx + 0x1c0]
lea ecx, [edi + 0x78]
mov eax, dword [ebx + 0x230]
test edx, edx
je 0x419943
mov dword [ecx + 0x1c0], edx
jmp 0x41994d
push esi
push 0xffffffffffffffff
mov ecx, edi
call fcn.0041a070
jmp 0x419ed6
mov dword [ecx + 0x1c0], ecx
jmp 0x41994d
xor eax, eax
push ecx
push eax
push 0xffffffffffffffff
push SysReAllocString
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x15e
push 0x28a
push 0x4bfbd0
push 0x4c0350
lea ecx, [edi + 0x78]
mov dword [edi + 0x14], 0x46
call fcn.0040bf80
movsd xmm0, qword [0x4cc770]
xor eax, eax
movsd qword [edi + 0x1e8], xmm0
mov dword [edi + 0x1f0], 0x190
mov byte [edi + 0x1f4], 1
mov byte [edi + 0x236], 0
nop word [eax + eax]
inc eax
cmp word [eax*2 + 0x4bff50], 0
jne 0x4199b0
inc eax
push eax
push 0x4bff50
lea eax, [edi + 0x1f6]
push 0x20
push eax
call fcn.0048cf13
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x78]
add esp, 0xc
mov dword [edi + 0x29c], eax
mov eax, dword [edi + 0x2a8]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x20]
push dword [edi + 0x30]
push eax
push eax
push dword [edi + 0x1c]
push 0x15e
push 0x28a
call fcn.004167f0
test ebx, ebx
je 0x419a2a
xor esi, esi
add ebx, 0x50
nop dword [eax]
mov eax, dword [ebx]
test eax, eax
je 0x419a6e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x419a6e
inc esi
add ebx, 4
cmp esi, 0x30
jl 0x419a10
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0xffffffffffffffff
push 0x1080000d
push 0xfa
push 0x276
push 0xa
push 0xa
push 0x4c0188
push 0x4c0378
lea ecx, [edi + 0x78]
call fcn.004120f0
mov dword [edi + 0x18], eax
test eax, eax
jne 0x419a83
mov esi, dword [edi + 0x2a8]
jmp 0x419ab7
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
mov dword [eax + esi*4 + 0x50], ecx
inc esi
cmp esi, dword [eax + 0x4c]
jle 0x419a2d
mov dword [eax + 0x4c], esi
jmp 0x419a2d
cmp eax, 0xffffffff
jne 0x419a8e
mov eax, dword [edi + 0xb8]
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x419ab5
cmp eax, 1
jl 0x419ab5
cmp eax, dword [edi + 0xb8]
jg 0x419ab5
lea esi, [eax + eax*8]
cmp dword [ecx + esi*8 + 0xc], 0
je 0x419ab5
mov esi, dword [ecx + esi*8 + 4]
jmp 0x419ab7
xor esi, esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0xa0
push 0
push 0x101e
push esi
mov dword [ebp - 0x4c], ebx
call ebx
push 0x1c2
push 1
push 0x101e
push esi
call ebx
movsd xmm0, qword [0x4cc768]
sub esp, 0x14
movsd qword [esp + 0xc], xmm0
push 0x190
push ecx
lea ecx, [edi + 0x78]
call fcn.00413b20
sub esp, 8
mov dword [edi + 0x268], 0x1c00
mov eax, dword [edi + 0x14]
lea ecx, [edi + 0x78]
push eax
push eax
push 0x10e
push 0xa
push 0
call fcn.00412470
mov edx, dword [edi + 0x28]
mov ebx, eax
mov eax, dword [edi + 0x20]
mov ecx, edx
mov dword [ebp - 0x5c], eax
shr ecx, 0x10
movzx eax, cl
mov ecx, edx
or ecx, 0xffffff00
mov dword [ebp - 0x58], ebx
shl ecx, 0x10
and edx, 0xff00
or eax, ecx
mov dword [edi], ebx
or eax, edx
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x64], eax
lea eax, [edi + 0x78]
test eax, eax
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0x50], eax
je 0x419cc0
cmp ebx, 1
jl 0x419cc0
mov eax, dword [edi + 0x50]
test eax, eax
je 0x419bae
cmp dword [edi + 0x34], 1
jl 0x419bae
mov ecx, dword [edi + 0x70]
mov dword [edi + 0x68], 1
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0
test ecx, ecx
je 0x419bae
mov edx, dword [eax + 0x230]
test edx, edx
je 0x419bae
mov eax, dword [ecx]
push 0
push edx
push ecx
call dword [eax + 0x28]
mov ecx, dword [edi + 0xb4]
mov eax, ebx
test ecx, ecx
je 0x419bd2
cmp eax, dword [edi + 0xb8]
jg 0x419bd2
lea eax, [eax + eax*8]
cmp dword [ecx + eax*8 + 0xc], 0
je 0x419bd2
mov eax, dword [ecx + eax*8 + 4]
jmp 0x419bd4
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [ebp - 0x50]
mov eax, dword [ebp - 0x28]
lea ebx, [edi + 0x70]
sub eax, dword [ebp - 0x30]
cmp dword [ebx], 0
mov dword [edi + 0x40], eax
jne 0x419c98
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
push 0x4a0630
push 1
push 0
push 0x4a0670
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x419c24
mov dword [ebp - 4], 1
jmp 0x419c84
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x48]
push edx
push 0x4a0640
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x419c5e
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x419c55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 4
jmp 0x419c84
mov eax, dword [ebp - 0x44]
push ebx
push 0x4a0650
push eax
mov ecx, dword [eax]
call dword [ecx]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x419c7d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x419c91
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0x78]
mov dword [edi + 0x50], eax
lea ecx, [edi + 0x34]
mov eax, dword [ebp - 0x58]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0x4c], eax
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x64]
push 0
mov dword [edi + 0x44], eax
call fcn.00418d20
lea ecx, [edi + 0x78]
call fcn.00416d40
test al, al
jne 0x419cd0
xor eax, eax
jmp 0x419d4b
mov eax, dword [edi + 0xb8]
push 0
push dword [edi + 0x194]
inc eax
push eax
push dword [edi + 0x2ac]
movzx eax, byte [edi + 0x2c0]
push 0xa
push 0x28a
push 0
and eax, 1
push 0
shl eax, 0x11
add eax, 0x50000100
push eax
push 0
push 0x4c018c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x419d4b
push eax
push 0xd
lea ecx, [edi + 0x78]
call fcn.00416ab0
mov ecx, dword [edi + 0xb4]
lea edx, [eax + eax*8]
mov dword [ecx + edx*8 + 0x24], 0
mov dword [ecx + edx*8 + 0x28], 0
mov dword [ecx + edx*8 + 0x2c], 0x28a
mov dword [ecx + edx*8 + 0x30], 0xa
push 0xfffffffffffffffe
push ecx
lea ecx, [edi + 0x78]
mov dword [edi + 0x10], eax
call fcn.004136f0
sub esp, 8
mov dword [edi + 0x268], 0xc00
mov ecx, dword [edi + 0x14]
mov eax, 0x26c
sub eax, ecx
push ecx
push eax
push 0x10e
lea eax, [ecx + 0x14]
push eax
push ecx
lea ecx, [edi + 0x78]
call fcn.00411eb0
mov edx, dword [edi + 0x20]
mov dword [edi + 4], eax
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, dl
and edx, 0xff00
shl eax, 0x10
or ecx, eax
or ecx, edx
push ecx
push ecx
lea ecx, [edi + 0x78]
call fcn.004136f0
push dword [edi + 0x28]
lea ecx, [edi + 0x78]
push 0xffffffffffffffff
call fcn.004138f0
mov ebx, dword [edi + 0x2a8]
test ebx, ebx
je 0x419ed4
mov eax, dword [edi + 4]
test eax, eax
je 0x419e16
cmp eax, 0xffffffff
jne 0x419dd9
mov eax, dword [edi + 0xb8]
mov ebx, dword [edi + 0xb4]
test ebx, ebx
je 0x419ed4
cmp eax, 1
jl 0x419ed4
cmp eax, dword [edi + 0xb8]
jg 0x419ed4
lea eax, [eax + eax*8]
cmp dword [ebx + eax*8 + 0xc], 0
je 0x419ed4
mov ebx, dword [ebx + eax*8 + 4]
test ebx, ebx
je 0x419ed4
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [ebp - 0x50]
test eax, eax
je 0x419ed4
mov esi, dword [ebp - 0x4c]
push 0
push 0
push 0xb
push ebx
call esi
lea eax, [ebp - 0x20]
push eax
push 0
push 0xb3
push ebx
call esi
push dword [ebp - 0x54]
push 0
push 0xc
push ebx
call esi
push 0
push 0
push 0xba
push ebx
call esi
mov ecx, eax
mov dword [ebp - 0x54], ecx
cmp ecx, 1
jle 0x419e94
push 0
push 0
push 0xd6
push ebx
call esi
push 0
push 1
push 0xbb
push ebx
mov esi, eax
call dword [ebp - 0x4c]
push 0
push eax
push 0xd6
push ebx
call dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
shr eax, 0x10
shr esi, 0x10
sub eax, esi
jmp 0x419e99
mov eax, 0xe
imul ecx, eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0xb2
push ebx
sar esi, 1
call dword [ebp - 0x4c]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x4c]
push eax
push 0
push 0xb3
push ebx
call esi
push 0
push 1
push 0xb
push ebx
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489c65
mov esp, ebp
pop ebp
ret 0x18