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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov ebx, dword [ebp + 0xc]
mov eax, ebx
sub eax, dword [edx + 8]
jb 0x1004943e
mov esi, dword [edx + 0xc]
cmp eax, esi
jae 0x1004943e
mov edi, dword [ebp + 0x14]
mov dword [esp + 4], edx
lea edx, [edi*8]
cmp esi, edx
mov edx, dword [esp + 4]
jbe 0x1004943e
lea eax, [eax + edi*8]
cmp eax, esi
ja 0x1004943e
test edi, edi
mov dword [esp + 0x28], ecx
je 0x10049448
lea eax, [edx + 0x10]
lea ecx, [edx + 0x1c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], ecx
mov edi, dword [edx + 8]
mov eax, ebx
sub eax, edi
jb 0x10049466
mov esi, dword [edx + 0xc]
cmp eax, esi
jae 0x10049466
cmp esi, 9
jb 0x10049466
add eax, 8
cmp eax, esi
ja 0x10049466
mov edx, dword [ebp + 8]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
lea ecx, [esp + 0xc]
push 8
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.10048850
add esp, 0xc
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10049474
cmp dword [esp + 0x14], 8
jne 0x1004945e
mov edx, dword [esp + 0x78]
mov eax, edx
and eax, 0x7fffffff
cmp esi, eax
jbe 0x10049466
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
cmp byte [ebp + 0x10], 0
mov dword [esp + 8], ebx
je 0x100490f0
and eax, 0x7fffffff
mov dword [esp + 0x80], edx
cmp esi, eax
jbe 0x10049466
mov edx, dword [ebp + 8]
mov ecx, eax
mov eax, edi
mov word [esp + 0x4e], 0
mov edi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], eax
add edi, eax
push 2
lea eax, [esp + 0x52]
push eax
mov dword [esp + 0x58], edi
push edi
call fcn.10048a00
add esp, 0xc
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test edx, edx
jne 0x1004949c
cmp ecx, 2
jne 0x1004945e
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 4]
add ecx, 2
mov dword [esp + 0x50], ecx
sub ecx, dword [esp + 0x2c]
jb 0x10049466
cmp ecx, esi
jae 0x10049466
movzx eax, word [eax]
lea edi, [eax + eax]
cmp esi, edi
jbe 0x10049466
lea eax, [ecx + eax*2]
cmp eax, esi
ja 0x10049466
mov esi, dword [edx + 4]
mov ebx, dword [edx + 0x14]
cmp edi, esi
cmovb esi, edi
cmp ebx, esi
jbe 0x10049047
mov eax, dword [edx + 0x18]
nop dword [eax]
cmp ebx, eax
mov ecx, eax
cmovb ecx, ebx
test ecx, ecx
je 0x10049569
dec ebx
cmp ebx, esi
mov dword [edx + 0x14], ebx
ja 0x10049030
cmp ebx, esi
mov dword [esp + 0x7c], edi
jb 0x100490c9
mov eax, dword [esp + 0x48]
mov edi, dword [eax]
mov eax, dword [edx + 0x18]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
cmp ebx, eax
cmovb eax, ebx
mov dword [esp + 0x2c], eax
push eax
push edi
push dword [esp + 0x58]
call fcn.10048a00
add esp, 0xc
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10049482
cmp dword [esp + 0x14], esi
jne 0x100490fe
mov edi, dword [esp + 0x10]
jmp 0x10049124
mov ecx, dword [esp + 0x48]
mov edx, ebx
call fcn.1000a610
cmp al, 8
jne 0x10049456
mov edx, dword [esp + 4]
mov edi, dword [edx + 0x10]
mov ebx, dword [edx + 0x14]
mov byte [edi + ebx], 0
inc ebx
cmp ebx, esi
mov dword [edx + 0x14], ebx
jae 0x10049055
cmp ebx, dword [edx + 0x18]
jb 0x100490b3
inc ebx
mov ecx, ebx
call fcn.1001fc80
test eax, eax
je 0x100490a0
cmp eax, ebx
jbe 0x100490a0
mov ecx, dword [esp + 0x48]
mov edx, eax
call fcn.1000a610
cmp al, 8
jne 0x100490a0
jmp 0x100490b3
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], 1
jmp 0x10049148
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
push dword [esp + 0x2c]
push edi
push dword [esp + 0x58]
call fcn.10048850
add esp, 0xc
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10049482
mov esi, ebx
mov ecx, edi
mov edx, esi
call 0x100733d0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], 0
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
not edx
movsd xmm0, qword [esp + 0x84]
shr edx, 0x1f
mov dword [esp + 0x98], edx
mov dword [esp + 0x38], edx
mov esi, dword [edi + 4]
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x30], xmm0
inc esi
je 0x10049582
cmp esi, dword [edi + 8]
jbe 0x100491b9
mov ecx, esi
call fcn.1001fc80
cmp eax, esi
jbe 0x100491a8
mov ecx, edi
mov edx, eax
call fcn.1002e140
cmp al, 8
je 0x100491b9
mov ecx, edi
mov edx, esi
call fcn.1002e140
cmp al, 8
jne 0x10049582
mov ebx, dword [edi]
mov edx, edi
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
lea eax, [edi + edi*2]
inc edi
mov dword [ebx + eax*8], ecx
mov ecx, dword [esp + 0x50]
mov dword [ebx + eax*8 + 4], ecx
movsd xmm0, qword [esp + 0x30]
movsd qword [ebx + eax*8 + 8], xmm0
mov ecx, dword [esp + 0x38]
mov dword [ebx + eax*8 + 0x10], ecx
mov dword [ebx + eax*8 + 0x14], esi
mov dword [edx + 4], edi
je 0x10049466
cmp dword [ebx + eax*8 + 0x10], 0
je 0x10049310
mov edx, dword [esp + 4]
mov ecx, dword [ebx + eax*8 + 0x14]
mov edx, dword [edx + 0xc]
cmp edx, ecx
jbe 0x10049466
cmp edx, 0x11
jb 0x10049300
mov eax, dword [esp + 4]
mov esi, dword [eax + 8]
lea eax, [esi + ecx]
cmp eax, esi
jb 0x10049300
add ecx, 0x10
cmp ecx, edx
ja 0x10049300
mov edx, dword [esp + 4]
cmp edi, 3
jne 0x10049304
mov ecx, dword [edx + 0x20]
cmp dword [edx], ecx
jbe 0x10049304
mov edx, dword [ebp + 8]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
push 0xc
lea esi, [esp + 0x34]
push esi
push eax
call fcn.10048850
add esp, 0xc
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x10049538
cmp dword [esp + 0x14], 0xc
jne 0x10049386
movsd xmm0, qword [ebx + 0x18]
movsd xmm1, qword [ebx + 0x20]
lea eax, [esp + 0x18]
mov esi, dword [esp + 0x50]
movsd xmm2, qword [esp + 0x30]
mov edx, dword [esp + 4]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
inc esi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
movsd xmm0, qword [ebx + 4]
mov dword [esp + 0x44], eax
mov al, 7
movsd qword [esp + 0xc], xmm0
jne 0x10049397
mov ebx, dword [esp + 8]
cmp ecx, 2
je 0x10049308
jmp 0x1004954e
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + 0x18]
jmp 0x1004935d
cmp edi, 3
jae 0x10049466
mov eax, dword [ebx + eax*8 + 0x14]
mov ecx, dword [esp + 4]
cmp dword [ecx + 0xc], eax
jbe 0x10049466
mov edx, dword [esp + 4]
mov esi, dword [ebp + 0x18]
lea ecx, [esp + 0xc]
add eax, dword [edx + 8]
push esi
push eax
push dword [ebp + 8]
call fcn.10048d40
add esp, 0xc
cmp dword [esp + 0xc], 0
mov ebx, dword [esp + 8]
jne 0x10049526
mov edi, dword [esi + 4]
mov edx, dword [esp + 4]
mov ecx, esi
mov eax, dword [ecx + 8]
inc dword [esp + 0x70]
cmp edi, eax
cmovb eax, edi
test eax, eax
je 0x10049371
dec edi
mov dword [ecx + 4], edi
mov eax, dword [ebp + 0x14]
add ebx, 8
cmp dword [esp + 0x70], eax
jne 0x10048eef
jmp 0x10049448
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov byte [edx + 0x29], 1
jmp 0x10049308
cmp esi, dword [edx + 0x24]
jbe 0x100493e6
mov ebx, ecx
mov ecx, esi
movaps xmmword [esp + 0x50], xmm2
call fcn.1001fc80
cmp eax, esi
jbe 0x100493c8
mov ecx, dword [esp + 0x6c]
mov edx, eax
call fcn.1002e040
movaps xmm2, xmmword [esp + 0x50]
mov edx, dword [esp + 4]
mov ecx, ebx
cmp al, 8
je 0x100493e6
mov ecx, dword [esp + 0x6c]
mov edx, esi
call fcn.1002e040
movaps xmm2, xmmword [esp + 0x50]
mov edx, dword [esp + 4]
mov ecx, ebx
cmp al, 8
jne 0x100492e8
mov eax, dword [edx + 0x20]
mov esi, ecx
mov ecx, dword [edx + 0x1c]
mov ebx, dword [esp + 0x44]
imul edx, eax, 0x2c
inc eax
mov dword [ecx + edx], esi
movsd xmm0, qword [esp + 0xc]
movsd xmm1, qword [esp + 0x14]
movsd qword [ecx + edx + 4], xmm0
movsd qword [ecx + edx + 0xc], xmm1
movsd xmm0, qword [esp + 0x1c]
movsd qword [ecx + edx + 0x14], xmm0
mov esi, dword [esp + 0x24]
mov dword [ecx + edx + 0x1c], esi
movlps qword [ecx + edx + 0x20], xmm2
mov dword [ecx + edx + 0x28], ebx
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov dword [edx + 0x20], eax
jmp 0x10049308
mov word [ecx], 0
jmp 0x1004951e
mov eax, dword [esp + 0x28]
mov word [eax], 0x100
jmp 0x1004951e
mov byte [esp + 0x38], al
xor eax, eax
jmp 0x100494d9
mov eax, dword [esp + 4]
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x28]
mov word [eax], 0
jmp 0x1004951e
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x100494e5
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], esi
jmp 0x100494d9
mov esi, dword [esp + 0x18]
movd xmm0, edx
shr edx, 0x10
mov word [esp + 0x12], dx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
pslld xmm0, 0x10
lea edx, [esp + 0xc]
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], esi
mov byte [esp + 0xc], 2
movd dword [esp + 0xe], xmm0
call fcn.10072730
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x98], ecx
movsd xmm0, qword [esp + 0x84]
mov dword [edi + 0x10], ecx
movsd qword [edi + 8], xmm0
mov dword [edi + 4], eax
movsd qword [esp + 0x90], xmm0
mov byte [edi], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x10049557
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, eax
and edi, 0xffffff00
jmp 0x10049552
xor ecx, ecx
xor edi, edi
movzx eax, al
or eax, edi
mov edi, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], edx
jmp 0x1004951b
mov ecx, 0x16acb2c
mov edx, 0x2b
push 0x16a6df0
call fcn.10007ff0
add esp, 4
ud2
lea ecx, [esp + 0xc]
mov edx, 0x16ac90c
mov dword [esp + 0xc], 0x16ac8f8
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0x16ac968
mov dword [esp + 0x18], 0
call fcn.100075c0
ud2