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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x20]
bswap edx
shr edx, 8
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x28]
bswap edx
shr edx, 8
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 0x24]
bswap edx
shr edx, 8
mov dword [esp + 0xac], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x9c], ecx
imul ecx, edi
bswap edx
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0x10]
shr edx, 8
mov dword [esp + 0x80], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x94], ecx
mov byte [esp + 0x13], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0xb4], edx
test eax, eax
jne 0x542d79
lea eax, [ecx*4]
push eax
push 0
push esi
call fcn.005861d0
add esp, 0xc
jmp 0x542d86
bswap eax
push ecx
shr eax, 8
push eax
push esi
call sym.SystemInformer.exe_Ordinal_1359
mov edx, dword [esp + 0xc]
lea esi, [edi - 1]
movss xmm1, dword [0x62451c]
xorps xmm0, xmm0
mov dword [esp + 0x24], esi
mov dword [esp + 0x90], 0x7fffffff
cmp dword [edx + 0x14], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x74], 0x7fffffff
mov dword [esp + 0x70], 0
jbe 0x542e5a
mov eax, dword [edx + 0x18]
mov esi, dword [edx + 4]
dec esi
maxss xmm0, dword [eax]
minss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x3c], xmm1
mulss xmm0, xmm1
call fcn.005a6fb0
mov edx, dword ds:[esp + 0xc]
mov ecx, eax
mov dword [esp + 0x44], ecx
test byte [edx + 8], 0x10
je 0x542e46
mov ecx, dword [edx + 0x1c]
xorps xmm1, xmm1
movss xmm2, dword [esp + 0x3c]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm2, dword [ecx]
maxss xmm1, xmm2
movss xmm2, dword [0x62451c]
minss xmm2, xmm1
mulss xmm0, xmm2
call fcn.005a6fb0
movss xmm1, dword [0x62451c]
lea esi, [edi - 1]
mov edx, dword [esp + 0xc]
xorps xmm0, xmm0
jmp 0x542e64
movss xmm1, dword [0x62451c]
lea esi, [edi - 1]
mov dword [esp + 0x28], ecx
xorps xmm0, xmm0
jmp 0x542e68
mov dword [esp + 0x44], 0
xor eax, eax
mov dword [esp + 0x28], eax
test byte [esp + 0x4c], 3
je 0x542ea9
mov eax, dword [edx + 0x40]
movss xmm3, dword [edx + 0x38]
mov ecx, dword [edx + 0x34]
maxss xmm3, xmm0
mov dword [esp + 0x84], eax
mov eax, dword [edx + 0x3c]
imul eax, dword [edx + 0xc]
xor edx, edx
div ecx
sub ecx, edx
mov edx, dword [esp + 0xc]
dec ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 0x30]
bswap ecx
shr ecx, 8
mov dword [esp + 0x68], ecx
jmp 0x542eca
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
movss xmm3, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], eax
mov eax, dword ds:[esp + 0x4c]
and eax, 6
movss dword [esp + 0x6c], xmm3
movss dword [esp + 0x50], xmm3
cmp al, 6
jne 0x542fd7
movss xmm0, dword [edx + 0x44]
comiss xmm0, xmm1
movss dword [esp + 0x98], xmm0
jbe 0x542fcc
cvtps2pd xmm0, xmm0
call fcn.005a75f0
movsd qword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x6c]
cvtps2pd xmm0, xmm0
call fcn.005a75f0
xorps xmm0, xmmword [0x624670]
sub esp, 8
divsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 0xa8], xmm0
fld qword [esp + 0xa8]
fstp qword [esp]
call fcn.005a3d60
fstp qword [esp + 0xa8]
movsd xmm0, qword [esp + 0xa8]
add esp, 8
subsd xmm0, qword [0x624528]
mulsd xmm0, qword [esp + 0xb8]
call fcn.005a7310
movss xmm2, dword [esp + 0x6c]
cvtps2pd xmm1, xmm2
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
movss dword [esp + 0x50], xmm0
ja 0x542fa6
fld dword [esp + 0x50]
push ecx
fstp dword [esp]
call fcn.005a72f0
add esp, 4
test ax, ax
jle 0x542fab
xorps xmm0, xmm0
jmp 0x542fb1
movss xmm0, dword [esp + 0x50]
movss xmm1, dword [0x62451c]
mov edx, dword [esp + 0xc]
movaps xmm3, xmm1
minss xmm3, xmm0
movss dword [esp + 0x50], xmm3
jmp 0x542fe6
xorps xmm3, xmm3
movss dword [esp + 0x50], xmm3
jmp 0x542fe6
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x98], xmm0
mov eax, dword [esp + 0x4c]
xorps xmm0, xmm0
and eax, 0x1000
mov dword [esp + 0x3c], eax
je 0x543004
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x78], eax
jmp 0x543014
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
mov dword ds:[esp + 0x64], ecx
test esi, esi
js 0x5434ec
mov ecx, dword [esp + 0x4c]
mov esi, ecx
and esi, 1
mov dword [esp + 0xa0], esi
mov esi, ecx
and esi, 2
and ecx, 0x10
mov dword [esp + 0xb8], esi
mov dword [esp + 0x60], ecx
nop dword [eax + eax]
cmp byte [esp + 0x13], 0
jne 0x543144
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x44]
inc edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x7c], edi
cmp edi, dword [edx + 0x14]
jae 0x5430fe
lfence
mov eax, dword [edx + 0x18]
maxss xmm0, dword [eax + edi*4]
mov eax, dword [edx + 4]
dec eax
minss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x34], xmm0
mulss xmm0, xmm1
call fcn.005a6fb0
mov edx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
test byte [edx + 8], 0x10
je 0x5430f2
mov eax, dword [edx + 0x1c]
xorps xmm1, xmm1
movss xmm2, dword [esp + 0x38]
movss xmm0, dword [esp + 0x34]
addss xmm2, dword [eax + edi*4]
maxss xmm1, xmm2
movss xmm2, dword [0x62451c]
minss xmm2, xmm1
mulss xmm0, xmm2
call fcn.005a6fb0
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x2c]
jmp 0x543108
mov ecx, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
jmp 0x54310c
mov dword [esp + 0x44], 0
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0x44]
add eax, ecx
add edi, esi
shr eax, 1
shr edi, 1
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x38], eax
je 0x543160
mov eax, dword [esp + 0x7c]
cmp eax, dword [edx + 0x58]
jae 0x543160
cmp dword [esp + 0x78], ecx
ja 0x543160
mov dword [esp + 0x78], ecx
mov dword [esp + 0x64], eax
jmp 0x543160
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
lea ecx, [ecx + esi]
mov esi, dword [esp + 0x90]
shr ecx, 1
mov eax, ecx
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0x34]
imul eax, edi
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x40], edi
add edx, eax
mov eax, dword [esp + 0x1c]
cmp esi, eax
cmovae eax, ecx
mov dword [esp + 0x48], eax
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
imul edi, eax
imul eax, dword [esp + 0x1c]
cmp esi, dword [esp + 0x1c]
mov esi, ecx
mov dword [esp + 0x48], edi
mov edi, edx
cmovae edi, eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x34]
cmp edi, dword [esp + 0x1c]
cmovae esi, edi
imul esi, eax
imul eax, edi
cmp edi, dword [esp + 0x1c]
mov dword [esp + 0x8c], esi
cmovae eax, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x88]
cmovg eax, dword [esp + 0x88]
cmp ecx, dword [esp + 0x40]
cmovl ecx, dword [esp + 0x40]
add eax, edx
add ecx, edx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x60], 0
mov dword [esp + 0x48], ecx
je 0x543313
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
shr ecx, 1
mov eax, ecx
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x38]
imul eax, edx
mov dword [esp + 0x88], edi
add edx, eax
mov eax, dword [esp + 0x2c]
cmp esi, eax
mov edi, eax
cmovae edi, ecx
imul eax, dword [esp + 0x18]
imul edi, dword [esp + 0x18]
cmp esi, dword [esp + 0x2c]
mov esi, ecx
mov dword [esp + 0x5c], edi
mov edi, edx
cmovae edi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x38]
cmp edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
cmovae esi, edi
imul esi, dword [esp + 0x18]
mov dword [esp + 0x70], esi
mov esi, edi
imul esi, dword [esp + 0x18]
cmp edi, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
cmovae esi, edx
cmp ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
cmovg ecx, dword [esp + 0x40]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x5c]
cmp esi, dword [esp + 0x88]
cmovl esi, dword [esp + 0x88]
add ecx, edx
add esi, edx
mov dword [esp + 0x58], ecx
add eax, edi
mov dword [esp + 0x5c], esi
cmp eax, ecx
jge 0x543322
mov edx, dword [esp + 0x74]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x58], ecx
mov dword [esi + eax*4], edx
add eax, edi
cmp eax, ecx
jl 0x543304
mov edx, dword [esp + 0x24]
jmp 0x543329
mov edi, dword ds:[esp + 0x18]
mov esi, dword [esp + 0x80]
jmp 0x54332d
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x30]
mov ecx, edx
cmp edx, eax
jge 0x54334d
mov edx, dword [esp + 0xa8]
nop word [eax + eax]
mov dword [esi + ecx*4], edx
add ecx, edi
cmp ecx, eax
jl 0x543340
mov edx, dword [esp + 0x24]
cmp dword [esp + 0xa0], 0
je 0x54339d
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x543382
mov ecx, edx
cmp edx, dword [esp + 0x94]
jge 0x54337e
mov edx, dword [esp + 0x68]
nop
mov dword [esi + ecx*4], edx
add ecx, edi
cmp ecx, dword [esp + 0x94]
jl 0x543370
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x40], 0
cmp ecx, dword [edx + 0x34]
cmove ecx, dword [esp + 0x40]
mov dword [esp + 0x54], ecx
jmp 0x5433a1
mov edx, dword [esp + 0xc]
cmp dword [esp + 0xb8], 0
je 0x54347e
mov ecx, dword [esp + 0x9c]
dec ecx
test byte [esp + 0x4c], 4
mov dword [esp + 0x1c], ecx
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
je 0x54341f
movss xmm1, dword ds:[esp + 0x50]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
cmp ecx, dword [esp + 0x1c]
jg 0x54347e
mov edx, dword [esp + 0x68]
nop
divss xmm1, dword [esp + 0x98]
mov eax, ecx
imul eax, edi
movaps xmm0, xmm2
mulss xmm0, xmm1
add eax, dword [esp + 0x24]
mov dword [esi + eax*4], edx
mov eax, ecx
sub eax, dword [esp + 0x84]
cvttss2si ecx, xmm0
cmp ecx, eax
jle 0x5433f0
jmp 0x543476
movss xmm3, dword [esp + 0x6c]
mulss xmm0, xmm3
movaps xmm1, xmm3
mov dword [esp + 0x40], 0
cvttss2si ecx, xmm0
cmp ecx, dword [esp + 0x1c]
jge 0x54347e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x84]
add eax, edx
cmp ecx, eax
jl 0x543461
mov edx, dword [esp + 0x68]
mov eax, ecx
imul eax, edi
add eax, dword [esp + 0x24]
mov dword [esi + eax*4], edx
mov edx, ecx
addss xmm1, xmm3
movaps xmm0, xmm2
mulss xmm0, xmm1
cvttss2si ecx, xmm0
cmp ecx, dword [esp + 0x1c]
jl 0x543442
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x60], 0
je 0x5434af
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
cmp ecx, edx
mov edx, dword [esp + 0xc]
jg 0x5434af
mov eax, dword [esp + 0xac]
nop dword [eax]
mov dword [esi + ecx*4], eax
add ecx, edi
cmp ecx, dword [esp + 0x5c]
jle 0x5434a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jg 0x5434cd
mov edx, dword [esp + 0x20]
nop dword [eax + eax]
mov dword [esi + eax*4], edx
add eax, edi
cmp eax, ecx
jle 0x5434c0
mov edx, dword [esp + 0xc]
xor byte [esp + 0x13], 1
xorps xmm0, xmm0
sub dword [esp + 0x24], 1
movss xmm1, dword [0x62451c]
mov eax, dword [esp + 0x28]
jns 0x543050
cmp dword [esp + 0x3c], 0
je 0x543667
mov ecx, dword ds:[esp + 0x64]
cmp ecx, dword [edx + 0x14]
jae 0x543667
test byte [esp + 0x4c], 0x10
lfence
mov eax, dword [edx + 0x18]
movss xmm1, dword [eax + ecx*4]
je 0x543526
lfence
mov eax, dword [edx + 0x1c]
addss xmm1, dword [eax + ecx*4]
movss xmm0, dword [edx + 0x4c]
sub esp, 8
mov esi, dword [edx + 0x48]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push ecx
push edx
mov ecx, esi
call dword [0x5a9914]
call esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x54366b
xor eax, eax
lfence
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x543577
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x60], eax
push dword ds:[esi + 0x54]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xac]
push eax
mov eax, dword [ecx]
shr eax, 1
push eax
push dword [ecx + 4]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov edx, dword [esp + 0x9c]
sub edx, dword [esp + 0x78]
mov eax, dword [0x62dd68]
sub edx, eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xc4], edx
sub edx, ecx
mov dword [esp + 0xbc], edx
cmp edx, eax
jge 0x5435ed
mov dword [esp + 0xbc], eax
add eax, ecx
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x64]
push 0x102
mov dword [esp + 0xbc], 0
lea eax, [ecx + ecx]
mov ecx, edi
cmp eax, edi
cmovl ecx, eax
lea eax, [esp + 0xbc]
sub edi, ecx
sub edi, dword [0x62dd6c]
mov dword [esp + 0xc4], edi
mov edi, dword [esp + 0x40]
push eax
mov eax, dword [edi]
shr eax, 1
push eax
push dword [edi + 4]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword ds:[esp + 0x60]
test eax, eax
je 0x54364f
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [edi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x54366b
lfence
call fcn.004fe1e0
jmp 0x54366b
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x60], 0
je 0x543712
mov eax, dword ds:[esi + 0x84]
xor edi, edi
test eax, eax
je 0x543691
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
push 1
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [esi + 0x8c]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov eax, dword [0x635790]
test eax, eax
jne 0x5436c3
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x635790], eax
push eax
lea eax, [esi + 0x74]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_FillRect]
push dword ds:[esi + 0x88]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x100
lea eax, [esi + 0x64]
push eax
mov eax, dword [esi + 0x5c]
shr eax, 1
push eax
push dword [esi + 0x60]
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
test edi, edi
je 0x543712
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword ds:[esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.00583f9f
mov esp, ebp
pop ebp
ret 0xc