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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
mov byte [esp + 0xf], 0
cmp dword [edi + 0x68], 0
je 0x102399ac
mov eax, dword [ebp + 8]
cmp dword [edi + 0x98], eax
jne 0x1023994f
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x10239968
push 0x1c
push eax
call fcn.1045088a
add esp, 8
mov dword [edi + 0x7c], 0
mov eax, dword [edi + 0x68]
test eax, eax
je 0x1023997f
push eax
push dword [edi + 0x60]
call fcn.1019ba60
mov dword [edi + 0x68], 0
mov ecx, dword [edi + 0x8c]
mov dword [edi + 0x88], 0
test ecx, ecx
je 0x102399a2
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 0x8c], 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [edi + 0xa0], eax
mov eax, dword [ebp + 0xc]
push 0x1046de20
mov dword [edi + 0x9c], eax
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
call fcn.101fedc0
test al, al
je 0x10239f07
test esi, esi
jne 0x102399fc
call fcn.101ff770
push 0x1046de20
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x10239a0a
push 0x1046de30
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x10239a12
call ebx
jmp 0x10239a14
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x14], 0
test eax, eax
je 0x10239f07
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
push ecx
push 0x10202220
push 0x100f3ad0
push dword [ebp + 8]
call eax
mov ecx, dword [esp + 0x14]
test eax, eax
cmove ebx, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
test ecx, ecx
je 0x10239f07
mov eax, dword [ecx + 8]
mov dword [edi + 0x90], eax
mov eax, dword [ecx + 4]
mov ecx, dword [0x11d0c5b8]
mov dword [edi + 0x94], eax
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x7a68]
mov esi, dword [eax + 0x7a6c]
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, eax
mov dword [edi + 8], esi
mov dword [edi + 4], ecx
test ecx, ecx
je 0x10239aa5
mov eax, dword [ecx]
push esi
call dword [eax]
mov eax, dword [edi + 0x94]
xor ecx, ecx
mov esi, dword [edi + 0x5c]
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x90]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x44], ecx
and ecx, 0xbfffff7f
mov dword [esp + 0x58], eax
or ecx, 0x10000
lea eax, [esp + 0x48]
mov byte [edi + 0xc], 0
push eax
push dword [esi]
and ecx, 0xfffffffe
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x44], xmm0
mov dword [esp + 0x40], 1
mov dword [esp + 0x50], 0x15
mov dword [esp + 0x54], 2
mov dword [esp + 0x64], 1
mov dword [esp + 0x84], 1
mov dword [esp + 0x80], ecx
call fcn.1019b910
test eax, eax
js 0x10239edf
mov eax, dword [esp + 0x74]
mov dword [edi + 0x68], eax
test eax, eax
je 0x10239ef4
mov eax, dword [edi + 0x94]
xor bh, bh
imul eax, dword [edi + 0x90]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], esi
shl eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esp + 0x10], ecx
test esi, esi
je 0x10239ed9
cmp dword [esp + 0x24], 0
je 0x10239ed9
cmp dword [edi + 0x68], 0
je 0x10239ed9
test ecx, ecx
je 0x10239eb9
mov eax, dword [edi + 0x94]
add esi, 0x428
shl eax, 2
mov dword [esp + 0x18], esi
mov esi, dword [edi + 0x90]
imul esi, eax
mov dword [esp + 0x20], eax
push esi
push 0
push ecx
call fcn.10425c00
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov eax, dword [esp + 0x1c]
sub esi, ecx
shr esi, 2
add esp, 0xc
mov dword [esp + 0x1c], edx
lea eax, [eax + esi*4]
mov esi, dword [edi + 0x90]
mov dword [esp + 0x24], eax
test esi, esi
je 0x10239d87
and ecx, 0xfffffffc
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x94]
test eax, eax
je 0x10239d66
mov edx, dword [esp + 0x24]
mov esi, 1
nop word [eax + eax]
movzx ecx, byte [ecx + esi - 1]
xor bl, bl
mov dword [esp + 0x2c], esi
cmp ecx, dword [edi + 0xa0]
je 0x10239d4a
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ecx*4 + 0x28]
cmp byte [edi + 0xa9], bl
jne 0x10239c61
or eax, 0xff000000
mov dword [edx], eax
mov eax, dword [esp + 0x28]
cmp dword [eax + ecx*4 + 0x28], 0
je 0x10239c78
test bh, bh
jne 0x10239c78
mov bl, 1
jmp 0x10239c78
test eax, eax
je 0x10239c72
test bh, bh
mov dword [edx], 0xffffffff
sete bl
jmp 0x10239c78
mov dword [edx], 0xff000000
cmp byte [edi + 0xa8], 0
je 0x10239c87
mov dword [edx], 0xff969696
test bl, bl
je 0x10239d4a
mov eax, dword [edi + 0x90]
xorps xmm0, xmm0
mov ecx, eax
mov bh, 1
sub ecx, dword [esp + 0x1c]
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1122e340]
lea eax, [ecx - 2]
cvtpd2ps xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1122e340]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [edi + 0xb0], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
addsd xmm0, qword [eax*8 + 0x1122e340]
mov eax, dword [edi + 0x94]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1122e340]
lea eax, [ecx - 1]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
movss dword [edi + 0xac], xmm1
movss dword [edi + 0xb4], xmm1
addsd xmm0, qword [eax*8 + 0x1122e340]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [edi + 0xb8], xmm0
mov eax, dword [edi + 0x94]
add edx, 4
mov ecx, dword [esp + 0x18]
inc esi
cmp dword [esp + 0x2c], eax
jb 0x10239c20
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
inc edx
sub dword [esp + 0x24], esi
add ecx, eax
mov esi, dword [edi + 0x90]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
cmp edx, esi
jb 0x10239c00
mov ecx, dword [edi + 0x94]
xor edx, edx
mov eax, dword [esp + 0x10]
and edx, 0xbfffff7f
mov ebx, dword [edi + 0x5c]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
or edx, 0x10000
lea eax, [ecx*4]
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], eax
and edx, 0xfffffffe
lea eax, [esp + 0x30]
imul esi, ecx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push eax
push dword [ebx]
movlpd qword [esp + 0x58], xmm0
shl esi, 2
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0x15
mov dword [esp + 0x54], 1
mov dword [esp + 0x64], 1
mov dword [esp + 0x84], 1
mov dword [esp + 0x80], edx
call fcn.1019b910
test eax, eax
js 0x10239ec9
mov esi, dword [esp + 0x74]
test esi, esi
je 0x10239eae
mov eax, dword [edi + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x90]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x94]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
movups xmm0, xmmword [esp + 0x54]
mov dword [esp + 0x4c], esi
push dword [eax]
mov dword [esp + 0x54], 0
mov dword [esp + 0x6c], 0
movups xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
call fcn.1019daf0
push esi
push dword [edi + 0x60]
call fcn.1019ba60
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 8]
mov dword [edi + 0x98], eax
mov byte [esp + 0xf], 1
jmp 0x10239ef4
or byte [ebx + 0xa4], 2
or dword [ebx + 0x6c], 0x200
jmp 0x10239eae
test ecx, ecx
je 0x10239eb9
jmp 0x10239eb2
or byte [esi + 0xa4], 2
or dword [esi + 0x6c], 0x200
mov dword [edi + 0x68], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10239f07
push 0x28
push ecx
call fcn.1045088a
add esp, 8
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc