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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov edx, dword [ecx + 4]
xorps xmm0, xmm0
push esi
mov esi, dword [ecx + 8]
mov dword [ebp - 0x144], eax
mov eax, dword [ecx]
push edi
mov dword [ebp - 0x148], ecx
movaps xmmword [ebp - 0xa0], xmm0
movaps xmmword [ebp - 0xb0], xmm0
movaps xmmword [ebp - 0xc0], xmm0
movaps xmmword [ebp - 0xd0], xmm0
movaps xmmword [ebp - 0xe0], xmm0
movaps xmmword [ebp - 0xf0], xmm0
movaps xmmword [ebp - 0x100], xmm0
movaps xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0x118], edx
cmp esi, 4
jae 0x100313e9
mov ecx, dword [edx]
movzx edx, cl
mov dword [ebp - 0x138], ecx
mov ecx, esi
shl dl, cl
movzx eax, al
mov ecx, 4
sub ecx, esi
add esi, 0x1c
or edx, eax
mov eax, dword [ebp - 0x138]
and edx, 0xf
shr eax, cl
add dword [ebp - 0x118], 4
mov edi, edx
jmp 0x100313f5
movzx edi, al
and edi, 0xf
shr eax, 4
sub esi, 4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x128], ecx
lea ecx, [edi - 1]
mov edi, 1
shl edi, cl
lea edx, [ebp - 0x46]
mov byte [ebp - 0x4c], 0x10
mov byte [ebp - 0x4b], 0x60
mov dword [ebp - 0x138], edi
mov edi, dword [ebp - 0x13c]
mov byte [ebp - 0x4a], 0xb0
mov byte [ebp - 0x49], 7
mov byte [ebp - 0x48], 0xb
mov byte [ebp - 0x47], 0xf
mov dword [ebp - 0x12c], edx
cmp edi, 1
jbe 0x100319c4
lea ecx, [edi - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x134], edx
mov edx, dword [ebp - 0x12c]
cmp ecx, edx
jae 0x100319ae
mov ecx, dword [ebp - 0x124]
movzx ecx, byte [ecx]
mov dword [ebp - 0x120], ecx
test ecx, ecx
je 0x1003199c
mov ecx, dword [ebp - 0x118]
test esi, esi
jne 0x100314a5
mov edx, dword [ecx]
add ecx, 4
mov eax, edx
mov dword [ebp - 0x118], ecx
shr eax, 1
mov esi, 0x1f
jmp 0x100314aa
mov edx, eax
shr eax, 1
dec esi
test dl, 1
je case.default.0x100314c5
mov edx, dword [ebp - 0x120]
and edx, 3
cmp edx, 3
ja case.default.0x100314c5
jmp dword [edx*4 + 0x10031e60]
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x124]
shr ecx, 2
mov dword [ebp - 0x120], ecx
add cl, cl
add cl, cl
add cl, 0x11
mov byte [edx], cl
mov ecx, dword [ebp - 0x118]
jmp 0x1003155e
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x124]
shr ecx, 2
add cl, cl
add cl, cl
mov byte [ebp - 0x12d], cl
add cl, 2
mov byte [edx], cl
movzx ecx, byte [ebp - 0x12d]
mov edx, dword [ebp - 0x12c]
add cl, 0x12
mov byte [edx], cl
movzx ecx, byte [ebp - 0x12d]
add cl, 0x22
inc edx
mov byte [edx], cl
mov cl, byte [ebp - 0x12d]
inc edx
add cl, 0x32
mov byte [edx], cl
inc edx
mov dword [ebp - 0x12c], edx
jmp 0x100319a2
mov edx, dword [ebp - 0x124]
shr dword [ebp - 0x120], 2
mov byte [edx], 0
inc edx
mov dword [ebp - 0x124], edx
test esi, esi
jne 0x10031728
mov eax, dword [ecx]
add ecx, 4
mov dword [ebp - 0x118], ecx
mov esi, 0x1f
test al, 1
jne 0x1003176e
mov edx, eax
lea ecx, [edi + 1]
shr edx, 1
shr eax, cl
sub esi, edi
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp - 0x134]
dec ecx
and edx, ecx
or edx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
test dword [ebp - 0x114], ecx
mov dword [ebp - 0x11c], edx
mov ecx, edx
je 0x100315b6
neg ecx
mov edx, dword [ebp - 0x120]
mov word [ebp + edx*2 - 0x110], cx
inc dword [ebp - 0x120]
test esi, esi
jne 0x10031791
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx]
add ecx, 4
mov dword [ebp - 0x118], ecx
mov esi, 0x1f
test al, 1
jne 0x100317dd
mov edx, eax
lea ecx, [edi + 1]
shr edx, 1
shr eax, cl
sub esi, edi
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp - 0x134]
dec ecx
and edx, ecx
or edx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
test dword [ebp - 0x114], ecx
mov dword [ebp - 0x11c], edx
mov ecx, edx
je 0x10031628
neg ecx
mov edx, dword [ebp - 0x120]
mov word [ebp + edx*2 - 0x110], cx
inc dword [ebp - 0x120]
test esi, esi
jne 0x10031800
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx]
add ecx, 4
mov dword [ebp - 0x118], ecx
mov esi, 0x1f
test al, 1
jne 0x1003184c
mov edx, eax
lea ecx, [edi + 1]
shr edx, 1
shr eax, cl
sub esi, edi
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp - 0x134]
dec ecx
and edx, ecx
or edx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x11c], edx
test dword [ebp - 0x114], ecx
je 0x10031698
neg edx
mov ecx, dword [ebp - 0x120]
mov word [ebp + ecx*2 - 0x110], dx
inc ecx
mov dword [ebp - 0x120], ecx
test esi, esi
jne 0x10031875
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
add edx, 4
mov dword [ebp - 0x118], edx
mov esi, 0x1f
test al, 1
jne 0x100318c1
mov edx, eax
lea ecx, [edi + 1]
shr edx, 1
shr eax, cl
sub esi, edi
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp - 0x134]
dec ecx
and edx, ecx
or edx, dword [ebp - 0x138]
mov dword [ebp - 0x11c], edx
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x11c]
test dword [ebp - 0x114], edx
je 0x1003170f
neg ecx
mov edx, dword [ebp - 0x120]
mov word [ebp + edx*2 - 0x110], cx
mov edx, dword [ebp - 0x12c]
jmp 0x100319a2
dec esi
test al, 1
jne 0x1003176e
cmp esi, edi
jae 0x1003157e
mov edx, dword [ecx]
add ecx, 4
mov dword [ebp - 0x118], ecx
mov ecx, esi
mov dword [ebp - 0x11c], edx
shl edx, cl
shr eax, 1
mov ecx, edi
sub ecx, esi
or edx, eax
mov eax, dword [ebp - 0x11c]
shr eax, cl
mov ecx, 0x20
sub ecx, edi
mov dword [ebp - 0x114], edx
add esi, ecx
jmp 0x1003158f
mov dl, byte [ebp - 0x120]
mov ecx, dword [ebp - 0x128]
add dl, dl
dec ecx
add dl, dl
shr eax, 1
add dl, 3
mov dword [ebp - 0x128], ecx
mov byte [ecx], dl
jmp 0x100315c4
dec esi
test al, 1
jne 0x100317dd
cmp esi, edi
jae 0x100315f0
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
add ecx, 4
mov dword [ebp - 0x118], ecx
mov ecx, esi
mov dword [ebp - 0x11c], edx
shl edx, cl
shr eax, 1
mov ecx, edi
sub ecx, esi
or edx, eax
mov eax, dword [ebp - 0x11c]
shr eax, cl
mov ecx, 0x20
sub ecx, edi
mov dword [ebp - 0x114], edx
add esi, ecx
jmp 0x10031601
mov dl, byte [ebp - 0x120]
mov ecx, dword [ebp - 0x128]
add dl, dl
dec ecx
add dl, dl
shr eax, 1
add dl, 3
mov dword [ebp - 0x128], ecx
mov byte [ecx], dl
jmp 0x10031636
dec esi
test al, 1
jne 0x1003184c
cmp esi, edi
jae 0x10031662
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
add ecx, 4
mov dword [ebp - 0x118], ecx
mov ecx, esi
mov dword [ebp - 0x11c], edx
shl edx, cl
shr eax, 1
mov ecx, edi
sub ecx, esi
or edx, eax
mov eax, dword [ebp - 0x11c]
shr eax, cl
mov ecx, 0x20
sub ecx, edi
mov dword [ebp - 0x114], edx
add esi, ecx
jmp 0x10031673
mov dl, byte [ebp - 0x120]
mov ecx, dword [ebp - 0x128]
add dl, dl
dec ecx
add dl, dl
shr eax, 1
add dl, 3
mov dword [ebp - 0x128], ecx
mov byte [ecx], dl
mov ecx, dword [ebp - 0x120]
jmp 0x100316a6
dec esi
test al, 1
jne 0x100318c1
cmp esi, edi
jae 0x100316d3
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
add ecx, 4
mov dword [ebp - 0x118], ecx
mov ecx, esi
mov dword [ebp - 0x11c], edx
shl edx, cl
shr eax, 1
mov ecx, edi
sub ecx, esi
or edx, eax
mov eax, dword [ebp - 0x11c]
shr eax, cl
mov ecx, 0x20
sub ecx, edi
mov dword [ebp - 0x114], edx
add esi, ecx
jmp 0x100316e4
mov edx, dword [ebp - 0x128]
add cl, cl
dec edx
add cl, cl
shr eax, 1
add cl, 3
mov dword [ebp - 0x128], edx
mov byte [edx], cl
mov edx, dword [ebp - 0x12c]
jmp 0x100319a2
shr dword [ebp - 0x120], 2
or edx, 0xffffffff
cmp esi, edi
jae 0x1003193d
mov ecx, dword [ecx]
mov dword [ebp - 0x11c], ecx
mov ecx, 0x20
sub ecx, edi
shr edx, cl
mov ecx, esi
mov dword [ebp - 0x140], edx
mov edx, dword [ebp - 0x11c]
shl edx, cl
mov ecx, edi
sub ecx, esi
or edx, eax
mov eax, edx
mov edx, dword [ebp - 0x140]
and edx, eax
mov eax, dword [ebp - 0x11c]
shr eax, cl
mov ecx, 0x20
sub ecx, edi
add esi, ecx
add dword [ebp - 0x118], 4
jmp 0x1003194e
mov ecx, 0x20
sub ecx, edi
shr edx, cl
mov ecx, edi
and edx, eax
shr eax, cl
sub esi, edi
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x114], edx
dec ecx
and edx, ecx
or edx, dword [ebp - 0x138]
mov dword [ebp - 0x11c], edx
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x11c]
test dword [ebp - 0x114], edx
je 0x1003197f
neg ecx
mov edx, dword [ebp - 0x120]
mov word [ebp + edx*2 - 0x110], cx
mov ecx, dword [ebp - 0x124]
mov byte [ecx], 0
mov edx, dword [ebp - 0x12c]
inc dword [ebp - 0x124]
cmp dword [ebp - 0x124], edx
jb 0x1003146e
sar dword [ebp - 0x138], 1
dec edi
cmp edi, 1
ja 0x10031444
mov edi, dword [ebp - 0x13c]
test edi, edi
je 0x10031d0e
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x124], ecx
cmp ecx, edx
jae 0x10031d0e
mov edi, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x124]
movzx ecx, byte [ecx]
mov dword [ebp - 0x114], ecx
test ecx, ecx
je case.default.0x10031a37
test esi, esi
jne 0x10031a17
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
mov dword [ebp - 0x118], edi
shr eax, 1
mov esi, 0x1f
jmp 0x10031a1c
mov ecx, eax
shr eax, 1
dec esi
test cl, 1
je case.default.0x10031a37
mov ecx, dword [ebp - 0x114]
and ecx, 3
cmp ecx, 3
ja case.default.0x10031a37
jmp dword [ecx*4 + 0x10031e70]
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x124]
shr ecx, 2
mov dword [ebp - 0x114], ecx
add cl, cl
add cl, cl
add cl, 0x11
mov byte [edx], cl
jmp 0x10031ac9
mov ecx, dword [ebp - 0x114]
mov edi, dword [ebp - 0x124]
shr ecx, 2
add cl, cl
add cl, cl
mov dl, cl
add dl, 2
mov byte [edi], dl
mov edi, dword [ebp - 0x12c]
inc dword [ebp - 0x12c]
mov dl, cl
add dl, 0x12
mov byte [edi], dl
mov edi, dword [ebp - 0x12c]
mov dl, cl
add dl, 0x22
mov byte [edi], dl
mov edx, edi
mov edi, dword [ebp - 0x118]
inc edx
add cl, 0x32
mov byte [edx], cl
inc edx
mov dword [ebp - 0x12c], edx
jmp 0x10031d00
mov ecx, dword [ebp - 0x124]
shr dword [ebp - 0x114], 2
mov byte [ecx], 0
inc ecx
mov dword [ebp - 0x124], ecx
test esi, esi
jne 0x10031ae3
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
mov dword [ebp - 0x118], edi
shr eax, 1
mov esi, 0x1f
jmp 0x10031ae8
mov ecx, eax
shr eax, 1
dec esi
test cl, 1
je 0x10031b0b
mov dl, byte [ebp - 0x114]
mov ecx, dword [ebp - 0x128]
add dl, dl
dec ecx
add dl, dl
add dl, 3
mov dword [ebp - 0x128], ecx
mov byte [ecx], dl
jmp 0x10031b40
test esi, esi
jne 0x10031b25
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
mov dword [ebp - 0x118], edi
shr eax, 1
mov esi, 0x1f
jmp 0x10031b2a
mov ecx, eax
shr eax, 1
dec esi
mov edx, dword [ebp - 0x114]
and ecx, 1
neg ecx
or ecx, 1
mov word [ebp + edx*2 - 0x110], cx
mov edx, dword [ebp - 0x114]
inc edx
mov dword [ebp - 0x114], edx
test esi, esi
jne 0x10031b67
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
mov dword [ebp - 0x118], edi
shr eax, 1
mov esi, 0x1f
jmp 0x10031b6c
mov ecx, eax
shr eax, 1
dec esi
test cl, 1
je 0x10031b89
mov ecx, dword [ebp - 0x128]
add dl, dl
dec ecx
add dl, dl
add dl, 3
mov dword [ebp - 0x128], ecx
mov byte [ecx], dl
jmp 0x10031bb8
test esi, esi
jne 0x10031ba3
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
mov dword [ebp - 0x118], edi
shr eax, 1
mov esi, 0x1f
jmp 0x10031ba8
mov ecx, eax
shr eax, 1
dec esi
and ecx, 1
neg ecx
or ecx, 1
mov word [ebp + edx*2 - 0x110], cx
mov edx, dword [ebp - 0x114]
inc edx
mov dword [ebp - 0x114], edx
test esi, esi
jne 0x10031bdf
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
mov dword [ebp - 0x118], edi
shr eax, 1
mov esi, 0x1f
jmp 0x10031be4
mov ecx, eax
shr eax, 1
dec esi
test cl, 1
je 0x10031c01
mov ecx, dword [ebp - 0x128]
add dl, dl
dec ecx
add dl, dl
add dl, 3
mov dword [ebp - 0x128], ecx
mov byte [ecx], dl
jmp 0x10031c30
test esi, esi
jne 0x10031c1b
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
mov dword [ebp - 0x118], edi
shr eax, 1
mov esi, 0x1f
jmp 0x10031c20
mov ecx, eax
shr eax, 1
dec esi
and ecx, 1
neg ecx
or ecx, 1
mov word [ebp + edx*2 - 0x110], cx
mov edx, dword [ebp - 0x114]
inc edx
test esi, esi
jne 0x10031c51
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
mov dword [ebp - 0x118], edi
shr eax, 1
mov esi, 0x1f
jmp 0x10031c56
mov ecx, eax
shr eax, 1
dec esi
test cl, 1
je 0x10031c7c
mov ecx, dword [ebp - 0x128]
add dl, dl
dec ecx
add dl, dl
add dl, 3
mov byte [ecx], dl
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x128], ecx
jmp 0x10031d00
test esi, esi
jne 0x10031c96
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
mov dword [ebp - 0x118], edi
shr eax, 1
mov esi, 0x1f
jmp 0x10031c9b
mov ecx, eax
shr eax, 1
dec esi
and ecx, 1
neg ecx
or ecx, 1
mov word [ebp + edx*2 - 0x110], cx
mov edx, dword [ebp - 0x12c]
jmp 0x10031d00
mov edx, dword [ebp - 0x114]
shr edx, 2
test esi, esi
jne 0x10031cd6
mov ecx, dword [edi]
add edi, 4
mov eax, ecx
mov dword [ebp - 0x118], edi
shr eax, 1
mov esi, 0x1f
jmp 0x10031cdb
mov ecx, eax
shr eax, 1
dec esi
and ecx, 1
neg ecx
or ecx, 1
mov word [ebp + edx*2 - 0x110], cx
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x12c]
mov byte [ecx], 0
inc dword [ebp - 0x124]
cmp dword [ebp - 0x124], edx
jb 0x100319e6
jmp 0x10031d14
mov edi, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x148]
mov dx, word [ebp - 0x10e]
mov dword [ecx + 4], edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x144]
mov dword [ecx + 8], esi
mov ecx, dword [ebp - 0x108]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x104]
mov word [eax + 2], dx
mov edx, dword [ebp - 0x100]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x10c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0xb8]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0xfc]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0xe8]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0xe0]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0xf0]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0xe4]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0xdc]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp - 0xd0]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0xec]
mov dword [eax + 0x44], ecx
mov ecx, dword [ebp - 0xa8]
mov dword [eax + 0x38], edx
mov edx, dword [ebp - 0xd8]
mov dword [eax + 0x4c], ecx
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 0x40], edx
mov edx, dword [ebp - 0xb0]
mov dword [eax + 0x54], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [eax + 0x48], edx
mov edx, dword [ebp - 0xd4]
mov dword [eax + 0x5c], ecx
mov ecx, dword [ebp - 0xc0]
mov dword [eax + 0x50], edx
mov edx, dword [ebp - 0xac]
mov dword [eax + 0x64], ecx
mov ecx, dword [ebp - 0x98]
mov dword [eax + 0x58], edx
mov edx, dword [ebp - 0xc8]
mov dword [eax + 0x6c], ecx
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 0x60], edx
mov edx, dword [ebp - 0xa0]
mov dword [eax + 0x74], ecx
mov ecx, dword [ebp - 0x94]
mov dword [eax + 0x68], edx
mov edx, dword [ebp - 0xc4]
mov dword [eax + 0x7c], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 0x70], edx
mov edx, dword [ebp - 0x9c]
pop edi
xor ecx, ebp
mov dword [eax + 0x78], edx
pop esi
call fcn.100329a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4