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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
cmp dword [ebp + 0x1c], 0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
jne 0x42214e
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x422158
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x40]
push ecx
xorps xmm0, xmm0
mov dword [edi + 0x20], eax
push eax
movups xmmword [esp + 0x48], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov esi, dword [edi + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
cmp esi, dword [edi + 0x18]
je 0x42209d
nop word [eax + eax]
push dword [esi]
mov eax, dword [edi + 0x20]
xorps xmm0, xmm0
push eax
movaps xmmword [esp + 0x48], xmm0
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
jne 0x421fd3
movaps xmm1, xmmword [esp + 0x40]
jmp 0x422012
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x421fea
movaps xmm1, xmmword [esp + 0x40]
jmp 0x422012
push 2
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
test eax, eax
jne 0x422008
movaps xmm1, xmmword [esp + 0x40]
jmp 0x422012
movaps xmm1, xmmword [esp + 0x50]
mov eax, 1
test eax, eax
je 0x422091
mov eax, dword [esi + 0x10]
lea ecx, [edi + 8]
xorps xmm0, xmm0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
movups xmmword [esp + 0x7c], xmm0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
movups xmm0, xmmword [esi]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x60], 0
movups xmmword [esp + 0x64], xmm1
movups xmmword [esp + 0x7c], xmm0
cmp eax, dword [ecx + 8]
je 0x422086
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x20], xmm0
add dword [ecx + 4], 0x30
jmp 0x422091
lea edx, [esp + 0x60]
push edx
push eax
call fcn.0054e1bd
add esi, 0x14
cmp esi, dword [edi + 0x18]
jne 0x421fb0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x422147
cmp dword [edi + 0x24], 0
jne 0x422147
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
jns 0x422147
push 0
push 0
push 0
push dword [edi + 0x20]
push 0x80000000
push 0x80000000
push 0
push 0
push 0x54000014
push 0x5b5d98
push 0x5d3450
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x24], eax
test eax, eax
je 0x422147
lea eax, [esp + 0x50]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x422147
lea eax, [esp + 0x40]
push eax
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x422147
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x4c]
add eax, dword [esp + 0x5c]
push 5
push 0
push 0
push eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x58]
add eax, dword [esp + 0x68]
push eax
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [edi + 4], 0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 5
jne 0x42236c
mov eax, dword [ebp + 0x14]
movsx ecx, ax
shr eax, 0x10
cmp dword [edi + 0x20], 0
cwde
mov dword [edi + 4], 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
je 0x422360
mov ecx, dword [edi + 0xc]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 8]
imul ecx
xor eax, eax
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [edi + 0x24], eax
setne al
add eax, ecx
push eax
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov esi, dword [edi + 8]
mov dword [esp + 0x10], eax
cmp esi, dword [edi + 0xc]
je 0x4222d4
nop dword [eax]
movups xmm0, xmmword [esi + 4]
mov edi, dword [esp + 0x38]
sub esp, 8
sub edi, dword [esi + 0x14]
mov eax, dword [esp + 0x3c]
sub eax, dword [esi + 0x18]
movaps xmmword [esp + 0x58], xmm0
movaps xmmword [esp + 0x48], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x24], eax
mulss xmm0, dword [esi + 0x20]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call dword [0x5b4718]
mov ecx, dword [esp + 0x58]
movd xmm0, edi
add ecx, eax
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x28], ecx
mulss xmm0, dword [esi + 0x28]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call dword [0x5b4718]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
add ecx, eax
mov dword [esp + 0x1c], ecx
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x24]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call dword [0x5b4718]
mov ecx, dword [esp + 0x4c]
movd xmm0, edi
add ecx, eax
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x24], ecx
mulss xmm0, dword [esi + 0x2c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call dword [0x5b4718]
mov ecx, dword [esp + 0x54]
add esp, 8
sub ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
test eax, eax
jne 0x4222a0
push dword [esi + 0x1c]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x14]
push 0x314
push dword [esp + 0x40]
push ecx
push dword [esp + 0x28]
push dword [esp + 0x30]
push 0
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_DeferWindowPos]
add esi, 0x30
mov dword [esp + 0x10], eax
cmp esi, dword [edi + 0xc]
jne 0x4221c0
cmp dword [edi + 0x24], 0
je 0x422355
lea eax, [esp + 0x50]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x422355
lea eax, [esp + 0x40]
push eax
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x422355
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsZoomed]
neg eax
sbb eax, eax
and eax, 0x40
add eax, 0x355
push eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x50]
add eax, dword [esp + 0x60]
push 0
push 0
push eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x58]
add eax, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x24]
push 0
push dword [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_DeferWindowPos]
push eax
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov dword [edi + 4], 0
jmp 0x42247e
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov dword [edi + 4], 0
jmp 0x42247e
cmp eax, 2
jne 0x422391
mov eax, dword [edi + 8]
mov dword [edi + 0xc], eax
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 4], 0
jmp 0x42247e
cmp eax, 0x24
jne 0x42214e
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 0x20]
mov dword [edi + 4], 1
call esi
push 0xffffffffffffffec
push dword [edi + 0x20]
mov dword [esp + 0x24], eax
call esi
mov edx, dword [edi + 0x30]
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
test edx, edx
je 0x42241f
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x42241f
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
push eax
push dword [edi + 0x20]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], ecx
call dword [sym.imp.USER32.dll_MapDialogRect]
push dword [esp + 0x20]
lea eax, [esp + 0x44]
push 0
push dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x42247e
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x42247e
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
push eax
push dword [edi + 0x20]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], ecx
call dword [sym.imp.USER32.dll_MapDialogRect]
push dword [esp + 0x20]
lea eax, [esp + 0x44]
push 0
push dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [edi + 4], 0
je 0x42214e
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x18