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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov eax, dword [edx + 8]
mov dword [esp + 0xc], ecx
cmp eax, 0x7fffffff
jae 0x1003207e
mov dword [esp + 0x84], eax
inc eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov dword [edx + 8], eax
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
and ebx, 0xfffff000
mov edx, ecx
shl eax, 5
add edx, 0xffffffa0
lea eax, [eax + eax*2]
nop dword [eax]
test eax, eax
je 0x10032033
add eax, 0xffffffa0
cmp ebx, dword [edx + 0x98]
mov ecx, edx
mov edx, edi
sbb edx, dword [ecx + 0x9c]
lea edx, [ecx + 0x60]
jb 0x10031900
mov esi, dword [ecx + 0xa4]
cmp dword [ecx + 0xa0], ebx
sbb esi, edi
jb 0x10031900
mov eax, edx
mov edx, dword [edx + 0x50]
mov dword [esp + 4], ebx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x2c], eax
add edx, 0xfffffff0
shl ecx, 3
lea ecx, [ecx + ecx*2]
nop dword [eax]
test ecx, ecx
je 0x100319b2
mov eax, dword [edx + 0x10]
mov esi, dword [edx + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 4]
xor ebx, ebx
mov dword [esp + 0x34], eax
and eax, 0xfffff000
mov dword [esp + 0x30], esi
xor esi, edi
mov edi, eax
xor edi, edx
or edi, esi
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x30]
setne bl
cmp edx, eax
mov edx, dword [esp + 0x10]
mov eax, edi
sbb eax, esi
mov eax, 0xff
cmovb ebx, eax
add edx, 0x18
add ecx, 0xffffffe8
cmp bl, 1
je 0x10031950
mov ecx, dword [esp + 0x34]
movzx eax, bl
cmp eax, 0xff
jne 0x10031b02
mov edx, dword [esp + 0x2c]
lea esi, [esp + 0xa0]
mov ecx, esi
call fcn.10037990
mov eax, dword [esp + 8]
dec dword [eax + 8]
lea eax, [esp + 0x38]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
push esi
push eax
call fcn.10034180
add esp, 0x14
xor esi, esi
lea edi, [0x37ffbd1]
lea edx, [0x37ffbd2]
mov eax, 0xfffffff9
mov dword [esp + 0x10], 0
nop dword [eax + eax]
movzx ebx, byte [edi]
mov edi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x10031a25
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x1003204c
add bl, 0xa9
mov edx, ebx
mov ecx, esi
movzx ebx, dl
lea edx, [edi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, edi
je 0x10031a46
shld dword [esp + 0x10], esi, 4
inc eax
test edi, edi
mov esi, ebx
jne 0x10031a00
mov edx, dword [esp + 0x38]
cmp edx, 3
jne 0x10031aa4
mov esi, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov edi, dword [esp + 0x48]
mov eax, dword [0x3804000]
xor ebx, 0x163
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], esi
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x78], edi
push 4
push 8
push 0x38034c8
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x58], 0
je 0x10031b29
lea ecx, [esp + 0x74]
call fcn.10005000
xor eax, eax
jmp 0x10031b32
test edx, edx
je 0x10031b8e
movsd xmm0, qword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cmp edx, 1
jne 0x10031bda
mov eax, dword [ebp + 8]
mov edx, ecx
not dl
and al, dl
mov edx, dword [esp + 4]
test al, 0x3f
jne 0x100320a1
mov eax, dword [ebp + 0xc]
movzx ecx, cl
movlps qword [esp + 0x90], xmm0
mov dword [esp + 0x98], esi
or edx, ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
jmp 0x10031b99
mov eax, ecx
mov ecx, dword [ebp + 8]
not al
and cl, al
test cl, 0x3f
je 0x10031b69
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x84]
mov ebx, 3
jmp 0x10031de9
mov eax, dword [esp + 0x5c]
mov dword [eax], esi
mov dword [eax + 4], edi
mov edx, dword [esp + 0xc]
movaps xmm0, xmmword [esp + 0x10]
mov ecx, eax
shr ecx, 8
movlps qword [edx + 4], xmm0
mov dword [edx + 0xc], ebx
mov word [edx + 0x11], cx
mov ecx, eax
shr ecx, 0x18
mov byte [edx + 0x13], cl
mov byte [edx + 0x10], al
lea eax, [esp + 0xa0]
mov dword [edx], 1
push eax
jmp 0x10031e40
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10031da2
cmp eax, 1
jne 0x10031dab
mov eax, dword [edx + 4]
inc dword [eax]
mov dword [esp + 0x10], eax
jmp 0x10031dd9
mov dword [esp + 0x90], 3
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x98]
movsd xmm2, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x90]
lea ecx, [esp + 0xa0]
movsd qword [eax + 0x18], xmm0
movsd qword [eax + 0x10], xmm1
movsd qword [eax + 8], xmm2
mov dword [eax], 0
push ecx
jmp 0x10031e40
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
mov dword [esp + 0x10], esi
cmp dword [edx + 8], 0
jne 0x100320ba
mov dword [edx + 8], 0xffffffff
mov edi, edx
mov eax, dword [esp + 4]
mov esi, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov edx, dword [edx + 0xc]
cmp esi, edi
cmovb edi, esi
add edx, 0xffffffa0
shl edi, 5
lea esi, [edi + edi*2]
nop word cs:[eax + eax]
nop
test esi, esi
je 0x10032065
add esi, 0xffffffa0
mov edi, edx
cmp ebx, dword [edx + 0x98]
mov edx, dword [ebp + 0xc]
sbb edx, dword [edi + 0x9c]
lea edx, [edi + 0x60]
jb 0x10031c20
mov ebx, dword [edi + 0xa4]
cmp dword [edi + 0xa0], eax
sbb ebx, dword [ebp + 0xc]
mov ebx, dword [esp + 4]
jb 0x10031c20
mov eax, dword [ebp + 8]
mov ebx, ecx
not bl
mov bh, al
and bh, bl
test bh, 0x3f
jne 0x100320dd
movzx ecx, cl
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
or ecx, dword [esp + 4]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ecx
movlps qword [esp + 0x60], xmm0
mov dword [esp + 0x68], eax
lea eax, [esp + 0x58]
lea ecx, [esp + 0x38]
push eax
call fcn.10032210
add esp, 4
xor ebx, ebx
lea edx, [0x37ffbd1]
lea edi, [0x37ffbd2]
mov eax, 0xfffffff9
mov dword [esp + 0x10], 0
nop word cs:[eax + eax]
nop
movzx ecx, byte [edx]
mov edx, edi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x10031ce5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1003204c
add cl, 0xa9
mov ch, cl
mov edi, ebx
movzx esi, ch
shl edi, 4
or esi, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x10031d06
shld dword [esp + 0x10], ebx, 4
inc eax
test edx, edx
mov ebx, esi
jne 0x10031cc0
cmp dword [esp + 0x38], 0
je 0x10031d62
mov edi, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov eax, dword [0x3804000]
xor esi, 0x16d
mov dword [esp + 0x74], edi
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x78], ebx
push 4
push 8
push 0x38034c8
lea ecx, [esp + 0x64]
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x58], 0
je 0x10031e0f
lea ecx, [esp + 0x74]
call fcn.10005000
xor eax, eax
jmp 0x10031e18
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 8]
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x10031e5b
mov esi, dword [esp + 0x4c]
cmp eax, 1
je 0x10031e50
cmp eax, 3
je 0x10031e5b
mov edx, dword [esp + 0x50]
mov ecx, esi
call fcn.10063660
mov ecx, esi
call fcn.100694f0
jmp 0x10031e57
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
jmp 0x10031dd9
mov eax, dword [edx + 4]
cmp dword [eax + 8], 0
jne 0x100320f6
mov dword [eax + 8], 0xffffffff
lea ecx, [eax + 0xc]
mov edi, eax
mov edx, dword [edx + 8]
mov dword [esp + 4], edx
call fcn.100635d0
inc dword [edi + 8]
inc dword [edi]
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
dec edx
mov edi, dword [esp + 0x34]
mov dword [eax + 0xc], esi
mov dword [eax + 8], edi
mov dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edi
mov dword [eax], 0
mov dword [ecx + 8], edx
jmp 0x10031e48
mov eax, dword [esp + 0x5c]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0xc]
movaps xmm0, xmmword [esp + 0x10]
lea edx, [esp + 0xa0]
movlps qword [ecx + 4], xmm0
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], eax
mov dword [ecx], 1
mov ecx, dword [esp + 8]
inc dword [ecx + 8]
push edx
call fcn.10032120
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.10069d00
mov edx, dword [esp + 8]
inc dword [edx + 8]
mov eax, 2
mov ecx, dword [esp + 0xbc]
add ecx, 0xfffffffe
cmp ecx, 4
cmovb eax, ecx
lea ecx, [eax - 1]
cmp ecx, 2
jb 0x10031e7f
test eax, eax
jne 0x10031e89
mov dword [esp + 0x58], 0
jmp 0x10031ec0
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0xa4]
mov esi, edx
mov ecx, dword [esp + 0xa0]
or ebx, dword [edx + 0x18]
mov edx, dword [eax + 8]
dec edx
and edx, 0xfffffff8
lea ecx, [edx + ecx + 8]
mov edx, dword [esi + 0x1c]
or edx, edi
push dword [ebp + 0x10]
push edx
push ebx
push ecx
lea ecx, [esp + 0x68]
push ecx
call dword [eax + 0x18]
add esp, 0x14
xor ecx, ecx
lea edx, [0x37ffbd1]
lea edi, [0x37ffbd2]
mov eax, 0xfffffff9
xor esi, esi
nop word cs:[eax + eax]
nop
movzx ebx, byte [edx]
mov edx, edi
mov bh, bl
add bh, 0xd0
cmp bh, 0xa
jb 0x10031f05
or bl, 0x20
mov bh, bl
add bh, 0x9f
cmp bh, 6
jae 0x1003204c
add bl, 0xa9
mov bh, bl
mov edi, ecx
movzx ebx, bh
shl edi, 4
or ebx, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x10031f24
shld esi, ecx, 4
inc eax
test edx, edx
mov ecx, ebx
jne 0x10031ee0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10031f94
mov ecx, dword [esp + 0x64]
movsd xmm0, qword [esp + 0x5c]
xor ebx, 0x171
mov dword [esp + 0x38], eax
lea edx, [esp + 0x38]
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x74]
push ebx
call fcn.10004b80
add esp, 4
mov eax, dword [esp + 0x74]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x10031f97
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x78]
mov dword [edx + 0x10], ecx
movsd qword [edx + 8], xmm0
mov dword [edx + 4], eax
mov dword [edx], 1
lea edx, [esp + 0xa0]
jmp 0x10031e3f
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
call fcn.100325e0
add esp, 4
mov esi, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x30], edx
shl eax, 3
add esi, 0xffffffe8
lea eax, [eax + eax*2]
nop dword [eax + eax]
xor edx, edx
test eax, eax
je 0x1003201c
mov ebx, dword [esi + 0x18]
mov ecx, 0xfffff000
mov edi, dword [esi + 0x1c]
mov edx, esi
and ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], edi
mov esi, ebx
xor esi, dword [esp + 4]
xor edi, ecx
xor ecx, ecx
or esi, edi
mov esi, dword [ebp + 0xc]
lea edi, [edx + 0x18]
mov edx, 0xff
setne cl
cmp dword [esp + 4], ebx
sbb esi, dword [esp + 0x10]
mov esi, edi
cmovb ecx, edx
add eax, 0xffffffe8
cmp cl, 1
je 0x10031fc0
movzx eax, cl
mov edx, 0
cmp eax, 0xff
je 0x1003201c
mov edx, edi
lea ecx, [esp + 0x88]
call fcn.10005030
mov eax, dword [esp + 0x30]
dec dword [eax]
jmp 0x10031b99
mov ecx, 0x38036ac
mov edx, 0x2b
push 0x37ffc68
call fcn.10006df0
add esp, 4
ud2
mov ecx, 0x38032f0
mov edx, 0xe
push 0x37fbcc0
call fcn.10006df0
add esp, 4
ud2
mov ecx, 0x38036ac
mov edx, 0x2b
push 0x37ffc78
call fcn.10006df0
add esp, 4
ud2
lea eax, [esp + 0x38]
mov ecx, 0x3803443
mov edx, 0x18
push 0x37ffd08
push 0x37ffdd8
push eax
call fcn.10007640
add esp, 0xc
ud2
mov ecx, 0x37ffc98
mov edx, 0x36
push 0x37ffcd0
call fcn.10006df0
add esp, 4
ud2
mov ecx, 0x38035fc
mov edx, 0x10
push 0x37ffc1c
push 0x37ffde8
lea eax, [esp + 0x40]
push eax
call fcn.10007640
add esp, 0xc
ud2
mov ecx, 0x37ffc98
mov edx, 0x36
push 0x37ffce0
call fcn.10006df0
add esp, 4
ud2
lea eax, [esp + 0x38]
mov ecx, 0x38035fc
mov edx, 0x10
push 0x3801dcc
push 0x3803030
push eax
call fcn.10007640
add esp, 0xc
ud2