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

Disassembly:
mov eax, 0x3ef0
call fcn.102d9eb0
mov eax, dword [0x10411968]
xor eax, esp
mov dword [esp + 0x3eec], eax
mov eax, dword [esp + 0x3efc]
push ebx
push ebp
mov ebp, dword [esp + 0x3f08]
push esi
mov esi, dword [esp + 0x3f00]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3f1c]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xb0]
lea ebx, [esi + 4]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x20], eax
push edi
mov eax, dword [eax + 0x218]
mov edi, dword [esi]
push 0x80
mov dword [esp + 0x88], ecx
xor cl, cl
mov eax, dword [eax + 0x220]
shl eax, 0x10
mov dword [esp + 0x78], eax
lea eax, [esp + 0x3e80]
push 0
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x54], 0
mov byte [esp + 0x6c], 0
mov byte [esp + 0x27], cl
mov dword [esp + 0x64], 0
mov dword [esp + 0x9c], 0x1312d00
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [esp + 0x3e68], 0
xorps xmm0, xmm0
mov dword [esp + 0xa0], eax
push 0x2e08
push eax
mov dword [esp + 0x108], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x144]
push eax
movq qword [esp + 0x3e6c], xmm0
movups xmmword [esp + 0x3e7c], xmm0
mov dword [esp + 0xf0], edi
movq qword [esp + 0x3e8c], xmm0
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], 0x10
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0xa
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], 0x14
mov dword [esp + 0xe0], 0xa
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 0x14
mov dword [esp + 0xc0], 0xa
movlpd qword [esp + 0x114], xmm0
movlpd qword [esp + 0x11c], xmm0
movlpd qword [esp + 0x124], xmm0
mov dword [esp + 0x110], ebx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x84]
movaps xmm0, xmmword [0x103d2db0]
mov dword [esp + 0x148], esi
mov dword [esp + 0x14c], eax
mov dword [esp + 0x2ea4], edi
mov dword [esp + 0x2ea8], ebx
push 0xf1c
lea eax, [esp + 0x1f8c]
mov dword [esp + 0x2ec0], 0
push 0
push eax
movups xmmword [esp + 0x2eb8], xmm0
mov dword [esp + 0x2ecc], 0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0xa8]
mov bl, byte [esi + 0xb8]
mov dword [esp + 0x1fa4], eax
lea eax, [esp + 0x1f94]
mov dword [esp + 0x1f98], eax
lea eax, [esp + 0x2eb0]
push 0xf1c
mov dword [esp + 0x1fa0], eax
lea eax, [esp + 0x107c]
push 0
push eax
mov byte [esp + 0x1fad], bl
mov dword [esp + 0x1fa0], esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x1094], eax
lea eax, [esp + 0x1fa0]
mov dword [esp + 0x1088], eax
lea eax, [esp + 0x2ebc]
push 0xf1c
mov dword [esp + 0x1090], eax
lea eax, [esp + 0x16c]
push 0
push eax
mov byte [esp + 0x109d], bl
mov dword [esp + 0x1090], esi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0xc0]
lea eax, [esp + 0x1fac]
mov dword [esp + 0x178], eax
add esp, 0x3c
lea eax, [esp + 0x2e8c]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x140], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x2eac], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x2eb0], eax
mov eax, dword [ebp]
mov dword [esp + 0x2eb8], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x2ebc], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x2ec4], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x2ec8], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x2ecc], eax
lea eax, [esi + 0xf0]
mov dword [esp + 0x2ed4], eax
mov al, byte [esi + 0xb9]
mov byte [esp + 0x2ec2], al
mov dword [esp + 0x2eb4], ecx
mov ecx, dword [esi + 0xe4]
mov eax, ecx
cdq
mov ebp, eax
mov dword [esp + 0x138], esi
mov esi, dword [esi + 0xe8]
xor ebp, edx
mov byte [esp + 0x145], bl
sub ebp, edx
mov ebx, dword [esp + 0x3f1c]
mov eax, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2ed0], ebx
mov dword [esp + 0x2ed8], ecx
mov dword [esp + 0x2edc], esi
test esi, esi
jns 0x10315304
neg eax
cmp ebp, eax
jle 0x10315310
test ecx, ecx
jns 0x10315318
neg ecx
jmp 0x10315318
test esi, esi
jns 0x10315316
neg esi
mov ecx, esi
mov edx, dword [esp + 0x40]
lea eax, [ecx + ecx]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x2ee0], eax
cmp byte [edx + 9], 0
mov dword [esp + 0x2ee4], 0x199a
mov byte [esp + 0x2ec3], 1
setne byte [esp + 0x1a]
mov word [esp + 0x2ec0], 0
mov byte [esp + 0x2f10], 0
mov eax, dword [ecx + 0x218]
mov eax, dword [eax + 0x21c]
shl eax, 0x10
mov dword [esi], eax
cmp byte [edx + 9], 0
je 0x10315385
mov eax, dword [ecx + 0x214]
mov ebp, dword [eax + 0x614]
mov dword [esp + 0x78], ebp
jmp 0x1031538d
mov dword [esp + 0x78], 0x30
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], 0
push eax
push 0x14
push edi
call fcn.102e0e60
mov ebp, dword [esp + 0x70]
add esp, 0xc
cmp dword [esp + 0x7c], 0
mov esi, eax
mov dword [esp + 0x70], esi
jne 0x103153bb
mov dword [esi], edi
mov dword [esi + 4], ebp
lea eax, [esp + 0x7c]
push eax
push 0
push dword [esp + 0x80]
push 0
push 8
push edi
call fcn.102e1020
add esp, 0x18
mov dword [esi + 8], eax
cmp dword [esp + 0x7c], 0
je 0x103153f4
push esi
push edi
call fcn.102e0ec0
add esp, 8
xor esi, esi
lea eax, [esi + 0x40]
jmp 0x10317538
mov eax, dword [esp + 0x78]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
lea eax, [esp + 0xd8]
push 0x11
push eax
call fcn.10311d80
mov ecx, dword [esp + 0xf4]
add esp, 8
test al, al
mov edx, 0x11
mov eax, dword [esp + 0x3f08]
cmovne ecx, edx
xor edi, edi
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0xf4]
mov edx, ecx
movups xmm0, xmmword [eax]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x10], edx
movups xmmword [ecx], xmm0
mov dword [esp + 0x14], edi
cmp dword [ebp], edi
jne 0x103178d0
mov ebp, dword [esp + 0x3f18]
mov dword [esp + 0x2c], ebp
mov eax, dword [edx + 0xc]
mov ecx, 0xe
cmp eax, dword [edx + 8]
jb 0x103154c0
test edi, edi
mov eax, 0xb
cmove eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x40]
mov cl, byte [ecx + 8]
mov ch, byte [esp + 0x1b]
test cl, cl
je 0x1031553e
test ch, ch
jne 0x103154f2
cmp al, 1
je 0x103154f2
cmp al, 3
je 0x103154f2
cmp al, 0xd
je 0x103154f2
cmp al, 0xa
je 0x103154f2
cmp al, 0xb
je 0x103154f2
cmp al, 0xc
je 0x103154f2
cmp al, 0xe
je 0x103154f2
cmp al, 0x20
jae 0x103154f2
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x10315466
mov cl, byte [eax]
inc eax
mov dword [edx + 0xc], eax
mov al, cl
mov dword [esp + 0x30], eax
cmp al, 0xb
je 0x103154d4
cmp al, 0xe
jne 0x10315481
mov ecx, dword [esp + 0x40]
movzx eax, al
mov dword [esp + 0x34], 0
cmp byte [ecx + 9], 0
cmovne eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
jmp 0x10315485
mov edi, dword [esp + 0x58]
test edi, edi
jle 0x10315519
cmp al, 0xa
je 0x10315519
cmp al, 0xb
je 0x10315519
cmp al, 0xc
je 0x10315519
cmp al, 0x20
mov dword [esp + 0x34], 0
cmovb edi, dword [esp + 0x34]
mov dword [esp + 0x58], edi
cmp byte [esp + 0x60], 0
mov edx, dword [esp + 0x10]
je 0x1031553e
cmp al, 0x20
jae 0x1031553e
mov edx, dword [esp + 0x60]
xor edi, edi
movzx edx, dl
cmp al, 0xc
cmovne edx, edi
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x64]
cmp dword [edi], 0
jne 0x10317534
sub dword [esp + 0x90], 1
je 0x10315e47
movzx edi, al
cmp edi, 0x1f
ja case.default.0x10315565
jmp dword [edi*4 + 0x103178d8]
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 9], 0
je case.0x10315565.0
cmp byte [ecx + 0x5d], 0
jne 0x10315e47
push esi
call fcn.10317b90
mov edi, dword [esp + 0x18]
add esp, 4
test eax, eax
js 0x10315696
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x78], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x10315466
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 9], 0
je case.0x10315565.0
cmp dword [ecx + 0x60], 0
je 0x10315e47
push dword [ecx + 0x80]
mov eax, dword [ecx + 0x224]
lea edi, [ecx + 0x5c]
push dword [ecx + 0x7c]
push dword [ecx + 0x78]
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 0x10
test al, al
je 0x10315610
mov ecx, dword [esp + 0x40]
push dword [ecx + 0x80]
mov eax, dword [ecx + 0x224]
push dword [ecx + 0x7c]
push dword [ecx + 0x78]
mov eax, dword [eax + 0x10]
push edi
call eax
add esp, 0x10
mov dword [esp + 0x44], eax
test eax, eax
jne 0x10317538
push esi
call fcn.10317b90
add esp, 4
cmp eax, dword [esp + 0x78]
ja 0x10315e47
push eax
push esi
push edi
call fcn.10312900
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov byte [eax + 0x5d], 1
jmp 0x10315466
test cl, cl
jne 0x10315658
cmp byte [esp + 0xfc], cl
jne case.0x10315565.0
mov edi, dword [esp + 0x24]
xor eax, eax
jmp 0x10315662
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x1e]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0xc4]
push eax
push esi
push dword [esp + 0x54]
call fcn.10312d50
add esp, 0x18
cmp byte [edi + 0x224], 0
jne 0x10317534
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x10315466
test cl, cl
jne 0x103156c7
cmp byte [esp + 0xfc], cl
jne case.0x10315565.0
mov edi, dword [esp + 0x24]
xor eax, eax
push eax
lea eax, [esp + 0x1e]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0xa4]
jmp 0x10315673
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1e]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0xa4]
jmp 0x10315673
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10315711
cmp byte [esp + 0x1a], 0
jne 0x10315711
push 0
push esi
call fcn.10317a80
mov ecx, dword [esp + 0x5c]
add esp, 8
add eax, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0x24]
mov byte [esp + 0x1a], 1
cmp byte [edi + 0x224], 0
jne 0x10317534
push esi
call fcn.10317b30
add esp, 4
add ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3f1c], ebx
cmp dword [edi + 0x1d4], 0
jne case.0x10315565.0
push ebx
lea eax, [esp + 0x134]
push ebp
push eax
call fcn.10313fa0
mov eax, dword [esi + 8]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x10315466
mov eax, dword [esi + 0xc]
xor edi, edi
mov ecx, dword [esi + 8]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x34], eax
test eax, eax
je 0x103157d1
push edi
push esi
call fcn.10317a80
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3f28], ebp
call fcn.10317a80
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x3f38], ebx
call fcn.10313e20
add edi, 2
add esp, 0x1c
cmp edi, dword [esp + 0x34]
jb 0x10315784
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x10315466
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, edx
sar ecx, 3
cmp al, 6
mov dword [esp + 0x34], ecx
sete byte [esp + 0x23]
xor edi, edi
test ecx, ecx
je 0x10315851
nop dword [eax]
push edi
push esi
call fcn.10317a80
mov cl, byte [esp + 0x2b]
add esp, 8
test cl, cl
je 0x1031581d
add ebp, eax
mov dword [esp + 0x3f18], ebp
jmp 0x10315826
add ebx, eax
mov dword [esp + 0x3f1c], ebx
push ebx
lea eax, [esp + 0x134]
xor cl, 1
push ebp
push eax
mov byte [esp + 0x2f], cl
call fcn.10313e20
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x34]
jb 0x10315800
mov edx, dword [esi + 8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x10]
jmp 0x10315466
mov ecx, dword [esi + 0xc]
xor edi, edi
sub ecx, dword [esi + 8]
sar ecx, 3
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], edi
cmp ecx, 6
jb 0x10315935
nop dword [eax]
push edi
push esi
call fcn.10317a80
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x44], edi
call fcn.10317a80
mov ecx, dword [esp + 0x2c]
add ecx, 2
push ecx
push esi
lea ebp, [ebx + eax]
call fcn.10317a80
mov ecx, dword [esp + 0x34]
add ecx, 3
push ecx
push esi
lea ebx, [edi + eax]
call fcn.10317a80
mov ecx, dword [esp + 0x3c]
add ecx, 4
push ecx
push esi
lea edi, [eax + ebp]
call fcn.10317a80
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
add eax, 5
push eax
push esi
call fcn.10317a80
add eax, edi
push eax
push dword [esp + 0x60]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x168]
push edi
push ebx
push ebp
push dword [esp + 0x78]
push eax
call fcn.10313ab0
mov edi, dword [esp + 0x68]
add esp, 0x4c
mov ebp, dword [esp + 0x2c]
add edi, 6
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
lea eax, [edi + 6]
mov dword [esp + 0x1c], edi
cmp eax, dword [esp + 0x38]
jbe 0x10315880
mov eax, dword [esp + 0x30]
cmp al, 0x18
jne 0x10315976
push edi
push esi
call fcn.10317a80
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x3f28], ebp
call fcn.10317a80
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3f38], ebx
call fcn.10313e20
add esp, 0x1c
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x10315466
test cl, cl
je case.0x10315565.0
push dword [esp + 0x24]
call fcn.1030fb20
mov eax, dword [esi + 8]
add esp, 4
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov byte [esp + 0x1a], 1
mov dword [esi + 0xc], eax
jmp 0x10315466
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jg 0x10315e47
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xdc]
push eax
call fcn.10311d50
mov edx, eax
push esi
mov dword [esp + 0x1c], edx
call fcn.10317b90
mov edi, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp byte [eax + 8], 0
je 0x10315a17
mov eax, dword [edi + 0x268]
test eax, eax
je 0x10315a17
push eax
push ecx
call fcn.102e0b80
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x10315a14
mov ecx, dword [eax]
jmp 0x10315a17
or ecx, 0xffffffff
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
cmp al, 0x1d
je 0x10315ad8
mov eax, dword [edi + 0x234]
add eax, ecx
cmp eax, dword [edi + 0x22c]
jae 0x10315e47
lea edx, [eax*4]
mov eax, dword [edi + 0x23c]
mov ecx, dword [edx + eax]
mov eax, dword [esp + 0x10]
mov dword [eax + 4], ecx
cmp byte [edi + 0x30], 0
je 0x10315abb
mov eax, dword [edi + 0x264]
test eax, eax
je 0x10315a7f
mov eax, dword [eax + edx]
mov edx, dword [esp + 0x10]
add eax, ecx
mov edi, dword [esp + 0x14]
mov dword [edx + 8], eax
mov ecx, dword [edx + 4]
mov dword [edx + 0xc], ecx
jmp 0x10315466
mov eax, dword [edi + 0x260]
test eax, eax
mov dword [esp + 0x34], 0
cmovs eax, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x23c]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + edx + 4]
mov edx, ecx
mov dword [edx + 8], eax
mov ecx, dword [edx + 4]
mov dword [edx + 0xc], ecx
jmp 0x10315466
mov eax, dword [edi + 0x23c]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + edx + 4]
mov edx, dword [esp + 0x10]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
jmp 0x10315466
mov edx, dword [edi + 0x238]
add edx, ecx
cmp edx, dword [edi + 0x230]
jae 0x10315e47
mov eax, dword [edi + 0x240]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + edx*4]
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x240]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + edx*4 + 4]
mov edx, ecx
mov dword [edx + 8], eax
jmp 0x10315466
mov edi, dword [esp + 0x14]
cmp edi, 1
jl 0x10315e47
dec edi
lea eax, [esp + 0xd8]
push edi
push eax
mov dword [esp + 0x1c], edi
call fcn.10311d50
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
jmp 0x10315466
push edx
call fcn.10312510
mov cl, al
add esp, 4
movzx edx, cl
mov byte [esp + 0x23], cl
lea eax, [edx - 8]
cmp eax, 0x1d
ja case.default.0x10315b6a
movzx ecx, byte [eax + 0x10317970]
jmp dword [ecx*4 + 0x10317958]
push 0
push 0x103d27bc
jmp 0x10315bdb
push 0
push 0x103d27c8
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x3f28]
push eax
lea eax, [esp + 0x3f28]
push eax
push esi
call fcn.10312b00
mov ebx, dword [esp + 0x3f34]
add esp, 0x18
mov ebp, dword [esp + 0x3f18]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [esi + 0xc], eax
jmp 0x10315466
push 0
push 0x103d27d4
jmp 0x10315bdb
push 1
push 0x103d27e0
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x3f28]
push eax
lea eax, [esp + 0x3f28]
push eax
push esi
call fcn.10312b00
mov ebx, dword [esp + 0x3f34]
add esp, 0x18
mov ebp, dword [esp + 0x3f18]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
jmp 0x10315466
mov cl, byte [esp + 0x23]
mov eax, dword [esp + 0x40]
cmp byte [eax + 9], 0
jne case.0x10315c72.0
cmp cl, 0x26
jae case.0x10315c72.0
mov al, byte [eax + 8]
mov edi, dword [esp + 0x58]
test al, al
je 0x10315c69
test edi, edi
jle 0x10315c69
cmp cl, 0x11
je 0x10315c69
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x58], 0
mov dword [esi + 0xc], eax
jmp 0x10315466
cmp edx, 0x21
ja case.0x10315c72.0
jmp dword [edx*4 + 0x10317990]
test al, al
je case.0x10315c72.0
push 0
push esi
call fcn.10317a80
push 2
push esi
mov edi, eax
call fcn.10317a80
push 4
push esi
mov ebp, eax
call fcn.10317a80
push 1
push esi
mov ebx, eax
call fcn.10317a80
mov ecx, ebp
sub ecx, edi
sub ecx, eax
push ecx
push 2
push esi
call fcn.10317c60
push 3
push esi
call fcn.10317a80
sub ebx, ebp
sub ebx, eax
push ebx
push 4
push esi
call fcn.10317c60
mov edi, dword [esp + 0x64]
add esp, 0x40
mov cl, byte [esp + 0x23]
mov eax, dword [edi + 0x20]
cmp cl, 1
jne 0x10315ce2
mov eax, dword [eax]
jmp 0x10315ce5
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x1e]
cmp cl, 1
push eax
push dword [esp + 0x5c]
lea edx, [esp + 0xc4]
lea eax, [esp + 0xa4]
cmovne eax, edx
push eax
push esi
push dword [esp + 0x54]
call fcn.10312d50
add esp, 0x18
cmp byte [edi + 0x224], 0
jne 0x10317534
mov eax, dword [esi + 8]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x10315466
push esi
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
add esp, 8
test eax, eax
je 0x10315d6e
test edx, edx
je 0x10315d6e
mov eax, 1
push eax
push esi
call fcn.10317c20
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x10315466
xor eax, eax
push eax
push esi
call fcn.10317c20
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x10315466
push esi
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
add esp, 8
test eax, eax
jne 0x10315db7
test edx, edx
jne 0x10315db7
push eax
push esi
call fcn.10317c20
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x10315466
mov eax, 1
push eax
push esi
call fcn.10317c20
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x10315466
push esi
call fcn.10317b30
xor ecx, ecx
test eax, eax
sete cl
push ecx
push esi
call fcn.10317c20
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [esp + 0x14]
jmp 0x10315466
test al, al
je case.0x10315c72.0
mov eax, dword [esp + 0x24]
push esi
mov edx, dword [eax + 4]
call fcn.10317b90
mov edi, eax
push esi
mov dword [esp + 0x3c], edi
call fcn.10317b90
push esi
mov ebp, eax
call fcn.10317b30
push esi
mov dword [esp + 0x48], eax
call fcn.10317b30
push esi
mov ebx, eax
call fcn.10317b30
add esp, 0x14
mov dword [esp + 0x50], eax
cmp byte [esp + 0x3f14], 0
je 0x1031741d
mov eax, 0x12
jmp 0x10317538
test al, al
je case.0x10315c72.0
push esi
call fcn.10317b30
mov edi, dword [esp + 0x28]
push esi
mov ecx, dword [edi + 0x24]
mov dword [ecx + 4], eax
call fcn.10317b30
mov ecx, dword [edi + 0x24]
push esi
mov dword [ecx], eax
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
mov ecx, dword [edi + 0x20]
add esp, 0x10
mov byte [esp + 0x1a], 1
add dword [ecx], eax
mov ecx, dword [edi + 0x20]
add dword [ecx + 4], edx
cmp byte [edi + 0x2f], 0
jne 0x10317534
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x14]
je 0x10315ec4
add ebp, eax
add ebx, edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3f1c], ebx
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc], eax
jmp 0x10315466
push esi
call fcn.10317b30
add esp, 4
cmp eax, 0x80000001
jge 0x10315efe
push bind
push esi
call fcn.10317be0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x10315466
cdq
xor eax, edx
sub eax, edx
push eax
push esi
call fcn.10317be0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x10315466
push esi
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
add eax, edx
push eax
push esi
call fcn.10317be0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x10315466
push esi
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
sub eax, edx
push eax
push esi
call fcn.10317be0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x10315466
test al, al
je 0x10315f88
cmp byte [esp + 0x60], 0
je 0x10315f88
push esi
call fcn.10317b90
push esi
mov edx, eax
call fcn.10317b90
mov byte [esp + 0x68], 0
jmp 0x10315f96
push esi
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
add esp, 8
push edx
push eax
call fcn.102db4c0
push eax
push esi
call fcn.10317be0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x10315466
push esi
call fcn.10317b30
add esp, 4
cmp eax, 0x80000001
jge 0x10315fe3
mov eax, bind
push eax
push esi
call fcn.10317be0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x10315466
neg eax
push eax
push esi
call fcn.10317be0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x10315466
push esi
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
xor ecx, ecx
cmp eax, edx
sete cl
jmp 0x103172eb
test al, al
je 0x10317410
push esi
call fcn.10317b90
push esi
mov edi, eax
call fcn.10317b90
mov edx, dword [esi + 0xc]
add esp, 8
mov ecx, dword [esi + 8]
sub edx, ecx
sar edx, 3
sub edx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x58], 0
cmp edi, 0x1c
ja case.default.0x10316064
movzx eax, byte [edi + 0x10317a58]
jmp dword [eax*4 + 0x10317a18]
cmp dword [esp + 0x1c], 3
jne 0x10315e47
cmp byte [esp + 0x1b], 0
je 0x1031609b
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x1d4], 0
je 0x10315e47
cmp dword [edi + 0x1d8], 7
jne 0x10315e47
push ebp
push esi
call fcn.10317be0
push ebx
push esi
call fcn.10317be0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 2
jmp 0x10315466
cmp dword [esp + 0x1c], 0
jne 0x10315e47
cmp byte [esp + 0x1b], 0
je 0x10317410
mov edi, dword [esp + 0x24]
mov edx, dword [edi + 0xc]
movsx eax, word [edx + 0x16]
movsx ecx, word [edx + 0x3a]
add eax, 6
add eax, ecx
cmp eax, dword [edx + 4]
jbe 0x10316105
push 0
push 6
push edx
call fcn.102dbd20
add esp, 0xc
test eax, eax
jne 0x10317534
mov edx, dword [esp + 0x10]
mov dword [edi + 0x1d4], 1
mov dword [edi + 0x1d8], 0
mov edi, dword [esp + 0x14]
jmp 0x10315466
cmp dword [esp + 0x1c], 0
jne 0x10315e47
cmp byte [esp + 0x1b], 0
je 0x10317410
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x1d4], 0
je 0x10315e47
mov edi, dword [ecx + 0x1d8]
lea eax, [edi + 1]
mov dword [ecx + 0x1d8], eax
lea eax, [edi - 1]
cmp eax, 5
ja 0x10317410
mov edx, dword [ecx + 0xc]
movsx eax, word [edx + 0x16]
movsx ecx, word [edx + 0x3a]
inc eax
add eax, ecx
cmp eax, dword [edx + 4]
jbe 0x10316190
push 0
push 1
push edx
call fcn.102dbd20
add esp, 0xc
test eax, eax
jne 0x10315e47
cmp edi, 3
lea eax, [edi - 3]
cmovle eax, edi
add eax, eax
mov dword [esp + eax*4 + 0x3e5c], ebp
mov dword [esp + eax*4 + 0x3e60], ebx
cmp edi, 3
je 0x103161b7
cmp edi, 6
jne 0x10317410
push dword [esp + 0x3e78]
lea eax, [esp + 0x134]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push eax
call fcn.10313ab0
mov edx, dword [esp + 0x2c]
add esp, 0x1c
mov edi, dword [esp + 0x14]
jmp 0x10315466
cmp dword [esp + 0x1c], 1
jne 0x10315e47
cmp byte [esp + 0x1b], 0
je 0x1031625a
mov eax, dword [esp + 0x64]
xorps xmm0, xmm0
movups xmmword [esp + 0xf8], xmm0
mov dword [esp + 0xac], 0
mov dword [esp + 0xcc], 0
movq qword [esp + 0x108], xmm0
mov dword [esp + 0x110], 0
mov dword [esp + 0xf8], eax
mov word [esp + 0xfc], 0x100
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x10315466
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x10315466
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x284]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10315e47
xor eax, eax
cmp edi, 0x12
sete al
add eax, 0xfffffff3
add eax, edi
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x48]
imul eax, ecx
cmp dword [esp + 0x1c], eax
jne 0x10315e47
lea edi, [ecx + edx]
test ecx, ecx
je 0x1031638a
mov ebp, ecx
mov dword [esp + 0x5c], ecx
nop word [eax + eax]
push edx
push esi
call fcn.10317a80
mov ebx, eax
add esp, 8
mov eax, dword [esp + 0x30]
cmp dword [eax], 1
jbe 0x1031635a
mov eax, 1
mov ebp, 4
sub eax, edi
mov dword [esp + 0x50], eax
push edi
push esi
call fcn.10317a80
mov dword [esp + 0x3c], eax
add esp, 8
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x88]
mov eax, dword [eax + ebp]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x30]
lea ebp, [ebp + 4]
mov eax, dword [esp + 0x50]
inc edi
add ebx, dword [esp + 0x88]
add eax, edi
cmp eax, dword [ecx]
jb 0x103162f5
mov ebp, dword [esp + 0x5c]
push ebx
push dword [esp + 0x40]
push esi
call fcn.10317c60
mov edx, dword [esp + 0x48]
add esp, 0xc
inc edx
sub ebp, 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], ebp
jne 0x103162d0
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
sub eax, ecx
push eax
push esi
call fcn.10317af0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x10315466
cmp dword [esp + 0x1c], 1
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x284]
jne 0x10315e47
test edi, edi
je 0x10315e47
push esi
call fcn.10317b90
mov edx, eax
add esp, 4
test edx, edx
js 0x10315e47
mov eax, dword [edi]
mov esi, dword [esp + 0x24]
lea ecx, [edx + eax]
cmp ecx, dword [esi + 0x28c]
mov esi, dword [esp + 0x70]
ja 0x10315e47
lea ecx, [eax*4]
mov eax, dword [esp + 0x24]
push ecx
push dword [edi + 0x88]
mov eax, dword [eax + 0x288]
lea eax, [eax + edx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [esp + 0x14]
jmp 0x10315466
cmp dword [esp + 0x1c], 2
jne 0x10315e47
push esi
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
add eax, edx
push eax
push esi
call fcn.10317be0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x10315466
cmp dword [esp + 0x1c], 2
jne 0x10315e47
push esi
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
sub eax, edx
push eax
push esi
call fcn.10317be0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x10315466
cmp dword [esp + 0x1c], 2
jne 0x10315e47
push esi
call fcn.10317b30
push esi
mov dword [esp + 0x40], eax
call fcn.10317b30
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x8c], eax
push dword [esp + 0x8c]
push esi
call fcn.10317be0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x10315466
cmp dword [esp + 0x1c], 2
jne 0x10315e47
push esi
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
add esp, 8
test edx, edx
je 0x10315e47
push edx
push eax
call fcn.102db4c0
push eax
push esi
call fcn.10317be0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x10315466
cmp dword [esp + 0x1c], 2
jne 0x10315e47
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x284], 0
je 0x10315e47
push esi
call fcn.10317b90
mov edx, eax
add esp, 4
test edx, edx
js 0x10315e47
cmp edx, dword [edi + 0x28c]
jae 0x10315e47
push esi
call fcn.10317b30
mov ecx, dword [edi + 0x288]
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x10]
jmp 0x10315466
cmp dword [esp + 0x1c], 1
jne 0x10315e47
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x284], 0
je 0x10315e47
push esi
call fcn.10317b90
add esp, 4
test eax, eax
js 0x10315e47
cmp eax, dword [edi + 0x28c]
jae 0x10315e47
mov ecx, dword [edi + 0x288]
push dword [ecx + eax*4]
jmp 0x103164e7
cmp dword [esp + 0x1c], 4
jne 0x10315e47
push esi
call fcn.10317b30
push esi
mov ebx, eax
call fcn.10317b30
push esi
mov edi, eax
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
cmp edi, ebx
cmovle edx, eax
push edx
push esi
call fcn.10317be0
mov ebx, dword [esp + 0x40]
add esp, 0x18
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x10315466
cmp dword [esp + 0x1c], 0
jne 0x10315e47
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x218]
mov edx, dword [edi + 0x288]
mov ecx, edx
mov eax, ecx
shl eax, 0xd
xor ecx, eax
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov eax, ecx
shl eax, 5
xor eax, ecx
mov dword [edi + 0x288], eax
movzx eax, dx
inc eax
push eax
jmp 0x103164e7
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x10315e47
test edi, edi
js 0x10315e47
cmp eax, 3
mov ecx, eax
mov eax, 3
cmovg ecx, eax
mov dword [esp + 0x58], ecx
cmp ecx, 1
jl 0x10317410
lea edx, [esp + ecx*4 + 0x3e50]
mov edi, ecx
nop word [eax + eax]
push esi
call fcn.10317b30
add esp, 4
mov dword [edx], eax
lea edx, [edx - 4]
sub edi, 1
jne 0x103166c0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x10315466
test al, al
je 0x10317410
mov ecx, dword [esp + 0x48]
test ecx, ecx
jle 0x10316702
mov edi, dword [esp + 0x14]
dec ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
jmp 0x10315466
test edi, edi
je 0x10315e47
push dword [esp + edi*4 + 0x3e50]
dec edi
push esi
mov dword [esp + 0x60], edi
call fcn.10317be0
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x10315466
push esi
call fcn.10317b30
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x10]
jmp 0x10315466
push esi
call fcn.10317b90
push esi
mov edx, eax
call fcn.10317b30
add esp, 8
cmp edx, 0x1f
ja 0x10317410
mov edi, dword [esp + 0x14]
mov dword [esp + edx*4 + 0x3e7c], eax
mov edx, dword [esp + 0x10]
jmp 0x10315466
push esi
call fcn.10317b90
add esp, 4
cmp eax, 0x1f
ja 0x10317410
push dword [esp + eax*4 + 0x3e7c]
push esi
call fcn.10317be0
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x10315466
push esi
call fcn.10317b30
push esi
mov ebx, eax
call fcn.10317b30
push esi
mov edi, eax
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
cmp edi, ebx
cmovle edx, eax
push edx
push esi
call fcn.10317be0
mov ebx, dword [esp + 0x40]
add esp, 0x18
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x10315466
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x218]
mov edx, dword [edi + 0x288]
mov ecx, edx
mov eax, ecx
shl eax, 0xd
xor ecx, eax
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov eax, ecx
shl eax, 5
xor eax, ecx
mov dword [edi + 0x288], eax
movzx eax, dx
inc eax
jmp 0x103168ca
push esi
call fcn.10317b30
push esi
mov dword [esp + 0x40], eax
call fcn.10317b30
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x68], eax
push dword [esp + 0x68]
push esi
call fcn.10317be0
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x10315466
push esi
call fcn.10317b30
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jle 0x103168c8
mov edi, eax
cmp eax, 0xa
jl 0x10316884
sar edi, 1
push edi
push eax
call fcn.102db4c0
inc eax
add esp, 8
add eax, edi
sar eax, 1
mov dword [esp + 0x3c], eax
cmp eax, edi
je 0x103168ca
mov ebp, dword [esp + 0x34]
mov esi, eax
push esi
push ebp
mov edi, esi
call fcn.102db4c0
inc esi
add esp, 8
add esi, eax
sar esi, 1
cmp esi, edi
jne 0x103168a1
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x3c]
jmp 0x103168ca
xor eax, eax
push eax
push esi
call fcn.10317be0
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x10315466
push esi
call fcn.10317b30
mov edi, eax
push edi
push esi
call fcn.10317be0
push edi
push esi
call fcn.10317be0
mov edi, dword [esp + 0x28]
add esp, 0x14
mov edx, dword [esp + 0x10]
jmp 0x10315466
push esi
call fcn.10317b30
push esi
mov edx, eax
call fcn.10317b30
push edx
push esi
mov edi, eax
call fcn.10317be0
push edi
push esi
call fcn.10317be0
mov edi, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [esp + 0x10]
jmp 0x10315466
push esi
call fcn.10317b90
mov ecx, dword [esi + 0xc]
add esp, 4
sub ecx, dword [esi + 8]
sar ecx, 3
test ecx, ecx
je 0x10317410
test eax, eax
js 0x1031695d
cmp eax, ecx
jb 0x1031695b
xor ecx, ecx
jmp 0x1031695e
sub ecx, eax
dec ecx
push ecx
push esi
call fcn.10317a80
push eax
push esi
call fcn.10317be0
mov edi, dword [esp + 0x24]
add esp, 0x10
mov edx, dword [esp + 0x10]
jmp 0x10315466
push esi
call fcn.10317b90
push esi
mov edx, eax
call fcn.10317b90
mov edi, eax
mov dword [esp + 0x44], 0
add esp, 8
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], 2
cmp edi, 2
jl 0x10317410
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
sar ecx, 3
cmp edi, ecx
jbe 0x103169e0
mov eax, dword [esi + 4]
test eax, eax
je 0x10317410
cmp dword [eax], 0
jne 0x10317410
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x10315466
test edx, edx
jns 0x103169f5
neg edx
mov eax, edx
cdq
idiv edi
mov ecx, edx
neg ecx
mov dword [esp + 0x5c], ecx
jmp 0x10316a00
mov eax, edx
cdq
idiv edi
mov ecx, edx
mov dword [esp + 0x5c], edx
test ecx, ecx
je 0x10317410
mov eax, dword [esp + 0x38]
or edi, 0xffffffff
mov dword [esp + 0x34], 0xffffffff
test eax, eax
jle 0x10317410
mov ebx, dword [esp + 0x34]
lea edx, [edi - 7]
shl ecx, 3
lea ebp, [eax*8]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
nop dword [eax + eax]
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
cmp ebx, edi
jne 0x10316a66
inc ebx
mov esi, dword [ecx + ebx*8]
lea edx, [ebx*8]
mov dword [esp + 0x3c], esi
mov edi, ebx
mov esi, dword [ecx + edx + 4]
mov dword [esp + 0x30], esi
jmp 0x10316a6a
mov dword [esp + 0x1c], ecx
add edi, dword [esp + 0x5c]
add edx, dword [esp + 0x4c]
cmp edi, eax
jl 0x10316a7c
sub edi, eax
sub edx, ebp
jmp 0x10316a84
test edi, edi
jns 0x10316a84
add edi, eax
add edx, ebp
sub dword [esp + 0x50], 1
mov eax, dword [edx + ecx]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov ecx, dword [edx + ecx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
mov dword [edx + ebp], esi
mov esi, dword [esp + 0x30]
mov dword [edx + ebp + 4], esi
mov esi, dword [esp + 0x70]
lea ebp, [eax*8]
mov dword [esp + 0x30], ecx
jne 0x10316a40
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x10315466
test al, al
je case.0x10315c72.0
cmp byte [esp + 0x1b], 0
je case.0x10315c72.0
push esi
call fcn.10317b30
mov ebx, eax
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3f24], ebx
call fcn.10317b30
mov edx, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
mov dword [eax + 0x1d4], 0
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x10315466
test cl, cl
je case.0x10315565.0
push esi
call fcn.10317b30
mov edx, dword [esp + 0x28]
push esi
mov ecx, dword [edx + 0x24]
mov dword [ecx], eax
mov eax, dword [edx + 0x24]
mov dword [eax + 4], 0
call fcn.10317b30
mov ecx, dword [edx + 0x20]
add esp, 8
mov byte [esp + 0x1a], 1
add dword [ecx], eax
cmp byte [edx + 0x2f], 0
jne 0x10317534
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
je 0x10315696
add ebp, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
mov dword [esi + 0xc], eax
jmp 0x10315466
test cl, cl
je 0x10317773
test ch, ch
jne 0x10317773
push ebx
lea eax, [esp + 0x134]
push ebp
push eax
call fcn.10313fa0
mov edi, dword [esp + 0x20]
xorps xmm0, xmm0
mov eax, dword [esp + 0x70]
add esp, 0xc
mov byte [esp + 0x1b], 1
mov dword [esp + 0xac], 0
mov dword [esp + 0xcc], 0
movq qword [esp + 0x108], xmm0
mov dword [esp + 0x110], 0
movups xmmword [esp + 0xf8], xmm0
mov dword [esp + 0xf8], eax
mov word [esp + 0xfc], 0x100
test edi, edi
jle 0x10316c41
dec edi
lea eax, [esp + 0xd8]
push edi
push eax
call fcn.10311d50
add esp, 8
mov edx, eax
mov dword [esp + 0x10], edx
test edi, edi
jg 0x10316c10
mov eax, dword [edx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x14], edi
mov dword [esi + 0xc], eax
jmp 0x10315466
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x10315466
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10316c72
cmp byte [esp + 0xfc], 0
jne case.0x10315565.0
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x1a]
push 0
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0xa4]
push eax
push esi
push edi
call fcn.10312d50
mov eax, dword [esp + 0x3c]
add esp, 0x18
cmp byte [eax + 0x224], 0
jne 0x10317534
mov eax, dword [esp + 0x30]
cmp al, 0x13
jne 0x10316ce2
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0xcc]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x100]
push eax
call fcn.10314eb0
mov eax, dword [esi + 8]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x10315466
push dword [esp + 0x84]
lea eax, [esp + 0x2e90]
push eax
lea eax, [esp + 0x1f78]
push eax
lea eax, [esp + 0x2f44]
push edi
push eax
call fcn.10314b20
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0xc0]
add eax, dword [esp + 0xe0]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x130]
movlpd qword [esp + 0x134], xmm0
push eax
movlpd qword [esp + 0x140], xmm0
movlpd qword [esp + 0x148], xmm0
call fcn.10314eb0
push 0
push 0
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x2f6c]
push eax
call fcn.10314720
mov eax, dword [esi + 8]
add esp, 0x38
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x10315466
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 2
jbe 0x10316dbc
cmp byte [esp + 0x1a], 0
jne 0x10316dbc
push 0
push esi
call fcn.10317a80
mov ecx, dword [esp + 0x5c]
add esp, 8
add eax, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0x24]
mov byte [esp + 0x1a], 1
cmp byte [edi + 0x224], 0
jne 0x10317534
push esi
call fcn.10317b30
add ebx, eax
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3f24], ebx
call fcn.10317b30
add esp, 8
add ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
jmp 0x1031573d
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10316e2e
cmp byte [esp + 0x1a], 0
jne 0x10316e2e
push 0
push esi
call fcn.10317a80
mov ecx, dword [esp + 0x5c]
add esp, 8
add eax, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0x24]
mov byte [esp + 0x1a], 1
cmp byte [edi + 0x224], 0
jne 0x10317534
push esi
call fcn.10317b30
add esp, 4
add ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
jmp 0x1031573d
mov ecx, dword [esi + 0xc]
xor eax, eax
sub ecx, dword [esi + 8]
sar ecx, 3
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], eax
cmp ecx, 6
jbe 0x10316ed3
lea edi, [eax + 6]
nop word [eax + eax]
push eax
push esi
call fcn.10317a80
add ebp, eax
lea eax, [edi - 5]
push eax
push esi
mov dword [esp + 0x3f28], ebp
call fcn.10317a80
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x3f38], ebx
call fcn.10313e20
mov eax, dword [esp + 0x54]
add edi, 2
mov ecx, dword [esp + 0x6c]
add eax, 2
add esp, 0x1c
mov dword [esp + 0x38], eax
cmp edi, ecx
jb 0x10316e80
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
cmp eax, ecx
jae 0x10316f93
lea ecx, [eax + 2]
mov dword [esp + 0x1c], ecx
lea eax, [ecx - 2]
push eax
push esi
call fcn.10317a80
mov ecx, dword [esp + 0x24]
dec ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x5c], edi
call fcn.10317a80
push dword [esp + 0x2c]
push esi
lea ebp, [ebx + eax]
call fcn.10317a80
mov ecx, dword [esp + 0x34]
inc ecx
push ecx
push esi
lea ebx, [edi + eax]
call fcn.10317a80
mov ecx, dword [esp + 0x3c]
add ecx, 2
push ecx
push esi
lea edi, [eax + ebp]
call fcn.10317a80
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
add eax, 3
push eax
push esi
call fcn.10317a80
add eax, edi
push eax
push dword [esp + 0x60]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x168]
push edi
push ebx
push ebp
push dword [esp + 0x90]
push eax
call fcn.10313ab0
mov ecx, dword [esp + 0x68]
add esp, 0x4c
mov ebp, dword [esp + 0x2c]
add ecx, 6
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
lea eax, [ecx - 2]
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x50]
jb 0x10316ee2
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc], eax
jmp 0x10315466
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub edi, ecx
sar edi, 3
mov eax, edi
and eax, 0xfffffffd
sub edi, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edi
cmp edi, eax
jae 0x103172c3
sub eax, edi
test al, 1
je 0x10316fe5
push edi
push esi
call fcn.10317a80
add eax, ebp
add esp, 8
inc edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
jmp 0x10316fe9
mov dword [esp + 0x3c], ebp
push edi
push esi
call fcn.10317a80
lea ecx, [edi + 1]
mov ebx, eax
add ebx, dword [esp + 0x30]
push ecx
push esi
call fcn.10317a80
mov ebp, eax
lea eax, [edi + 2]
add ebp, dword [esp + 0x4c]
push eax
push esi
call fcn.10317a80
mov ecx, dword [esp + 0x48]
add ecx, 3
push ecx
push esi
lea edi, [ebx + eax]
call fcn.10317a80
add eax, edi
push eax
push ebp
push edi
push ebp
push ebx
push dword [esp + 0x70]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x168]
push eax
call fcn.10313ab0
mov edi, dword [esp + 0x6c]
add esp, 0x3c
mov eax, dword [esp + 0x4c]
add edi, 4
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
mov dword [esp + 0x30], edi
cmp edi, eax
jb 0x10316fc8
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x10315462
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub edi, ecx
sar edi, 3
mov eax, edi
and eax, 0xfffffffd
sub edi, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edi
cmp edi, eax
jae 0x103172c3
nop
sub eax, edi
test al, 1
je 0x103170bd
push edi
push esi
call fcn.10317a80
add eax, ebx
add esp, 8
inc edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
jmp 0x103170c1
mov dword [esp + 0x3c], ebx
push edi
push esi
call fcn.10317a80
lea ecx, [edi + 1]
push ecx
push esi
lea ebx, [eax + ebp]
call fcn.10317a80
mov ebp, dword [esp + 0x40]
lea edi, [ebx + eax]
lea ecx, [ebp + 2]
push ecx
push esi
call fcn.10317a80
add eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
lea eax, [ebp + 3]
push eax
push esi
call fcn.10317a80
lea ebp, [edi + eax]
mov eax, dword [esp + 0x48]
push eax
push ebp
push eax
push edi
push dword [esp + 0x6c]
lea eax, [esp + 0x164]
push ebx
push eax
call fcn.10313ab0
mov edi, dword [esp + 0x6c]
add esp, 0x3c
mov eax, dword [esp + 0x4c]
add edi, 4
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
mov dword [esp + 0x30], edi
cmp edi, eax
jb 0x103170a0
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x10315462
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub edi, ecx
sar edi, 3
cmp al, 0x1f
mov eax, edi
sete byte [esp + 0x23]
and eax, 0xfffffffd
sub edi, eax
mov dword [esp + 0x34], eax
cmp edi, eax
jae 0x103172c3
nop dword [eax]
push edi
push esi
call fcn.10317a80
mov dword [esp + 0x40], eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3c], eax
call fcn.10317a80
lea ecx, [edi + 2]
mov dword [esp + 0x60], eax
push ecx
push esi
call fcn.10317a80
lea ecx, [edi + 3]
mov dword [esp + 0x74], eax
push ecx
push esi
call fcn.10317a80
mov edx, dword [esp + 0x54]
add esp, 0x20
sub edx, edi
mov dword [esp + 0x3c], eax
cmp byte [esp + 0x23], 0
je 0x10317229
mov eax, dword [esp + 0x38]
mov ecx, ebx
add ecx, dword [esp + 0x5c]
add eax, ebp
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
add ebx, ecx
add eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
cmp edx, 5
jne 0x10317218
lea eax, [edi + 4]
push eax
push esi
call fcn.10317a80
mov edi, dword [esp + 0x34]
mov ebp, eax
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [esp + 0x30]
add ebp, eax
mov byte [esp + 0x23], 0
jmp 0x1031727d
mov ecx, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x23], 0
jmp 0x1031727d
mov ecx, dword [esp + 0x38]
mov eax, ebp
add eax, dword [esp + 0x50]
add ecx, ebx
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
add ebp, eax
add ecx, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
cmp edx, 5
jne 0x1031726e
lea eax, [edi + 4]
push eax
push esi
call fcn.10317a80
mov ecx, dword [esp + 0x38]
add esp, 8
mov edi, dword [esp + 0x2c]
lea ebx, [ecx + eax]
jmp 0x10317274
mov ebx, ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x23], 1
push ebx
push ebp
push ecx
push eax
push dword [esp + 0x48]
lea eax, [esp + 0x144]
push dword [esp + 0x3c]
push eax
call fcn.10313ab0
add edi, 4
mov dword [esp + 0x3f34], ebp
add esp, 0x1c
mov dword [esp + 0x3f1c], ebx
cmp edi, dword [esp + 0x34]
jb 0x10317180
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x10315466
push edx
call fcn.10312510
push dword [esp + 0x14]
mov edi, eax
call fcn.10312510
shl edi, 8
movsx ecx, ax
movsx eax, di
or ecx, eax
push ecx
push esi
call fcn.10317c20
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x10315466
cmp al, 0xf6
ja 0x10317323
lea eax, [edi - 0x8b]
push eax
push esi
call fcn.10317c20
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x10315466
push edx
call fcn.10312510
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
cmp al, 0xfa
ja 0x1031735c
lea eax, [ecx - 0xf694]
shl edi, 8
add eax, edi
push eax
push esi
call fcn.10317c20
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x10315466
cmp al, 0xfe
ja 0x10317383
shl edi, 8
mov eax, 0xfa94
sub eax, edi
sub eax, ecx
push eax
push esi
call fcn.10317c20
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x10315466
mov edi, dword [esp + 0x10]
push edi
call fcn.10312510
push edi
mov ebx, eax
call fcn.10312510
push dword [esp + 0x18]
mov edi, eax
call fcn.10312510
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x4c]
shl eax, 8
or eax, ebx
shl eax, 8
or eax, edi
shl eax, 8
or ecx, eax
mov eax, dword [esp + 0x40]
cmp byte [eax + 8], 0
je 0x10317402
cmp ecx, 0x7d00
jg 0x103173d2
cmp ecx, 0xffff8300
jge 0x103173e7
mov edx, dword [esp + 0x60]
test dl, dl
movzx eax, dl
mov edx, 1
cmove eax, edx
mov byte [esp + 0x60], al
push ecx
push esi
call fcn.10317c20
mov ebx, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x10315466
push ecx
push esi
call fcn.10317be0
mov ebx, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x10315466
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x2f], 0
je 0x10317431
mov eax, 0x12
jmp 0x10317538
cmp dword [ecx + 0x244], 0
jne 0x10317450
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x10317450
mov eax, 0x12
jmp 0x10317538
mov eax, dword [ecx + 0x20]
add ebx, dword [eax]
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x10317481
push ebp
push ecx
call fcn.10318230
push edi
push dword [esp + 0x30]
mov ebp, eax
call fcn.10318230
mov ecx, dword [esp + 0x34]
mov edi, eax
add esp, 0x10
mov dword [esp + 0x34], edi
test ebp, ebp
js 0x10315e47
test edi, edi
js 0x10315e47
cmp byte [ecx + 0x2e], 0
je 0x10317653
mov eax, dword [ecx + 8]
mov dword [esp + 0x4c], eax
push 2
mov eax, dword [eax + 0x9c]
mov edi, dword [eax]
push edi
mov dword [esp + 0x70], edi
call fcn.102dbea0
add esp, 8
test eax, eax
jne 0x10317538
mov edi, dword [edi + 0x58]
mov eax, 0x202
sub ebx, dword [esp + 0x50]
push ebx
mov word [edi + 4], ax
mov eax, dword [esp + 0x38]
mov dword [edi], ebp
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], eax
mov eax, 2
mov word [edi + 0x24], ax
call fcn.102deb10
push dword [esp + 0x3c]
sar eax, 0x10
mov dword [edi + 0x28], eax
call fcn.102deb10
mov ecx, dword [esp + 0x54]
add esp, 8
mov edx, dword [esp + 0x68]
sar eax, 0x10
mov dword [edi + 0x2c], eax
mov dword [ecx + 0x80], 2
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x84], eax
mov dword [ecx + 0x48], 0x636f6d70
mov dword [edx + 0x54], 2
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
test edx, edx
je 0x10317547
cmp dword [edx], 0
jne 0x10317547
mov dword [edx], eax
push dword [esp + 0x2ea8]
mov dword [esp + 0x2e9c], 0
push dword [esp + 0x2e90]
mov dword [esp + 0x2ea8], 0
mov dword [esp + 0x2eac], 0
call fcn.102e0ec0
push dword [esp + 0xbc]
mov dword [esp + 0x2eb4], 0
push dword [esp + 0xa4]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
call fcn.102e0ec0
push dword [esp + 0xe4]
mov dword [esp + 0xc8], 0
push dword [esp + 0xcc]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
call fcn.102e0ec0
push dword [esp + 0xac]
mov dword [esp + 0xf0], 0
push dword [esp + 0xf4]
call fcn.102e0ec0
add esp, 0x20
test esi, esi
je 0x1031763a
push dword [esi + 8]
mov edi, dword [esi]
push edi
call fcn.102e0ec0
push esi
push edi
mov dword [esi + 8], 0
call fcn.102e0ec0
add esp, 0x10
mov ecx, dword [esp + 0x3efc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.102d9498
add esp, 0x3ef0
ret
push dword [ecx + 0xc]
call fcn.102dbfa0
lea eax, [esp + 0x3e58]
push eax
push ebp
mov ebp, dword [esp + 0x30]
push ebp
call fcn.10313400
add esp, 0x10
test eax, eax
jne 0x10317538
lea eax, [esp + 0x8c]
push eax
push 0
push 0
push 1
push dword [esp + 0x90]
lea eax, [esp + 0x3e68]
push dword [esp + 0x80]
push eax
push dword [esp + 0x5c]
call fcn.10314f30
lea eax, [esp + 0x3e74]
push eax
push ebp
call fcn.103132c0
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx + 4]
mov ebp, dword [ecx]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx], 0
mov dword [esp + 0x90], edx
mov eax, dword [eax + 0x20]
mov dword [eax + 4], 0
lea eax, [esp + 0x3e7c]
push eax
push edi
mov edi, dword [esp + 0x54]
push edi
call fcn.10313400
add esp, 0x34
test eax, eax
jne 0x10317538
sub ebx, dword [esp + 0x50]
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x3e5c]
push ebx
push 1
push dword [esp + 0x90]
push dword [esp + 0x80]
push eax
push dword [esp + 0x5c]
call fcn.10314f30
lea eax, [esp + 0x3e74]
push eax
push edi
call fcn.103132c0
mov eax, dword [edi + 0x20]
add esp, 0x28
mov ecx, dword [esp + 0x4c]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 4], ecx
jmp 0x10317534
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
je 0x10317786
cmp eax, 5
jne 0x103177a2
cmp byte [esp + 0x1a], 0
jne 0x103177a2
push 0
push esi
call fcn.10317a80
mov ecx, dword [esp + 0x5c]
add esp, 8
add eax, dword [esp + 0x74]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x224], 0
jne 0x10317534
lea eax, [esp + 0x130]
push eax
call fcn.10313480
mov eax, dword [esp + 0x44]
add esp, 4
cmp byte [eax + 9], 0
jne 0x10317534
cmp byte [eax + 8], 0
jne 0x10317534
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10317534
cmp byte [esp + 0x3f14], 0
je 0x10317801
mov eax, 0x12
jmp 0x10317538
push esi
call fcn.10317b90
push esi
mov edx, eax
call fcn.10317b90
push esi
mov edi, eax
call fcn.10317b30
push esi
mov ebx, eax
call fcn.10317b30
mov ebp, eax
lea eax, [esp + 0x3e64]
push eax
push edx
push dword [esp + 0x3c]
call fcn.10313340
add esp, 0x1c
test eax, eax
jne 0x10317538
lea eax, [esp + 0x4c]
push eax
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x3e60]
push 1
push dword [esp + 0x90]
push dword [esp + 0x80]
push eax
push ebp
call fcn.10314f30
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x3e74]
push eax
push ebx
call fcn.10313290
lea eax, [esp + 0x3e7c]
push eax
push edi
push ebx
call fcn.10313340
add esp, 0x34
test eax, eax
jne 0x10317538
lea eax, [esp + 0x4c]
push eax
push 0
push 0
push 1
push dword [esp + 0x90]
lea eax, [esp + 0x3e68]
push dword [esp + 0x80]
push eax
push ebp
call fcn.10314f30
lea eax, [esp + 0x3e74]
push eax
push ebx
call fcn.10313290
add esp, 0x28
jmp 0x10317534
xor eax, eax
jmp 0x10317538