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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x188
mov eax, dword [edx + 4]
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x14], edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
shl eax, 5
lea ecx, [eax + eax*2]
mov eax, dword [edx]
mov esi, eax
nop word cs:[eax + eax]
nop dword [eax]
mov edx, esi
mov esi, dword [esp + 4]
cmp ecx, esi
je 0x10031d72
add esi, 0x60
inc edi
mov dword [esp + 4], esi
mov esi, dword [ebp + 8]
cmp esi, dword [edx + 0x38]
mov esi, dword [ebp + 0xc]
sbb esi, dword [edx + 0x3c]
lea esi, [edx + 0x60]
jb 0x10031590
mov ebx, dword [ebp + 8]
mov dword [esp + 0x2c], edi
mov edi, dword [edx + 0x44]
cmp dword [edx + 0x40], ebx
sbb edi, dword [ebp + 0xc]
mov edi, dword [esp + 0x2c]
jb 0x10031590
lea esi, [edi - 1]
mov edi, dword [esp + 8]
cmp esi, edi
jae 0x10031d50
mov edx, dword [esp + 4]
mov ecx, dword [eax + edx - 0x28]
mov eax, dword [eax + edx - 0x24]
xor ecx, dword [ebp + 8]
xor eax, dword [ebp + 0xc]
or eax, ecx
jne 0x10031604
mov eax, dword [esp + 0x18]
mov dword [eax + 4], esi
mov dword [eax], 0
jmp 0x10031be5
inc edi
mov bl, 7
je 0x1003163b
mov eax, dword [esp + 0x14]
mov bl, 8
cmp edi, dword [eax + 8]
jbe 0x1003163b
mov ecx, edi
call fcn.1004daa0
cmp eax, edi
jbe 0x1003162e
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.1002c530
cmp al, 8
je 0x1003163b
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.1002c530
mov ebx, eax
mov byte [esp + 0xc], bl
mov dword [esp + 0x4c], esi
xor ebx, ebx
lea esi, [0x45183f5]
lea edx, [0x45183f6]
mov eax, 0xfffffff9
mov dword [esp + 8], 0
nop
movzx ecx, byte [esi]
mov esi, edx
mov edx, ecx
add dl, 0xd0
cmp dl, 0xa
jb 0x10031685
or cl, 0x20
mov edx, ecx
add dl, 0x9f
cmp dl, 6
jae 0x10031d8b
add cl, 0xa9
mov edx, ecx
mov ecx, ebx
movzx edi, dl
lea edx, [esi + 1]
shl ecx, 4
or edi, ecx
test eax, eax
cmove edx, esi
je 0x100316a6
shld dword [esp + 8], ebx, 4
inc eax
test esi, esi
mov ebx, edi
jne 0x10031660
movzx eax, byte [esp + 0xc]
cmp al, 8
jne 0x1003182f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
mov edi, dword [eax + 8]
mov esi, dword [eax + 4]
cmp esi, edi
mov edx, edi
cmovb edx, esi
cmp ecx, edx
jae 0x10031d63
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esp + 0x6c], edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 4]
mov dword [esp + 0x70], esi
xor esi, esi
mov eax, edx
mov dword [esp + 8], ecx
or eax, edi
mov eax, ecx
mov ecx, dword [ecx + ebx - 0x24]
cmove ecx, esi
mov dword [esp + 0xc], ecx
mov ecx, 1
cmovne ecx, dword [eax + ebx - 0x28]
sub edx, 1
mov eax, ebx
mov ebx, dword [esp + 8]
sbb edi, 0
cmovb edi, esi
cmovb edx, esi
mov esi, edi
cmp edx, ecx
sbb esi, dword [esp + 0xc]
mov esi, dword [ebx + eax - 0x20]
mov dword [esp + 0x7c], esi
mov esi, dword [ebx + eax - 0x1c]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0x90], 2
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edx
mov byte [esp + 0x40], 0
mov dword [esp + 0x78], esi
cmovb eax, ecx
mov ecx, dword [eax + 0x11]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x1f], eax
setb al
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm1
jb 0x10031da4
mov edx, dword [esp + 4]
add al, al
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
mov ecx, dword [esp + 0x1f]
mov esi, 0xfffff000
mov byte [esp + 0x13], al
lea eax, [ebx + edx - 0x60]
movsd qword [esp + 0x118], xmm1
movsd qword [esp + 0x110], xmm0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x53], ecx
mov edi, dword [ebx + edx - 0xc]
mov ecx, dword [ebx + edx - 0x10]
lea eax, [edi*8]
lea edx, [eax + eax*2]
mov eax, 0xffffffff
nop word cs:[eax + eax]
test edx, edx
je 0x1003188d
mov ebx, dword [ecx]
inc eax
add edx, 0xffffffe8
and ebx, esi
cmp ebx, dword [ebp + 8]
mov ebx, dword [ecx + 4]
lea ecx, [ecx + 0x18]
sbb ebx, dword [ebp + 0xc]
mov ebx, dword [esp + 8]
jb 0x100317f0
cmp edi, eax
jae 0x1003188f
mov ecx, 0x45182f4
mov edx, 0x22
push 0x4518318
call fcn.100194a0
add esp, 4
ud2
movzx eax, al
mov edx, 0xa
xor edi, 0x14b
mov ecx, dword [eax*4 + 0x45178f4]
mov ebx, dword [eax*4 + 0x4517914]
mov dword [esp + 4], ecx
mov ecx, 0x451aa8c
call fcn.1001cfa0
mov edx, dword [esp + 4]
mov ecx, ebx
mov esi, eax
call fcn.1001cfa0
mov edx, dword [esp + 0x18]
test esi, esi
mov ecx, 1
cmove esi, ecx
test eax, eax
cmove eax, ecx
mov dword [edx], esi
mov dword [edx + 4], eax
mov dword [edx + 8], edi
mov dword [edx + 0xc], 0
jmp 0x10031be5
mov eax, edi
mov edx, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
sub edx, eax
mov dword [esp + 0x28], edx
call fcn.1002c430
mov ecx, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x30]
mov esi, dword [esp + 4]
cmp al, 8
mov dword [esp + 0x88], ecx
movsd qword [esp + 0x80], xmm0
jne 0x10031955
mov eax, dword [esp + 0x30]
movzx ecx, byte [esp + 0x34]
test eax, eax
mov dword [esp + 0xc], eax
je 0x10031965
movzx edx, byte [esp + 0x37]
movzx eax, cl
movzx ecx, word [esp + 0x35]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
shl edx, 0x10
or ecx, edx
xor edx, edx
shl ecx, 8
add ecx, dword [esp + 0x24]
mov dword [esp + 0x24], eax
sub eax, ecx
cmovb eax, edx
mov edx, dword [ebx + esi - 8]
cmp edi, edx
cmovb edx, edi
cmp edx, eax
jb 0x10031dbd
mov edx, dword [esp + 0xc]
lea ecx, [ecx + ecx*2]
sub edi, eax
shl eax, 3
lea eax, [eax + eax*2]
lea ecx, [edx + ecx*8]
lea edx, [edi + edi*2]
shl edx, 3
add edx, dword [ebx + esi - 0x10]
push eax
push edx
push ecx
call 0x10056480
add esp, 0xc
mov dword [ebx + esi - 0xc], edi
jmp 0x10031974
lea ecx, [esp + 0x80]
mov ebx, eax
call fcn.1002c720
mov ecx, ebx
movzx eax, cl
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], eax
xor edi, edi
lea edx, [0x45183f5]
lea esi, [0x45183f6]
mov eax, 0xfffffff9
xor ebx, ebx
nop dword [eax]
movzx ecx, byte [edx]
mov edx, esi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x100319b5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x10031d8b
add cl, 0xa9
mov ch, cl
mov esi, edi
movzx ecx, ch
shl esi, 4
or ecx, esi
lea esi, [edx + 1]
test eax, eax
cmove esi, edx
je 0x100319d4
shld ebx, edi, 4
inc eax
test edx, edx
mov edi, ecx
jne 0x10031990
cmp dword [esp + 0xc], 0
je 0x10031b89
movsd xmm0, qword [esp + 0x110]
movsd xmm1, qword [esp + 0x118]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 4]
mov esi, dword [esp + 8]
movzx eax, byte [esp + 0x13]
mov ebx, dword [esp + 0x78]
movsd qword [edx + 0x40], xmm1
movsd qword [edx + 0x38], xmm0
mov byte [esi + edi - 0x18], al
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x53]
mov dword [esi + edi - 0x17], eax
mov dword [esi + edi - 0x14], ecx
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x7c]
mov ecx, dword [ebp + 0xc]
mov eax, ebx
cmp edi, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
sbb eax, ecx
lea eax, [esp + 0x80]
lea ecx, [esp + 0x30]
cmovb ecx, eax
mov eax, dword [ecx + 0x11]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1f], ecx
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm1
jb 0x10031da4
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1f]
movsd qword [esp + 0xc0], xmm1
movsd qword [esp + 0xb8], xmm0
mov byte [esp + 0xc8], 0
mov dword [esp + 0xc9], eax
mov dword [esp + 0xcc], ecx
lea ecx, [esp + 0x80]
call fcn.10043660
movsd xmm2, qword [esp + 0xa0]
movsd xmm1, qword [esp + 0xa8]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x90]
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
movsd qword [esp + 0xe0], xmm2
movsd qword [esp + 0xe8], xmm1
movsd xmm2, qword [esp + 0xb0]
movsd xmm1, qword [esp + 0xb8]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
movsd qword [esp + 0xd0], xmm0
movsd qword [esp + 0xf0], xmm2
movsd qword [esp + 0xf8], xmm1
movsd xmm2, qword [esp + 0xc0]
movsd xmm1, qword [esp + 0xc8]
cmp edx, 6
movsd qword [esp + 0x100], xmm2
movsd qword [esp + 0x108], xmm1
jne 0x10031bed
mov ebx, dword [esp + 8]
jmp 0x10031bda
movzx eax, byte [esp + 0x28]
xor ecx, 0xb1
mov edi, ecx
mov ecx, 0x451aa8c
shl eax, 2
mov edx, dword [eax + 0x45178f4]
mov esi, dword [eax + 0x4517914]
mov dword [esp + 4], edx
mov edx, 0xa
call fcn.1001cfa0
mov edx, dword [esp + 4]
mov ecx, esi
mov ebx, eax
call fcn.1001cfa0
mov esi, dword [esp + 0x18]
test eax, eax
mov ecx, 1
cmove eax, ecx
test ebx, ebx
cmove ebx, ecx
xor ecx, ecx
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 0xd8]
movsd xmm0, qword [esp + 0xd0]
movsd xmm1, qword [esp + 0xe8]
movsd xmm2, qword [esp + 0xf0]
movsd xmm3, qword [esp + 0xe0]
mov dword [esp + 0x138], esi
movsd qword [esp + 0x130], xmm0
movsd qword [esp + 0x148], xmm1
movsd xmm1, qword [esp + 0xf8]
movsd qword [esp + 0x150], xmm2
movsd xmm2, qword [esp + 0x100]
mov esi, dword [esp + 8]
movsd qword [esp + 0x140], xmm3
movsd qword [esp + 0x158], xmm1
movsd xmm1, qword [esp + 0x108]
movsd qword [esp + 0x160], xmm2
movsd qword [esp + 0x168], xmm1
mov dword [esp + 0x120], esi
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x13c], edx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
inc edi
mov dword [esp + 0x170], edx
mov dword [esp + 0x174], ecx
mov dword [esp + 0x178], ebx
je 0x10031dd6
cmp edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x14]
jbe 0x10031cfb
mov ecx, edi
call fcn.1004daa0
cmp eax, edi
jbe 0x10031cea
mov ecx, esi
mov edx, eax
call fcn.1002c530
cmp al, 8
je 0x10031cfb
mov ecx, esi
mov edx, edi
call fcn.1002c530
cmp al, 8
jne 0x10031dde
mov ebx, dword [esi + 4]
cmp ebx, dword [esp + 0x4c]
jbe 0x10031dda
mov eax, dword [esi]
mov ecx, dword [esp + 4]
lea edi, [eax + ecx]
lea eax, [eax + ecx + 0x60]
mov ecx, ebx
sub ecx, dword [esp + 0x2c]
shl ecx, 5
lea ecx, [ecx + ecx*2]
push ecx
push edi
push eax
call 0x10056480
add esp, 0xc
mov eax, esi
lea esi, [esp + 0x120]
mov ecx, 0x18
inc ebx
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
jmp 0x100315f9
mov ecx, esi
mov edx, edi
push 0x4518450
call fcn.10018ae0
add esp, 4
ud2
push 0x4518460
call fcn.10018ae0
add esp, 4
ud2
mov ecx, 0x451d3e4
mov edx, 0x2b
push 0x45184ac
call fcn.100194a0
add esp, 4
ud2
mov ecx, 0x451beb4
mov edx, 0xe
push 0x4517700
call fcn.100194a0
add esp, 4
ud2
mov ecx, 0x451d3e4
mov edx, 0x2b
push 0x451aa3c
call fcn.100194a0
add esp, 4
ud2
mov ecx, 0x45183a4
mov edx, 0x30
push 0x45183d4
call fcn.100194a0
add esp, 4
ud2
mov bl, 7
jmp 0x10031de0
mov bl, 8
jmp 0x10031de0
mov ebx, eax
lea ecx, [esp + 0x120]
call fcn.1002c630
mov byte [esp + 0x80], bl
mov ecx, 0x451d1d0
mov edx, 0x2b
push 0x451847c
push 0x4518600
lea eax, [esp + 0x88]
push eax
call fcn.10019cf0
add esp, 0xc
ud2