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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [0x100a9f28]
push esi
mov esi, ecx
mov byte [esp + 0x13], dl
push edi
mov eax, dword [ebp + 0x3e60]
mov dword [esp + 0x4c], esi
mov byte [eax + 0xac], 1
mov ebx, dword [ebp + 0x3e60]
cmp byte [ebx + 0xaf], 0
jne 0x100437b8
mov ecx, dword [ebx + 0xe4]
xor edx, edx
mov eax, dword [ebx + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.100130b0
mov ecx, dword [ebx]
mov edi, eax
add esp, 4
cmp dword [ecx + 0x3e94], edi
jne 0x10042fd0
push ecx
push esi
mov edx, 0xb
mov ecx, edi
call fcn.10027a40
add esp, 8
mov ecx, esi
cmp esi, 0xffffffff
jae 0x10042fed
mov dl, byte [ecx]
test dl, dl
je 0x10042fed
cmp dl, 0x23
jne 0x10042fe7
cmp byte [ecx + 1], dl
je 0x10042fed
inc ecx
cmp ecx, 0xffffffff
jb 0x10042fd7
mov eax, dword [0x100a9f28]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x3bcc]
cmp esi, ecx
jne 0x10043006
xorps xmm2, xmm2
jmp 0x1004304e
movss xmm3, dword [0x1009e5c0]
movaps xmm2, xmm1
push ecx
push ecx
push esi
push ecx
lea ecx, [esp + 0x48]
mov dword [esp], 0xbf800000
push ecx
mov ecx, dword [eax + 0x3bc8]
call fcn.10036900
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x1009e484]
movss xmm1, dword [esp + 0x3c]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov esi, dword [esp + 0x84]
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x50], xmm2
movss xmm3, dword [esi + 4]
ucomiss xmm3, xmm0
movss dword [esp + 0x34], xmm3
lahf
test ah, 0x44
jp 0x1004307e
movaps xmm3, xmm1
movss dword [esp + 0x34], xmm1
movss xmm1, dword [esi]
ucomiss xmm1, xmm0
movss dword [esp + 0x30], xmm1
lahf
test ah, 0x44
jp 0x1004309a
movaps xmm1, xmm2
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x20], xmm1
lea ecx, [esp + 0x20]
movss xmm1, dword [ebx + 0xf0]
movss dword [esp + 0x28], xmm1
movss xmm1, dword [ebx + 0xf4]
movss dword [esp + 0x5c], xmm1
addss xmm1, dword [ebx + 0x128]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x38], xmm1
xorps xmm1, xmm1
call fcn.10020bd0
mov ecx, dword [esp + 0x80]
mov edx, ecx
movss xmm2, dword [esp + 0x28]
shr edx, 1
and dl, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
je 0x1004310c
movss xmm7, dword [ebx + 0x200]
movss xmm1, dword [ebx + 0x208]
jmp 0x10043117
movss xmm1, dword [ebx + 0x1f8]
movaps xmm7, xmm2
movss xmm0, dword [esi]
xorps xmm4, xmm4
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1004312f
test ecx, 0x1000000
je 0x1004313f
movss xmm5, dword [esp + 0x50]
subss xmm1, xmm7
maxss xmm5, xmm1
jmp 0x10043145
movss xmm5, dword [esp + 0x30]
movss xmm6, dword [esp + 0x38]
addss xmm5, xmm7
movss dword [esp + 0x60], xmm2
movaps xmm0, xmm6
movss dword [esp + 0x64], xmm6
movss dword [esp + 0x68], xmm7
movss dword [esp + 0x6c], xmm6
movss dword [esp + 0x58], xmm5
movss dword [esp + 0x70], xmm5
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x74], xmm0
test ecx, 0x4000000
jne 0x10043208
test dl, dl
jne 0x100431a2
movss xmm4, dword [ebp + 0x37d4]
movss xmm3, dword [ebp + 0x37d8]
movaps xmm0, xmm4
mulss xmm0, dword [0x1009e450]
cvttss2si eax, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1009e450]
movd xmm2, eax
cvttss2si eax, xmm0
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm4, xmm2
subss xmm3, xmm0
subss xmm7, xmm2
subss xmm6, xmm0
addss xmm4, xmm5
addss xmm3, dword [esp + 0x38]
movss dword [esp + 0x68], xmm7
movss dword [esp + 0x6c], xmm6
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x74], xmm3
movss xmm0, dword [ebx + 0x210]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [ebx + 0x218]
movss dword [esp + 0x30], xmm0
test dl, dl
je 0x10043240
mov eax, dword [ebx + 0x200]
mov dword [ebx + 0x210], eax
mov eax, dword [ebx + 0x208]
mov dword [ebx + 0x218], eax
mov eax, ecx
mov edx, edi
shr eax, 3
lea ecx, [esp + 0x68]
and eax, 0xffffff01
mov dword [esp + 0x34], eax
movzx eax, al
shl eax, 2
push eax
push 0
call fcn.10020d30
mov cl, al
add esp, 8
mov eax, dword [esp + 0x20]
test al, al
je 0x1004328b
movss xmm0, dword [esp + 0x38]
movss dword [ebx + 0x210], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [ebx + 0x218], xmm0
test cl, cl
je 0x100437b8
mov ecx, dword [ebp + 0x46b8]
shr ecx, 2
and ecx, 0xffffff01
cmp byte [esp + 0x34], 0
mov dword [esp + 0x30], ecx
je 0x100432ba
test cl, cl
jne 0x100432ba
call fcn.1001e360
mov eax, dword [esp + 0x20]
test al, al
je 0x10043392
cmp dword [ebx + 0x190], 0
je 0x100432d5
call fcn.10038ce0
jmp 0x10043392
cmp dword [ebp + 0x4a28], 0
je 0x10043392
mov eax, dword [0x100a9f28]
mov esi, dword [eax + 0x3e60]
mov ecx, dword [eax + 0x4a28]
movups xmm0, xmmword [esi + 0x210]
movups xmmword [ecx + 0x13c], xmm0
mov eax, dword [esi + 0x264]
movups xmm0, xmmword [ecx + 0x11c]
movss xmm4, dword [ecx + 0x11c]
movss xmm3, dword [ecx + 0x120]
movss xmm2, dword [ecx + 0x124]
movss xmm1, dword [ecx + 0x128]
movups xmmword [esi + 0x210], xmm0
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm1
movss dword [eax + 0x60], xmm4
movss dword [eax + 0x64], xmm3
movss dword [eax + 0x68], xmm2
movss dword [eax + 0x6c], xmm1
mov eax, dword [esi + 0x264]
movups xmm0, xmmword [esp + 0x38]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add edx, edx
movups xmmword [eax + edx*8 - 0x10], xmm0
movzx eax, word [ecx + 0x1da]
mov ecx, dword [ecx + 0x160]
push eax
push dword [esi + 0x264]
call fcn.10033670
mov ecx, dword [esp + 0x1c]
shr ecx, 3
and ecx, 0x20000
mov edx, ecx
or edx, 0x100000
test dword [esp + 0x1c], 0x8000000
cmove edx, ecx
mov ecx, edx
or ecx, 0x10
test dword [esp + 0x1c], 0x400000
cmove ecx, edx
mov edx, ecx
or edx, 0x80
test dword [esp + 0x1c], 0x800000
cmove edx, ecx
mov ecx, dword [esp + 0x1c]
mov esi, edx
or esi, 0x120
test cl, 4
cmove esi, edx
test cl, 0x10
jne 0x100433f8
test dword [ebp + 0x46dc], 0x200
je 0x100433fe
or esi, 0x1000
mov al, byte [esp + 0x17]
lea ecx, [esp + 0x68]
mov byte [esp + 0x1a], al
mov edx, edi
push esi
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x21]
push eax
call fcn.10039a10
mov dl, al
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x18], dl
test eax, 0x200000
je 0x10043458
mov esi, dword [ebp + 0x480c]
test esi, esi
je 0x10043458
mov ecx, dword [ebp + 0x4810]
cmp ecx, dword [ebp + 0x46b4]
jne 0x10043458
cmp esi, edi
jne 0x10043458
mov dl, 1
mov byte [esp + 0x18], dl
mov byte [esp + 0x17], dl
jmp 0x10043471
test dl, dl
jne 0x10043471
cmp byte [esp + 0x19], dl
je 0x10043530
test eax, 0x2000000
je 0x10043526
cmp byte [ebp + 0x482b], 0
jne 0x1004350a
cmp dword [ebp + 0x47f0], ebx
jne 0x1004350a
mov eax, dword [ebx + 0x148]
cmp dword [ebp + 0x4824], eax
jne 0x1004350a
movss xmm1, dword [ebx + 0x100]
lea ecx, [esp + 0x38]
movss xmm0, dword [esp + 0x68]
mov edx, eax
movss xmm2, dword [ebx + 0x104]
subss xmm0, xmm1
push ecx
push dword [ebp + 0x46b4]
mov ecx, edi
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x74]
subss xmm0, xmm2
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x78]
subss xmm0, xmm1
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, xmm2
movss dword [esp + 0x4c], xmm0
call fcn.10022980
mov dl, byte [esp + 0x20]
add esp, 8
mov byte [ebp + 0x482a], 1
test dl, dl
je 0x10043515
mov ecx, edi
call fcn.10015a10
mov al, byte [esp + 0x1a]
cmp byte [esp + 0x17], al
je 0x10043526
or dword [ebp + 0x46e0], 8
mov dl, byte [esp + 0x19]
test dl, dl
jne 0x1004353b
jmp 0x10043534
mov dl, byte [esp + 0x19]
cmp byte [esp + 0x17], 0
je 0x100435b7
cmp byte [esp + 0x1b], 0
je 0x1004354d
test dl, dl
je 0x1004354d
mov esi, 0x1a
jmp 0x1004355d
xor eax, eax
test dl, dl
setne al
add eax, 0x18
mov dword [esp + 0x38], eax
mov esi, eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
movss xmm1, dword [0x1009e48c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov eax, dword [0x100a9f28]
push 0
push ecx
mov dword [esp + 0x44], ecx
mov ecx, esi
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x3e60]
mov dword [esp], 0
call fcn.10013b70
mov ecx, dword [edx + 0x264]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10032c40
cmp dword [ebp + 0x47f4], edi
jne 0x100435cf
push 0xa
mov edx, edi
lea ecx, [esp + 0x6c]
call fcn.100144d0
add esp, 4
cmp byte [esp + 0x20], 0
je 0x100436a0
cmp dword [ebx + 0x190], 0
je 0x100435ed
call fcn.10038d90
jmp 0x100436a0
cmp dword [ebp + 0x4a28], 0
je 0x100436a0
mov eax, dword [0x100a9f28]
mov ecx, dword [eax + 0x4a28]
mov edi, dword [eax + 0x3e60]
imul esi, dword [ecx + 0x48], 0x70
movups xmm0, xmmword [ecx + 0x13c]
mov eax, dword [edi + 0x264]
movss xmm4, dword [ecx + 0x13c]
movss xmm3, dword [ecx + 0x140]
movss xmm2, dword [ecx + 0x144]
movss xmm1, dword [ecx + 0x148]
add esi, dword [ecx + 0x10]
movups xmmword [edi + 0x210], xmm0
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm1
movss dword [eax + 0x60], xmm4
movss dword [eax + 0x64], xmm3
movss dword [eax + 0x68], xmm2
movss dword [eax + 0x6c], xmm1
mov eax, dword [edi + 0x264]
movups xmm0, xmmword [esp + 0x38]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add edx, edx
movups xmmword [eax + edx*8 - 0x10], xmm0
movzx eax, word [esi + 0x5c]
mov ecx, dword [ecx + 0x160]
push eax
push dword [edi + 0x264]
call fcn.10033670
lea eax, [esp + 0x68]
push eax
lea eax, [ebp + 0x3828]
push eax
lea eax, [esp + 0x58]
push eax
push 0
push dword [esp + 0x5c]
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x74]
call fcn.10014210
add esp, 0x14
cmp byte [esp + 0x18], 0
je 0x10043799
test dword [ebx + 0xc], 0x4000000
je 0x10043799
test byte [esp + 0x1c], 1
jne 0x10043799
test byte [ebp + 0x46dc], 0x20
jne 0x10043799
mov edi, dword [0x100a9f28]
mov ebx, dword [edi + 0x47c8]
sub ebx, 1
mov esi, ebx
js 0x10043799
cmp esi, dword [edi + 0x47bc]
jge 0x10043799
mov eax, dword [edi + 0x47d0]
lea ecx, [esi + esi*4]
mov edx, dword [edi + 0x47c4]
shl ecx, 3
mov eax, dword [ecx + eax]
cmp eax, dword [edx + ecx]
jne 0x10043799
test esi, esi
jle 0x10043767
lea eax, [edx - 0x24]
add eax, ecx
nop dword [eax]
mov edx, dword [eax + 0x28]
mov ecx, dword [eax]
test edx, edx
je 0x10043767
test dword [edx + 0xc], 0x10000000
je 0x10043767
test ecx, ecx
je 0x10043767
test dword [ecx + 0xc], 0x400
jne 0x10043767
dec esi
sub eax, 0x28
test esi, esi
jg 0x10043740
test byte [edi + 0x5b14], 4
je 0x1004377f
push esi
push ebx
push str._popup__CloseCurrentPopup__d_____d_n
call fcn.100276c0
add esp, 0xc
mov dl, 1
mov ecx, esi
call fcn.10021fd0
mov eax, dword [edi + 0x47f0]
test eax, eax
je 0x10043799
mov byte [eax + 0x151], 1
cmp byte [esp + 0x34], 0
je 0x100437ac
cmp byte [esp + 0x30], 0
jne 0x100437ac
call fcn.1001e3f0
mov al, byte [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x6c
ret