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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x53c160]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov esi, ecx
mov edi, esi
mov dword [esp + 0x64], esi
neg edi
push 0xfffffffffffffff0
lea eax, [esi - 0x20]
sbb edi, edi
and edi, eax
mov dword [esp + 0x10], edi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x473a4d
mov eax, dword [esi + 0x14]
cmp eax, 0xffffffff
je 0x473a4d
mov ecx, dword [esi + 0x18]
cmp ecx, 0xffffffff
je 0x473a4d
mov edx, dword [ebp + 8]
cmp edx, eax
cmovl edx, eax
mov eax, dword [ebp + 0xc]
cmp eax, ecx
mov dword [esp + 0x38], edx
cmovl eax, ecx
mov dword [esp + 0x3c], eax
jmp 0x473a5b
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [esp + 0x78], eax
test eax, eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x7c], eax
je 0x473a80
push 0
push 0
push 0xb
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
xor ecx, ecx
mov dword [esp + 0x40], ecx
test eax, eax
jle 0x47419b
mov edx, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [esp + 0x5c], edx
mov edx, dword [sym.imp.KERNEL32.DLL_MulDiv]
mov dword [esp + 0x50], edx
mov edx, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x54], edx
mov edx, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x58], edx
mov edx, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x60], edx
mov edx, dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x74], edx
nop dword [eax]
test ecx, ecx
js 0x4741da
cmp ecx, eax
jge 0x4741da
mov edi, dword [esi]
lea edx, [ecx + ecx*2]
shl edx, 3
add edi, edx
mov dword [esp + 8], edx
mov eax, dword [edi + 4]
test eax, 0x1000
je 0x474022
movups xmm0, xmmword [edi + 8]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x68], eax
cmp eax, 1
movups xmmword [esp + 0x80], xmm0
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], eax
jbe 0x473bc2
mov esi, dword [esp + 0x80]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x84]
add edi, 0x24
nop dword [eax]
test edx, edx
js 0x4741da
mov eax, dword [esp + 0x64]
cmp edx, dword [eax + 4]
jge 0x4741da
cmp esi, dword [edi - 4]
cmovge esi, dword [edi - 4]
cmp ecx, dword [edi]
mov dword [esp + 0x20], esi
cmovge ecx, dword [edi]
mov esi, dword [esp + 0x18]
cmp esi, dword [edi + 4]
mov dword [esp + 0x44], ecx
cmovle esi, dword [edi + 4]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
cmp esi, dword [edi + 8]
cmovle esi, dword [edi + 8]
inc edx
mov eax, esi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x20]
add edi, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x68]
jl 0x473b50
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
jmp 0x473bd8
mov eax, dword [esp + 0x84]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0x6c], eax
test edi, edi
je 0x47401a
mov dword [esp + 0x70], ecx
nop
mov dword [esp + 0x14], 0
test eax, eax
jle 0x473c1b
lea eax, [ecx - 1]
test eax, eax
js 0x4741da
cmp eax, dword [esi + 4]
jge 0x4741da
mov eax, dword [esi]
add eax, 0xffffffe8
add eax, edx
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0xc]
lea eax, [edi + 0x20]
test edx, edx
js 0x4741da
cmp ecx, dword [esi + 4]
jge 0x4741da
lfence
mov esi, dword [esi]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x34], esi
xorps xmm0, xmm0
cmovne ecx, edi
movaps xmmword [esp + 0x80], xmm0
push dword [esi + edx]
mov dword [esp + 0x4c], ecx
push dword [ecx + 4]
call dword [esp + 0x5c]
mov edi, eax
lea eax, [esp + 0x80]
push eax
push edi
call dword [esp + 0x60]
test eax, eax
je 0x473fe9
push 2
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x50]
push dword [eax + 4]
push 0
call dword [esp + 0x6c]
mov eax, dword [esp + 8]
mov edx, dword [esi + eax + 4]
test dl, 0x20
je 0x473cd5
mov ecx, dword [esi + eax + 0x10]
sub ecx, dword [esi + eax + 8]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
sub eax, dword [esi + 0x2c]
sub eax, ecx
sub eax, dword [esp + 0x20]
add eax, dword [esp + 0x38]
mov eax, eax
test eax, eax
jns 0x473cbd
add eax, 1
sar eax, 1
add eax, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x80], eax
add eax, ecx
jmp 0x473e0f
test dl, 5
je 0x473e1a
mov edx, dword [esp + 0xc]
lfence
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
sub eax, ecx
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [edx + 0x2c]
sub eax, ecx
add eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x10]
mov eax, dword [esi + eax + 8]
sub eax, ecx
push eax
call dword [esp + 0x5c]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov dword [esp + 0x80], eax
mov edx, dword [esi + edx + 4]
test dl, 1
je 0x473e03
mov edx, dword [esp + 0xc]
push dword [esp + 0x4c]
lfence
mov eax, dword [esp + 0x1c]
sub eax, dword [edx + 0x2c]
sub eax, ecx
add eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x10]
mov eax, dword [esi + eax + 0x10]
sub eax, ecx
push eax
call dword [esp + 0x5c]
add eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x473df9
push dword [eax]
mov eax, dword [esp + 0x4c]
push dword [eax + 4]
call dword [esp + 0x5c]
mov esi, eax
xorps xmm0, xmm0
lea eax, [esp + 0x90]
movaps xmmword [esp + 0x90], xmm0
push eax
push esi
call dword [esp + 0x60]
push 2
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x50]
push dword [eax + 4]
push 0
call dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 8]
push 0x16
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x38]
sub ecx, dword [eax + edx + 8]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0xa0]
add edx, ecx
mov ecx, dword [esp + 0x98]
sub eax, ecx
push eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0xa0], edx
sub edx, eax
push edx
push ecx
push eax
push 0
push esi
call dword [esp + 0x7c]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 8]
mov edx, dword [esi + eax + 4]
jmp 0x473e1a
mov ecx, dword [esp + 8]
sub eax, dword [esi + ecx + 8]
add eax, dword [esi + ecx + 0x10]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 8]
test dl, 0x40
je 0x473e5d
mov ecx, dword [esi + eax + 0x14]
sub ecx, dword [esi + eax + 0xc]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
sub eax, dword [esi + 0x30]
sub eax, ecx
sub eax, dword [esp + 0x44]
add eax, dword [esp + 0x3c]
mov eax, eax
test eax, eax
jns 0x473e45
add eax, 1
sar eax, 1
add eax, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x84], eax
add eax, ecx
jmp 0x473f97
test dl, 0xa
je 0x473f9e
mov edx, dword [esp + 0xc]
lfence
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
sub eax, ecx
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
sub eax, ecx
sub eax, dword [edx + 0x30]
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x10]
mov eax, dword [esi + eax + 0xc]
sub eax, ecx
push eax
call dword [esp + 0x5c]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x44]
add eax, ecx
mov dword [esp + 0x84], eax
mov edx, dword [esi + edx + 4]
test dl, 2
je 0x473f8b
mov edx, dword [esp + 0xc]
push dword [esp + 0x4c]
lfence
mov eax, dword [esp + 0x14]
sub eax, ecx
sub eax, dword [edx + 0x30]
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x10]
mov eax, dword [esi + eax + 0x14]
sub eax, ecx
push eax
call dword [esp + 0x5c]
add eax, dword [esp + 0x44]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x473f81
push dword [eax]
mov eax, dword [esp + 0x4c]
push dword [eax + 4]
call dword [esp + 0x5c]
mov esi, eax
xorps xmm0, xmm0
lea eax, [esp + 0xa0]
movaps xmmword [esp + 0xa0], xmm0
push eax
push esi
call dword [esp + 0x60]
push 2
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esp + 0x50]
push dword [eax + 4]
push 0
call dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 8]
push 0x16
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x38]
sub ecx, dword [eax + edx + 0xc]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0xa8]
add eax, ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xb0], eax
sub eax, edx
push eax
mov eax, dword [esp + 0xb0]
sub eax, ecx
push eax
push edx
push ecx
push 0
push esi
call dword [esp + 0x7c]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 8]
mov edx, dword [esi + eax + 4]
jmp 0x473f9e
mov ecx, dword [esp + 8]
sub eax, dword [esi + ecx + 0xc]
add eax, dword [esi + ecx + 0x14]
mov dword [esp + 0x8c], eax
test dl, 0x10
je 0x473fb7
push 1
push 0
push edi
call dword [esp + 0x80]
mov eax, dword [esp + 8]
mov edx, dword [esi + eax + 4]
test dl, 0x7f
je 0x473fe9
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
sub eax, edx
mov ecx, dword [esp + 0x80]
push 0x14
push eax
mov eax, dword [esp + 0x90]
sub eax, ecx
push eax
push edx
push ecx
push 0
push edi
call dword [esp + 0x7c]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
inc eax
mov edx, dword [esp + 8]
inc ecx
mov edi, dword [esp + 0x68]
add edx, 0x18
mov esi, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 8], edx
cmp eax, edi
jl 0x473bf0
mov ecx, dword [esp + 0x40]
dec ecx
add ecx, edi
jmp 0x474183
mov edx, dword [esp + 0xc]
xor eax, eax
push dword [edi]
xorps xmm0, xmm0
movaps xmmword [esp + 0x84], xmm0
lea ecx, [edx + 0x20]
test ecx, ecx
cmovne eax, edx
mov dword [esp + 0x50], eax
push dword [eax + 4]
call dword [esp + 0x5c]
mov esi, eax
lea eax, [esp + 0x80]
push eax
push esi
call dword [esp + 0x60]
test eax, eax
je 0x47417f
push 2
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x54]
push dword [eax + 4]
push 0
call dword [esp + 0x6c]
mov ecx, dword [edi + 4]
test cl, 0x20
je 0x4740a4
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 8]
mov eax, dword [esp + 0x38]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x80], eax
add eax, ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x88], eax
jmp 0x4740d9
test cl, 5
je 0x4740d9
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0x10]
sub eax, dword [edx + 0x2c]
add eax, dword [esp + 0x38]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x88], eax
test cl, 4
je 0x4740d9
mov eax, dword [edi + 8]
sub eax, edx
add eax, dword [esp + 0x88]
mov dword [esp + 0x80], eax
test cl, 0x40
je 0x474104
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x3c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x84], eax
add eax, ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x8c], eax
jmp 0x474139
test cl, 0xa
je 0x474139
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0x14]
sub eax, dword [edx + 0x30]
add eax, dword [esp + 0x3c]
mov edx, dword [edi + 0x14]
mov dword [esp + 0x8c], eax
test cl, 8
je 0x474139
mov eax, dword [edi + 0xc]
sub eax, edx
add eax, dword [esp + 0x8c]
mov dword [esp + 0x84], eax
test cl, 0x10
je 0x47414d
push 1
push 0
push esi
call dword [esp + 0x80]
mov ecx, dword [edi + 4]
test cl, 0x7f
je 0x47417f
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
sub eax, edx
mov ecx, dword [esp + 0x80]
push 0x14
push eax
mov eax, dword [esp + 0x90]
sub eax, ecx
push eax
push edx
push ecx
push 0
push esi
call dword [esp + 0x7c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x64]
inc ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esi + 4]
cmp ecx, eax
jl 0x473ad0
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x78], 0
je 0x4741b2
push 0
push 1
push 0xb
push dword [edi + 4]
call dword [esp + 0x8c]
push 0x185
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 8
push 1
push 0xc000008c
call fcn.00409e40
int3