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

Disassembly:
sub esp, 0x10c
mov eax, dword [0x48f120]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
mov esi, ecx
cmp dword [esi + 0x28], 0
push edi
lea edi, [esi + 0x28]
jne 0x4139a3
lea eax, [esp + 0x54]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x58]
mov eax, dword [esi + 4]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x38], 0
movups xmm0, xmmword [esp + 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
movups xmm0, xmmword [esp + 0x10]
push edi
push edx
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x28], 0
lea edx, [esp + 0x6c]
mov dword [esp + 0x2c], 0
movq xmm0, qword [esp + 0x28]
movq qword [esp + 0x7c], xmm0
mov dword [esp + 0x84], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x38]
test eax, eax
js 0x41414a
mov ecx, dword [esi + 0x58]
mov eax, ecx
shr eax, 0x10
movzx eax, al
movss xmm1, dword [0x47b96c]
mov edx, dword [edi]
mov dword [esp + 0x38], 0x3f800000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
movzx eax, cl
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x34], xmm0
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
lea eax, [esi + 0x2c]
push eax
push 0
lea eax, [esp + 0x34]
push eax
push edx
call ecx
test eax, eax
js 0x41414a
mov ecx, dword [esi + 0x64]
mov eax, ecx
shr eax, 0x10
movzx eax, al
movss xmm1, dword [0x47b96c]
mov edx, dword [edi]
mov dword [esp + 0x1c], 0x3f800000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
movzx eax, cl
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x18], xmm0
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
lea eax, [esi + 0x30]
push eax
push 0
lea eax, [esp + 0x18]
push eax
push edx
call ecx
test eax, eax
js 0x41414a
mov eax, dword [edi]
lea edx, [esp + 8]
push ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd4]
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov ecx, dword [edi]
lea edx, [esp + 0x40]
movaps xmm0, xmmword [0x47b970]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x78]
mov ecx, dword [esi + 0x5c]
mov eax, ecx
shr eax, 0x10
movzx eax, al
movss xmm1, dword [0x47b96c]
mov edx, dword [edi]
mov dword [esp + 0x20], 0x3f800000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
movzx eax, cl
lea ecx, [esp + 0x14]
push ecx
push edx
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x20], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x24], xmm0
mov eax, dword [edx]
call dword [eax + 0xbc]
mov eax, dword [esi + 0xf8]
lea edx, [esp + 0x14]
mov ecx, dword [edi]
push dword [esi + 0x2c]
mov dword [esp + 0x18], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push edx
push ecx
addsd xmm0, qword [eax*8 + 0x47b980]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x2c], xmm0
mov eax, dword [ecx]
call dword [eax + 0x44]
mov eax, dword [esi + 0xf8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push 0
push 4
push dword [esi + 0x30]
cvtpd2ps xmm1, xmm0
push edx
mov dword [esp + 0x24], 0x42200000
mov dword [esp + 0x2c], 0x43480000
push dword [esi + 0x38]
movaps xmm0, xmm1
addss xmm0, dword [0x47b960]
addss xmm1, dword [0x47b964]
push 9
push str.Uppercase
push ecx
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x40], xmm1
mov eax, dword [ecx]
call dword [eax + 0x6c]
cmp dword [esi + 0xa8], 0
je 0x413c56
mov eax, dword [esi + 0xfc]
lea edx, [esp + 0x14]
push 0
push 4
push dword [esi + 0x30]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push edx
mov dword [esp + 0x24], 0x41a00000
mov dword [esp + 0x28], 0x40a00000
push dword [esi + 0x38]
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, dword [esi + 0x100]
push 5
push str.Name:
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x38], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, dword [edi]
push eax
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [esi + 0xfc]
lea ecx, [esi + 0x98]
mov edx, dword [edi]
mov dword [esp + 0x18], 0x40a00000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, dword [esi + 0x100]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0xc]
subss xmm0, dword [0x47b95c]
movss dword [esp + 0x1c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cmp dword [ecx + 0x14], 8
addsd xmm0, qword [eax*8 + 0x47b980]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
jb 0x413c3a
mov ecx, dword [ecx]
mov eax, dword [edx]
lea ebx, [esp + 0x14]
push 0
push 4
push dword [esi + 0x30]
push ebx
push dword [esi + 0x38]
push dword [esi + 0xa8]
push ecx
push edx
call dword [eax + 0x6c]
cmp dword [esi + 0xc0], 0
je 0x413daf
mov ecx, dword [esi + 0x100]
lea edx, [esp + 0x14]
mov eax, ecx
mov dword [esp + 0x14], 0x41a00000
shr eax, 0x1f
push 0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
push 4
push dword [esi + 0x30]
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, dword [esi + 0xfc]
push edx
push dword [esi + 0x38]
cvtpd2ps xmm0, xmm0
push 5
push str.Size:
addss xmm0, dword [0x47b958]
movss dword [esp + 0x34], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
lea eax, [ecx + ecx]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x38], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, dword [edi]
push eax
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [esi + 0xfc]
mov ecx, dword [esi + 0x100]
mov edx, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x47b980]
lea eax, [ecx + ecx]
lea ecx, [esi + 0xb0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x47b958]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0xc]
subss xmm0, dword [0x47b95c]
movss dword [esp + 0x1c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cmp dword [ecx + 0x14], 8
addsd xmm0, qword [eax*8 + 0x47b980]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
jb 0x413d93
mov ecx, dword [ecx]
mov eax, dword [edx]
lea ebx, [esp + 0x14]
push 0
push 4
push dword [esi + 0x30]
push ebx
push dword [esi + 0x38]
push dword [esi + 0xc0]
push ecx
push edx
call dword [eax + 0x6c]
cmp dword [esi + 0xd8], 0
je 0x413f0a
mov ecx, dword [esi + 0x100]
lea edx, [esp + 0x14]
push 0
push 4
push dword [esi + 0x30]
lea eax, [ecx + ecx]
mov dword [esp + 0x20], 0x41a00000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push edx
push dword [esi + 0x38]
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, dword [esi + 0xfc]
push 5
push str.Hash:
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x47b958]
movss dword [esp + 0x34], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
lea eax, [ecx + ecx*2]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x38], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, dword [edi]
push eax
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [esi + 0xfc]
mov ecx, dword [esi + 0x100]
mov edx, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
lea eax, [ecx + ecx]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47b980]
lea eax, [ecx + ecx*4]
lea ecx, [esi + 0xc8]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x47b958]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0xc]
subss xmm0, dword [0x47b95c]
movss dword [esp + 0x1c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cmp dword [ecx + 0x14], 8
addsd xmm0, qword [eax*8 + 0x47b980]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
jb 0x413eee
mov ecx, dword [ecx]
mov eax, dword [edx]
lea ebx, [esp + 0x14]
push 0
push 4
push dword [esi + 0x30]
push ebx
push dword [esi + 0x38]
push dword [esi + 0xd8]
push ecx
push edx
call dword [eax + 0x6c]
mov eax, dword [esi + 0xe0]
cmp eax, 0x64
jne 0x413f85
mov eax, dword [esi + 0xf8]
lea edx, [esp + 0x14]
push 0
push 4
push dword [esi + 0x30]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push edx
mov dword [esp + 0x24], 0x43200000
mov dword [esp + 0x2c], 0x437a0000
push dword [esi + 0x38]
addsd xmm0, qword [eax*8 + 0x47b980]
mov eax, dword [edi]
push 2
push 0x47b48c
push eax
cvtpd2ps xmm1, xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x47b960]
addss xmm1, dword [0x47b968]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x40], xmm1
mov ecx, dword [eax]
call dword [ecx + 0x6c]
jmp 0x41410c
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x41408d
mov eax, dword [esi + 0xe0]
cmp eax, 0x64
jae 0x41408d
mov eax, dword [esi + 0xe0]
mov dword [esp + 0xcc], 0x47b494
mov dword [esp + 0xd0], 1
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.00443c50
lea edx, [esp + 0x8c]
mov ecx, 0xfffffff8
sub ecx, edx
add eax, ecx
lea ecx, [esp + 0x94]
sar eax, 1
mov dword [esp + 0x90], eax
lea eax, [esp + 0xd4]
push eax
mov eax, edx
mov dword [esp + 0x90], ecx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00443b80
mov eax, dword [esi + 0xf8]
lea ebx, [esp + 0x28]
mov edx, dword [edi]
lea ecx, [esp + 0x54]
add esp, 0x14
mov dword [esp + 0x14], 0x43200000
mov dword [esp + 0x1c], 0x437a0000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cmp dword [esp + 0x54], 8
push 0
cmovae ecx, dword [esp + 0x44]
push 4
push dword [esi + 0x30]
addsd xmm0, qword [eax*8 + 0x47b980]
push ebx
push dword [esi + 0x38]
push dword [esp + 0x64]
cvtpd2ps xmm1, xmm0
push ecx
push edx
movaps xmm0, xmm1
addss xmm0, dword [0x47b960]
addss xmm1, dword [0x47b968]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x40], xmm1
mov eax, dword [edx]
call dword [eax + 0x6c]
lea ecx, [esp + 0x40]
call fcn.004063e0
jmp 0x41410c
mov eax, dword [esi + 0xf8]
mov edx, dword [esi + 0x30]
mov ecx, dword [edi]
mov ebx, dword [esi + 0x38]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cmp byte [esi + 0x104], 0
push 0
push 4
push edx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0x43200000
addsd xmm0, qword [eax*8 + 0x47b980]
push edx
mov dword [esp + 0x2c], 0x437a0000
push ebx
cvtpd2ps xmm0, xmm0
movaps xmm1, xmm0
addss xmm1, dword [0x47b960]
addss xmm0, dword [0x47b968]
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x34], xmm0
mov eax, dword [ecx]
je 0x414101
push 2
push 0x47b498
jmp 0x414108
push 8
push 0x47b4a0
push ecx
call dword [eax + 0x6c]
mov ecx, dword [edi]
push 0
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc4]
mov edi, eax
pop ebx
cmp edi, 0x8899000c
jne 0x414148
mov ecx, dword [esi + 0x2c]
xor edi, edi
test ecx, ecx
je 0x414138
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x2c], edi
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x414148
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x30], edi
mov eax, edi
mov ecx, dword [esp + 0x110]
pop edi
pop esi
xor ecx, esp
call fcn.004481b5
add esp, 0x10c
ret