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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdccf32
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x20c0
call fcn.00d4a480
mov eax, dword [0xe3c018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x64], edx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20b0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + 8]
lea ecx, [eax + 8]
mov dword [ebp - 0x20a8], ecx
mov dword [ebp - 0x34], edi
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
sub ecx, edi
mov edi, dword [eax + 0x14]
mov eax, dword [edx + 4]
sub edi, esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x18], ecx
mov al, byte [eax + 0x80]
and al, 4
mov byte [ebp - 0x20a1], al
jne 0x547417
mov esi, dword [edx + 0x78]
lea ecx, [ebp - 0x1c]
push esi
mov dword [ebp - 0x1c], 0
call fcn.00542450
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
movups xmm0, xmmword [ebp - 0x60]
mov esi, dword [ebp - 0x1c]
movups xmmword [ebp - 0x48], xmm0
test esi, esi
je 0x5473f7
mov dword [ebp - 4], 0
cmp dword [esi], 0
je 0x5473e5
call fcn.00542380
push dword [esi]
mov eax, dword [eax]
call eax
push 4
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.00d493fa
add esp, 8
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x3c]
sub edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], ecx
test ecx, ecx
jle 0x547ab0
test edi, edi
jle 0x547ab0
add edx, 0xec
xor eax, eax
cmp byte [ebp - 0x20a1], al
mov dword [ebp - 0x20], edx
sete al
mov edx, dword [edx + 0x14]
inc eax
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x547455
cmp dword [edx + 0xc], ecx
jl 0x547455
cmp dword [edx + 0x10], edi
jl 0x547455
cmp dword [edx + 8], eax
je 0x5474cb
push 0xb8
call fcn.00d493ca
mov esi, eax
add esp, 4
mov dword [ebp - 0x20b4], esi
push 0xb8
push 0
push esi
mov dword [ebp - 4], 1
call fcn.00d9ac00
add esp, 0xc
lea eax, [edi + 0x1f]
and eax, 0xffffffe0
mov ecx, esi
push 0
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x1f
and eax, 0xffffffe0
push eax
push dword [ebp - 0x1c]
call fcn.00542b90
mov edx, eax
test edx, edx
je 0x5474a8
lock inc dword [edx + 4]
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x14], edx
test ecx, ecx
je 0x5474cb
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
sete al
test al, al
je 0x5474cb
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x20]
push 0xbb8
call fcn.004cbb80
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
cmp dword [ebx + 0x10], 3
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edi
jne 0x547697
cmp byte [ebp - 0x20a1], 0
je 0x547697
push dword [ebp - 0x20a8]
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push 1
mov esi, eax
mov eax, dword [ebp - 0x24]
push esi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp - 0x2088]
push eax
mov eax, dword [ebp - 0x24]
push 0x2000
push eax
call dword [sym.imp.GDI32.dll_GetRegionData]
dec eax
cmp eax, 0x1fff
ja 0x547694
cmp dword [ebp - 0x2084], 1
mov ecx, dword [ebp - 0x18]
jne 0x547697
mov eax, dword [ebp - 0x2070]
sub eax, dword [ebp - 0x2078]
cmp eax, ecx
jl 0x547697
mov eax, dword [ebp - 0x206c]
sub eax, dword [ebp - 0x2074]
cmp eax, edi
jl 0x547697
mov eax, dword [ebp - 0x2080]
add eax, 0xffffffff
mov dword [ebp - 0x24], eax
js 0x5476d2
mov eax, dword [ebp - 0x34]
lea esi, [ebp - 0x2060]
movups xmm0, xmmword [ebp - 0x48]
add eax, ecx
mov dword [ebp - 0x20a8], eax
mov edx, dword [esi]
cmp edx, eax
jg 0x547694
mov eax, dword [ebp - 0x4c]
mov ecx, dword [esi + 4]
add eax, edi
mov dword [ebp - 0x1c], ecx
cmp ecx, eax
jg 0x547694
mov eax, dword [esi - 8]
mov ecx, dword [ebp - 0x34]
cmp ecx, eax
cmovl ecx, eax
mov eax, dword [esi - 4]
sub dword [ebp - 0x1c], eax
sub esp, 0x10
sub eax, dword [ebp - 0x4c]
sub edx, ecx
sub ecx, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
mov eax, esp
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x58], edx
movups xmmword [eax], xmm0
lea eax, [ebp - 0x20c4]
push eax
call fcn.00518710
movups xmm1, xmmword [eax]
movaps xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
movups xmmword [ebp - 0x80], xmm1
test eax, eax
jle 0x54767b
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd eax, xmm0
test eax, eax
jle 0x54767b
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
inc eax
push eax
call fcn.0051c100
mov ecx, dword [ebp - 0x28]
movups xmm0, xmmword [ebp - 0x80]
lea eax, [ecx + 1]
shl ecx, 4
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x48]
mov eax, dword [ebp - 0x20a8]
add esi, 0x10
sub dword [ebp - 0x24], 1
jns 0x5475d5
jmp 0x5476d2
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x30]
push 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], edi
call fcn.0051c100
mov ecx, dword [ebp - 0x28]
movups xmm0, xmmword [ebp - 0x60]
lea eax, [ecx + 1]
shl ecx, 4
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
movups xmmword [ecx], xmm0
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x30]
mov esi, dword [ebp - 0x20b0]
mov dword [ebp - 0x2098], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2094], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x2090], ecx
lea ecx, [ebp - 0x20a0]
push ecx
push 0x547110
push dword [eax + 0x78]
mov dword [ebp - 0x20a0], esi
mov dword [ebp - 0x209c], eax
mov dword [ebp - 0x208c], 0
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x547a8c
cmp byte [ebp - 0x20a1], 0
jne 0x547769
mov edi, dword [ebp - 0x30]
shl eax, 4
add eax, edi
mov dword [ebp - 0x20a8], eax
cmp edi, eax
je 0x547769
mov dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push esi
push edi
lea ecx, [ecx + 0x14]
call fcn.004dc590
add edi, 0x10
cmp edi, dword [ebp - 0x20a8]
jne 0x547751
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x18], 0
mov ecx, dword [ecx + 4]
call fcn.00555fc0
mov esi, dword [ebp - 0x34]
neg esi
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
lea ecx, [ebp - 0x30]
push ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], esi
mov esi, dword [ebp - 0x4c]
neg esi
mov dword [ecx + 4], esi
mov ecx, dword [ebp - 0x20]
add ecx, 0x14
mov dword [ebp - 0x20b4], esi
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call edx
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x64]
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
call fcn.00546180
fstp dword [ebp - 0x20a8]
movss xmm1, dword [ebp - 0x20a8]
lea eax, [ebp - 0x20cc]
push eax
mov ecx, esi
movss dword [ebp - 0x20cc], xmm1
mov dword [ebp - 0x20c8], 0
mov dword [ebp - 0x20c4], 0
mov dword [ebp - 0x20c0], 0
movss dword [ebp - 0x20bc], xmm1
mov dword [ebp - 0x20b8], 0
call edi
mov edx, dword [ebp - 0x18]
xorps xmm0, xmm0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x64]
mov ecx, dword [edi + 4]
cmp dword [ecx + 0x30], 0
je 0x54785b
lea eax, [ebp - 0x20cc]
push eax
call fcn.005540a0
mov ecx, dword [edx]
push eax
mov esi, dword [ecx + 0xc]
mov ecx, edx
call esi
mov eax, dword [edi]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
cmp dword [ecx + 0x30], 0
mov edx, dword [ecx + 0x28]
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
je 0x5478b2
lea eax, [ebp - 0x88]
push eax
call fcn.005540a0
push eax
lea eax, [ebp - 0x20c4]
push eax
lea ecx, [ebp - 0x70]
call fcn.0051d620
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
cmp esi, eax
jne 0x5478c4
cmp ecx, edx
je 0x547941
cmp byte [ebp - 0x3c], 0
movd xmm2, ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x20c8], 0
mov dword [ebp - 0x20c4], 0
mov dword [ebp - 0x20c0], 0
mov dword [ebp - 0x20b8], 0
cvtdq2ps xmm2, xmm2
movd xmm1, esi
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x20bc], xmm2
divss xmm1, xmm0
movss dword [ebp - 0x20cc], xmm1
je 0x547932
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 0x3c], 0
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x20cc]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x44]
push 1
push eax
call fcn.00555c60
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x54795c
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x547969
mov eax, dword [ecx]
push 1
call dword [eax]
mov al, byte [edi + 0xb8]
mov esi, dword [edi + 0x100]
mov edi, dword [edi + 0x78]
mov byte [ebp - 0x20a9], al
mov dword [ebp - 0x20a8], edi
push 1
push dword [ebp - 0x20b0]
mov byte [ebp - 4], 5
call dword [sym.imp.GDI32.dll_SetMapMode]
cmp byte [ebp - 0x20a1], 0
jne 0x547a5a
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
call fcn.00542450
lea eax, [ebp - 0x80]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
movups xmm0, xmmword [ebp - 0x80]
mov edi, dword [ebp - 0x24]
movups xmmword [ebp - 0x60], xmm0
test edi, edi
je 0x5479ec
mov byte [ebp - 4], 6
cmp dword [edi], 0
je 0x5479e1
call fcn.00542380
push dword [edi]
mov eax, dword [eax]
call eax
push 4
push edi
call fcn.00d493fa
add esp, 8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x20b4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
sub eax, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
sub eax, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x4c], eax
mov al, byte [ebp - 0x20a9]
push 2
mov byte [ebp - 0x1e], al
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 0x1d], 1
push eax
push dword [esi + 0xa4]
lea eax, [ebp - 0x50]
mov word [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push dword [ebp - 0x20a8]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov esi, dword [ebp - 0x20b0]
jmp 0x547a8c
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x38]
mov edx, dword [esi + 0xc]
push 0xcc0020
push 0
push eax
push dword [esi + 0xa8]
mov esi, dword [ebp - 0x20b0]
push ecx
push edx
push 0
push 0
push ecx
push edx
push dword [ebp - 0x4c]
push dword [ebp - 0x34]
push esi
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov eax, dword [ebp - 0x208c]
test eax, eax
je 0x547a9e
push eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
push dword [ebp - 0x30]
mov dword [ebp - 0x28], 0
call fcn.00d9e0ad
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00d491ba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10