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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x260
mov ebx, dword [edx + 0x58]
cmp ebx, 0x7ffffffe
jbe 0x10069dfa
mov dword [esp + 0x3c], ecx
mov ecx, 0x3e89468
mov edx, 6
call fcn.1000af30
test eax, eax
mov esi, 1
mov ecx, 0x3e8946e
mov edx, 0x12
cmove eax, esi
mov dword [esp + 0xc0], eax
call fcn.1000af30
test eax, eax
lea edi, [0x3e8942e]
mov ecx, 0xfffffff9
cmove eax, esi
lea esi, [0x3e8942d]
xor ebx, ebx
mov dword [esp + 0x38], eax
xor eax, eax
nop
movzx edx, byte [esi]
mov esi, edi
mov dh, dl
add dh, 0xd0
cmp dh, 0xa
jb 0x10069db5
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x1006aacf
add dl, 0xa9
mov dh, dl
mov edi, eax
movzx edx, dh
shl edi, 4
or edx, edi
lea edi, [esi + 1]
test ecx, ecx
cmove edi, esi
je 0x10069dd4
shld ebx, eax, 4
inc ecx
test esi, esi
mov eax, edx
jne 0x10069d90
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc0]
mov esi, dword [esp + 0x38]
xor edx, 0x73
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
jmp 0x1006a4b2
lea edi, [ebx + 1]
lea esi, [edx + 0x5c]
lea eax, [edx + 0x58]
mov dword [esp + 0xc0], edx
mov dword [edx + 0x58], edi
mov dword [esp + 0xe4], esi
lea esi, [0x3e8942d]
lea edi, [0x3e8942e]
mov edx, 0xfffffff9
mov dword [esp + 0x38], eax
nop dword [eax]
movzx eax, byte [esi]
mov esi, edi
mov ah, al
add ah, 0xd0
cmp ah, 0xa
jb 0x10069e4b
or al, 0x20
add al, 0x9f
cmp al, 6
jae 0x1006aacf
lea edi, [esi + 1]
test edx, edx
cmove edi, esi
je 0x10069e5a
inc edx
test esi, esi
jne 0x10069e30
mov eax, dword [esp + 0xc0]
cmp byte [eax + 0xae], 2
jne 0x1006a103
mov dword [eax + 0x58], ebx
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14c]
test edx, edx
je 0x1006aaf7
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
dec edx
add edx, esi
mov edi, eax
adc edi, 0
jb 0x1006aaf7
mov ebx, dword [ebp + 8]
sub edx, esi
sbb edi, eax
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], eax
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [esp + 0xc0]
mov ecx, dword [ecx + 4]
test eax, eax
mov dword [esp + 0x9c], 4
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbb], 0
je 0x1006a116
xorps xmm0, xmm0
lea edi, [esp + 0x9c]
lea esi, [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x10]
lea edx, [esp + 0xe8]
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
push 0x28
push esi
push eax
call fcn.100416c0
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x20], eax
je 0x1006a332
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov esi, ecx
mov dword [esp + 4], eax
mov eax, ecx
mov dword [esp + 8], ecx
shr esi, 8
mov ecx, edi
call fcn.1002c8e0
mov ecx, 1
mov edx, 1
push dword [esp + 0xb0]
call fcn.100092d0
add esp, 4
mov cl, 2
test eax, eax
je 0x1006a05f
mov ecx, dword [0x3e8b000]
push edx
push eax
push dword [esp + 0xb0]
push 0x3e8a968
call dword [ecx + 0x10]
mov cl, 2
add esp, 0x10
mov edx, dword [esp + 8]
cmp cl, 2
jne 0x1006a16a
shl esi, 8
movzx eax, dl
lea ebx, [0x3e8942e]
mov ecx, 0xfffffff9
xor edi, edi
mov dword [esp + 8], edx
or eax, esi
lea esi, [0x3e8942d]
mov dword [esp + 0xc0], eax
xor eax, eax
nop word cs:[eax + eax]
nop
movzx edx, byte [esi]
mov esi, ebx
mov dh, dl
add dh, 0xd0
cmp dh, 0xa
jb 0x1006a0c5
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x1006aacf
add dl, 0xa9
mov dh, dl
mov ebx, eax
movzx edx, dh
shl ebx, 4
or edx, ebx
lea ebx, [esi + 1]
test ecx, ecx
cmove ebx, esi
je 0x1006a0e4
shld edi, eax, 4
inc ecx
test esi, esi
mov eax, edx
jne 0x1006a0a0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1006a346
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xe0], eax
jmp 0x1006a363
mov eax, dword [esp + 0xe4]
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], eax
jmp 0x1006a324
mov byte [esp + 0xb8], 1
lea esi, [esp + 0x7c]
lea edi, [esp + 0x104]
mov ecx, 0x10
mov eax, edx
rep movsd dword es:[edi], dword [esi]
shr eax, 8
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 0
movzx edi, word [esp + 0xbc]
mov esi, eax
xor ecx, ecx
mov word [esp + 0x144], di
cmp cl, 2
je 0x1006a06c
mov eax, dword [esp + 0x20]
shl esi, 8
mov dword [esp + 8], ecx
lea edi, [esp + 0x148]
mov ecx, 0x10
mov dword [esp + 0xdc], eax
movzx eax, dl
lea edx, [0x3e8942e]
or eax, esi
lea esi, [esp + 0x104]
mov dword [esp + 0xe0], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [0x3e8942d]
movzx eax, word [esp + 0x144]
mov word [esp + 0x188], ax
mov eax, 0xfffffff9
nop
movzx ebx, byte [ecx]
mov ecx, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x1006a1de
or bl, 0x20
add bl, 0x9f
cmp bl, 6
jae 0x1006aacf
lea edx, [ecx + 1]
test eax, eax
cmove edx, ecx
je 0x1006a1ed
inc eax
test ecx, ecx
jne 0x1006a1c0
lea eax, [esp + 0x1d0]
lea esi, [esp + 0x148]
mov ecx, 0x10
movsd xmm0, qword [esp + 0xdc]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x18c]
mov esi, eax
movzx ecx, word [esp + 0x188]
mov word [esp + 0x210], cx
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movzx eax, word [esp + 0x210]
mov edx, dword [esp + 0x38]
mov word [esp + 0x1cc], ax
cmp dword [edx], 0
jne 0x1006ab10
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 4]
mov ebx, dword [esp + 0xc]
mov eax, 0xffffffff
mov dword [esi + 0x58], 0xffffffff
cmp byte [esi + 0xae], 2
je 0x1006a2be
lea ecx, [esi + 0x8c]
movaps xmmword [esp + 0x20], xmm0
call fcn.1002c8e0
mov edx, 1
mov ecx, 1
push dword [esi + 0xa0]
call fcn.100092d0
add esp, 4
test eax, eax
je 0x1006a2b3
mov ecx, dword [0x3e8b000]
push edx
push eax
push dword [esi + 0x98]
push 0x3e8a968
call dword [ecx + 0x10]
add esp, 0x10
mov edx, dword [esp + 0x38]
movaps xmm0, xmmword [esp + 0x20]
mov eax, dword [edx]
movlps qword [esi + 0x5c], xmm0
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], edi
lea edi, [esi + 0x6c]
mov ebx, esi
lea esi, [esp + 0x18c]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 1]
movzx ecx, word [esp + 0x1cc]
cmp esi, 0x7fffffff
mov word [ebx + 0xac], cx
mov ecx, dword [esp + 8]
mov byte [ebx + 0xae], cl
movzx ecx, byte [esp + 0x68]
mov byte [ebx + 0xaf], cl
mov dword [ebx + 0x58], esi
jae 0x1006ab2a
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0xe4]
add eax, 2
mov dword [edx], eax
mov dword [ecx + 4], esi
mov dword [ecx + 8], edx
mov dword [ecx], 0
jmp 0x1006a4b2
cmp dword [esp + 0x18], 0x28
jne 0x1006a4ba
mov esi, dword [esp + 0x14]
jmp 0x1006a4ec
mov eax, dword [esp + 8]
xor edx, 0x84
mov dword [esp + 4], 0
mov dword [esp + 0xc], edx
mov byte [esp + 0xe0], al
xor esi, esi
lea edx, [0x3e8942d]
lea ebx, [0x3e8942e]
mov eax, 0xfffffff9
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xc0], 0
nop dword [eax + eax]
movzx ecx, byte [edx]
mov edx, ebx
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x1006a3b5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1006aacf
add cl, 0xa9
mov ch, cl
mov ebx, esi
movzx edi, ch
shl ebx, 4
or edi, ebx
lea ebx, [edx + 1]
test eax, eax
cmove ebx, edx
je 0x1006a3d9
shld dword [esp + 0xc0], esi, 4
inc eax
test edx, edx
mov esi, edi
jne 0x1006a390
xor edi, 0x85
xor ebx, ebx
cmp dword [esp + 0xdc], 0
mov eax, 0x3e88ed5
mov esi, 0x3e88edf
mov ecx, 0x3e88ee8
mov edx, 0xa
sete bl
cmove esi, eax
add ebx, 9
call fcn.1000af30
mov ecx, esi
mov edx, ebx
mov dword [esp + 0xc0], eax
call fcn.1000af30
movd xmm1, dword [esp + 0xc0]
movd xmm0, eax
pxor xmm2, xmm2
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
mov eax, dword [0x3e8b000]
lea ecx, [esp + 0x6c]
punpckldq xmm1, xmm0
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], esi
pcmpeqd xmm2, xmm1
movdqa xmm0, xmm2
psrld xmm2, 0x1f
pandn xmm0, xmm1
por xmm2, xmm0
movdqa xmmword [esp + 0xc0], xmm2
push 4
push 8
push 0x3e8a968
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x6c], 0
je 0x1006a494
lea ecx, [esp + 0x104]
call fcn.10003710
xor eax, eax
jmp 0x1006a49d
mov eax, dword [esp + 0x70]
mov dword [eax], ebx
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x3c]
movaps xmm0, xmmword [esp + 0xc0]
movlps qword [ecx], xmm0
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x10]
lea edx, [esp + 0xe8]
push 0x28
push esi
push dword [esp + 0x74]
call fcn.10041510
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x10069ffe
mov byte [esp + 0xb6], 1
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 0xc]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 8]
movdqu xmm2, xmmword [esi + 0x14]
mov esi, dword [esp + 4]
lea eax, [esp + 0xa8]
movlhps xmm0, xmm1
movups xmmword [esp + 0x74], xmm0
movdqu xmmword [esp + 0x84], xmm2
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov ecx, dword [esi + 0x188]
sub esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 0x4c]
lea edx, [esp + 0xf4]
mov dword [esp + 8], eax
movss dword [esp], xmm1
call fcn.10041210
add esp, 0xc
movzx eax, byte [esp + 0x40]
cmp eax, 3
jne 0x1006a6a4
movzx eax, byte [esp + 0x41]
mov byte [esp + 0xb7], al
mov ecx, dword [esi + 0x180]
mov eax, dword [esp + 0x84]
cmp eax, ecx
cmovb ecx, eax
test ecx, ecx
mov dword [esp + 8], ecx
je 0x1006a71a
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x20], 0
jmp 0x1006a608
lea ecx, [esp + 0x9c]
mov edx, esi
call fcn.1002c020
cmp al, 8
jne 0x1006aa00
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0xc]
lea edx, [ecx + ecx*8]
add esi, 4
lea edx, [edx + edx*2]
add edx, ecx
inc ecx
mov dword [eax + edx], 0
mov dword [eax + edx + 8], edi
mov dword [eax + edx + 0xc], ebx
mov dword [eax + edx + 0x10], 0
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x20]
lea edi, [esp + 0x9c]
inc ecx
cmp dword [esp + 8], ecx
mov dword [esp + 0x20], ecx
je 0x1006a71a
test esi, esi
js 0x1006a71a
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], 0
lea edx, [esp + 0xe8]
push 4
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100416c0
add esp, 0xc
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
test eax, eax
jne 0x1006a6fd
cmp dword [esp + 0x48], 4
jne 0x1006a712
mov edi, dword [esp + 0x80]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0xa0]
mov ebx, dword [ecx]
add edi, dword [esp + 0x20]
inc esi
je 0x1006a9fe
cmp esi, dword [esp + 0xa4]
jbe 0x1006a5b2
mov ecx, esi
call fcn.10034400
cmp eax, esi
jbe 0x1006a59c
lea ecx, [esp + 0x9c]
mov edx, eax
call fcn.1002c020
cmp al, 8
jne 0x1006a59c
jmp 0x1006a5b2
movzx ecx, byte [esp + 0x4b]
movzx esi, word [esp + 0x49]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
shl ecx, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edx
or esi, ecx
cmp eax, 1
je 0x1006a6e7
cmp eax, 2
jne 0x1006ab4d
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0x48]
mov dword [esp + 8], eax
jmp 0x1006a01d
movzx eax, byte [esp + 0x41]
mov dword [esp + 0x20], 0
mov dword [esp + 8], eax
jmp 0x1006a01d
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
jmp 0x1006a00e
mov byte [esp + 0xb5], 1
mov esi, 0x80000000
xor edi, edi
mov ebx, 0x80000000
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x88]
sub esi, dword [esp + 0x90]
mov eax, dword [ecx + 0x184]
mov ecx, dword [ecx + 0x18c]
cmovb esi, edi
shr esi, 2
sub ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ecx
cmovb ebx, edi
shr ebx, 1
cmp edx, esi
cmovb esi, edx
setne byte [esp + 0xb4]
cmp esi, ebx
cmovae esi, ebx
cmp esi, eax
cmovae esi, eax
cmp edx, ebx
setne byte [esp + 0xbc]
test esi, esi
mov dword [esp + 0x20], esi
je 0x1006a972
mov eax, dword [esp + 0x20]
xor esi, esi
add eax, eax
mov dword [esp + 0x20], eax
jmp 0x1006a7ad
mov byte [esp + 0xbb], 1
add esi, 2
add edi, 4
cmp dword [esp + 0x20], esi
je 0x1006a972
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], 0
lea edx, [esp + 0xe8]
add eax, edi
push 4
lea ebx, [esp + 0x14]
push ebx
push eax
call fcn.100416c0
add esp, 0xc
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
test eax, eax
jne 0x1006a9dd
cmp dword [esp + 0x48], 4
jne 0x1006a795
mov eax, dword [ecx]
lea ecx, [esp + 0x40]
mov word [esp + 0x10], 0
lea edx, [esp + 0xe8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
add eax, esi
push 2
lea ebx, [esp + 0x14]
push ebx
push eax
call fcn.100416c0
add esp, 0xc
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
test ecx, ecx
jne 0x1006aa3d
cmp dword [esp + 0x48], 2
jne 0x1006a958
movzx eax, word [eax]
cmp dword [esp + 0x84], eax
jbe 0x1006a965
cmp dword [esp + 0xa0], eax
jbe 0x1006a79d
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x40]
lea edx, [esp + 0xe8]
push eax
push dword [esp + 0x10]
push dword [esp + 0xc]
call fcn.10041210
add esp, 0xc
movzx eax, byte [esp + 0x40]
cmp eax, 3
jne 0x1006aa6e
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 8]
cmp eax, edx
cmovb edx, eax
cmp edx, ecx
jbe 0x1006aae8
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
lea eax, [ecx + ecx*8]
lea eax, [eax + eax*2]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], eax
call 0x10070750
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 8]
mov dword [ecx + edx], 1
mov dword [ecx + edx + 4], eax
lea eax, [ecx + edx + 0x10]
cmp dword [ecx + edx + 0x10], 0
mov dword [esp + 4], eax
je 0x1006a93e
mov eax, dword [esp + 4]
mov edx, 1
mov ecx, 1
push dword [eax + 8]
call fcn.100092d0
add esp, 4
test eax, eax
je 0x1006a93e
mov ecx, dword [0x3e8b000]
push edx
push eax
mov eax, dword [esp + 0xc]
push dword [eax]
push 0x3e8a968
call dword [ecx + 0x10]
add esp, 0x10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 4]
mov dword [ecx + 8], eax
movsd xmm0, qword [esp + 0x10]
movsd qword [ecx], xmm0
jmp 0x1006a79d
mov byte [esp + 0xbd], 1
jmp 0x1006a79d
mov byte [esp + 0xbe], 1
jmp 0x1006a79d
mov byte [esp + 0xb8], 1
lea eax, [esp + 0x7c]
lea edi, [esp + 0x104]
mov ecx, dword [esp + 0x6c]
mov esi, eax
mov edx, dword [esp + 0x70]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov esi, edx
movzx ecx, byte [esp + 0xbf]
movzx eax, word [eax + 0x40]
shr esi, 8
mov byte [esp + 0x68], cl
movzx ecx, byte [esp + 0xbe]
mov word [esp + 0x144], ax
cmp cl, 2
je 0x1006a06c
jmp 0x1006a16a
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov esi, ecx
mov dword [esp + 8], ecx
shr esi, 8
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, ecx
jmp 0x1006aa62
mov al, 7
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0
mov byte [esp + 0x5c], al
call fcn.1006ffb0
mov dword [esp + 8], eax
xor esi, esi
mov dword [esp + 4], 0
mov dword [esp + 0x20], 0
jmp 0x1006aa62
movsd xmm0, qword [esp + 0x48]
mov esi, eax
mov dword [esp + 0x20], ecx
mov ecx, eax
mov dword [esp + 8], eax
shr esi, 8
movss dword [esp + 0xc], xmm0
shufps xmm0, xmm0, 0x55
movss dword [esp + 4], xmm0
lea edi, [esp + 0x9c]
jmp 0x1006a01d
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
cmp eax, 1
mov dword [esp + 4], ecx
mov dword [esp + 0xc], edx
je 0x1006aaa5
cmp eax, 2
jne 0x1006ab4d
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov esi, ecx
mov dword [esp + 0x20], eax
mov eax, ecx
mov dword [esp + 8], ecx
shr esi, 8
jmp 0x1006aab6
movzx eax, byte [esp + 0x41]
mov dword [esp + 0x20], 0
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x9c]
call fcn.1002ca00
jmp 0x1006a01d
mov ecx, 0x3e8a5f4
mov edx, 0xe
push 0x3e82e44
call fcn.10006dd0
add esp, 4
ud2
push 0x3e88efc
call fcn.10006410
add esp, 4
ud2
mov ecx, 0x3e8ab8c
mov edx, 0x2b
push 0x3e89438
call fcn.10006dd0
add esp, 4
ud2
lea eax, [esp + 0x6c]
mov ecx, 0x3e8aa9c
mov edx, 0x10
push 0x3e89448
push 0x3e894f4
jmp 0x1006ab42
lea eax, [esp + 0x6c]
mov ecx, 0x3e8926c
mov edx, 0x18
push 0x3e89458
push 0x3e894e4
push eax
call fcn.10007620
add esp, 0xc
ud2
lea ecx, [esp + 0x40]
mov edx, 0x3e88e48
mov dword [esp + 0x40], 0x3e88e34
mov dword [esp + 0x44], 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0x3e8a968
mov dword [esp + 0x4c], 0
call fcn.100063a0
ud2