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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x15c
mov eax, dword [0x5f3008]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x34], xmm0
mov byte [eax], 0
movzx eax, word [ecx + 0x98]
mov word [esp + 0x80], ax
movzx eax, word [ecx + 0x5a]
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movups xmm0, xmmword [ecx + 0x68]
mov word [esp + 0x82], ax
movzx eax, word [ecx + 0x58]
mov word [esp + 0x86], ax
movzx eax, word [ecx + 0x5c]
movups xmmword [esp + 0x88], xmm0
mov word [esp + 0x84], ax
movups xmm0, xmmword [ecx + 0xa0]
movzx eax, word [ecx + 0xe0]
mov word [esp + 0xb8], ax
mov al, byte [ecx + 0x108]
movups xmmword [esp + 0x98], xmm0
mov byte [esp + 0xd0], al
movups xmm0, xmmword [ecx + 0xb0]
mov al, byte [ecx + 0x10c]
mov byte [esp + 0xd4], al
movzx eax, word [ecx + 0x10a]
movups xmmword [esp + 0xa8], xmm0
mov word [esp + 0xd2], ax
movups xmm0, xmmword [ecx + 0xe8]
movzx eax, word [ecx + 0x5e]
mov word [esp + 0xd6], ax
movzx eax, word [ecx + 0x60]
movups xmmword [esp + 0xc0], xmm0
mov word [esp + 0xd8], ax
movups xmm0, xmmword [ecx + 0x78]
mov al, byte [ecx + 0x62]
mov ebx, dword [ebp + 8]
movups xmmword [esp + 0x128], xmm0
mov byte [esp + 0xd5], al
movups xmm0, xmmword [ecx + 0x88]
mov al, byte [ecx + 0x540]
movups xmmword [esp + 0x138], xmm0
movsd xmm0, qword [0x5ea598]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
movsd qword [esp + 0x148], xmm0
movaps xmm0, xmmword [str.d2d2]
mov byte [esp + 0xf0], al
mov ax, word [ebp + 0xc]
movups xmmword [esp + 0x110], xmm0
mov word [esp + 0xf2], ax
movups xmm0, xmmword [ecx + 0xc0]
mov ax, word [ebp + 0x10]
push 0xfffffffffffffffa
push ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x128], 0x32
movups xmmword [esp + 0xe8], xmm0
mov word [esp + 0xfc], ax
mov dword [esp + 0x1c], 0x38
call edi
mov esi, dword [sym.imp.COMCTL32.dll_CreatePropertySheetPageW]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], 0x41b
mov dword [esp + 0x30], 0x532ab0
call esi
mov dword [esp + 0x154], eax
mov dword [esp + 0x20], 0x43a
lea eax, [esp + 0x80]
mov dword [esp + 0x2c], 0x5355e0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
call esi
mov dword [esp + 0x158], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], 0x43b
mov dword [esp + 0x30], 0x535be0
call esi
mov dword [esp + 0x15c], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], 0x43d
mov dword [esp + 0x30], 0x535e20
call esi
push 0xfffffffffffffffa
push ebx
mov dword [esp + 0x168], eax
mov dword [esp + 0x54], 0x34
call edi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x154]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x54], 0x2000080
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], 4
mov dword [esp + 0x64], 0x5b5334
call dword [sym.imp.COMCTL32.dll_PropertySheetW]
cmp eax, 0xffffffff
je 0x536d37
test eax, eax
je 0x536d37
mov ecx, dword [esp + 0xc]
mov ax, word [esp + 0x80]
mov di, word [esp + 0xf2]
mov dl, byte [esp + 0xf0]
mov bx, word [esp + 0xd8]
mov dh, byte [esp + 0xd5]
movsd xmm1, qword [esp + 0xc8]
movsd xmm2, qword [esp + 0xc0]
movsd xmm3, qword [esp + 0x90]
movsd xmm4, qword [esp + 0x88]
cmp word [ecx + 0x98], ax
jne 0x536d5a
mov ax, word [esp + 0x82]
cmp word [ecx + 0x5a], ax
jne 0x536d5a
mov ax, word [esp + 0x86]
cmp word [ecx + 0x58], ax
jne 0x536d5a
movsd xmm0, qword [ecx + 0x68]
ucomisd xmm0, xmm4
lahf
test ah, 0x44
jp 0x536d5a
movsd xmm0, qword [ecx + 0x70]
ucomisd xmm0, xmm3
lahf
test ah, 0x44
jp 0x536d5a
mov ax, word [esp + 0x84]
cmp word [ecx + 0x5c], ax
jne 0x536d5a
movsd xmm0, qword [ecx + 0xa8]
ucomisd xmm0, qword [esp + 0xa0]
lahf
test ah, 0x44
jp 0x536d5a
movsd xmm0, qword [ecx + 0xb8]
ucomisd xmm0, qword [esp + 0xb0]
lahf
test ah, 0x44
jp 0x536d5a
movsd xmm0, qword [ecx + 0xa0]
ucomisd xmm0, qword [esp + 0x98]
lahf
test ah, 0x44
jp 0x536d5a
movsd xmm0, qword [ecx + 0xb0]
ucomisd xmm0, qword [esp + 0xa8]
lahf
test ah, 0x44
mov ax, word [esp + 0xd6]
jp 0x536d62
cmp word [ecx + 0x5e], ax
jne 0x536d62
cmp word [ecx + 0x60], bx
jne 0x536d62
cmp byte [ecx + 0x62], dh
jne 0x536d62
mov si, word [esp + 0xb8]
cmp word [ecx + 0xe0], si
mov si, word [esp + 0xf4]
jne 0x536d62
movsd xmm0, qword [ecx + 0xe8]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jp 0x536d5a
movsd xmm0, qword [ecx + 0xf0]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x536d5a
cmp byte [ecx + 0x540], dl
jne 0x536d5a
test dl, dl
je 0x536ce4
mov ax, word [ebp + 0xc]
cmp ax, di
jne 0x536d5a
cmp word [ebp + 0x10], si
jne 0x536d5a
cmp ax, word [ecx + 0x542]
jne 0x536d5a
mov ax, word [ebp + 0x10]
cmp ax, word [ecx + 0x544]
jne 0x536d5a
movups xmm0, xmmword [esp + 0x128]
mov al, byte [esp + 0xd0]
mov byte [ecx + 0x108], al
mov al, byte [esp + 0xd4]
movups xmmword [ecx + 0x78], xmm0
mov byte [ecx + 0x10c], al
movups xmm0, xmmword [esp + 0x138]
mov ax, word [esp + 0xd2]
mov word [ecx + 0x10a], ax
movups xmmword [ecx + 0x88], xmm0
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [ecx + 0xc0], xmm0
xor al, al
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
xor ecx, esp
mov dword [0x5f64b8], 0
call fcn.0056060a
mov esp, ebp
pop ebp
ret 0x10
mov ax, word [esp + 0xd6]
mov si, word [esp + 0x80]
mov word [ecx + 0x5e], ax
mov ax, word [esp + 0xb8]
mov word [ecx + 0x98], si
mov si, word [esp + 0x82]
mov word [ecx + 0xe0], ax
mov al, byte [esp + 0xd0]
mov word [ecx + 0x5a], si
mov si, word [esp + 0x86]
mov byte [ecx + 0x108], al
mov al, byte [esp + 0xd4]
mov word [ecx + 0x58], si
mov si, word [esp + 0x84]
mov byte [ecx + 0x10c], al
movzx eax, word [esp + 0xd2]
mov word [ecx + 0x5c], si
mov si, word [esp + 0xf4]
movsd qword [ecx + 0x68], xmm4
movsd qword [ecx + 0x70], xmm3
mov word [ecx + 0x60], bx
mov byte [ecx + 0x62], dh
mov word [ecx + 0x10a], ax
movsd qword [ecx + 0xe8], xmm2
movsd qword [ecx + 0xf0], xmm1
movups xmm0, xmmword [esp + 0x128]
movups xmmword [ecx + 0x78], xmm0
movups xmm0, xmmword [esp + 0x138]
movups xmmword [ecx + 0x88], xmm0
movups xmm0, xmmword [esp + 0x98]
movups xmmword [ecx + 0xa0], xmm0
movups xmm0, xmmword [esp + 0xa8]
movups xmmword [ecx + 0xb0], xmm0
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [ecx + 0xc0], xmm0
test dl, dl
je 0x536e4d
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov byte [ecx + 0x540], dl
mov word [ecx + 0x542], di
mov word [ecx + 0x544], si
call fcn.00536470
mov al, 1
jmp 0x536d39