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

Disassembly:
mov eax, 0x3ef0
call fcn.10353c30
mov eax, dword [0x104d5404]
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 [0x10452ea0]
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 0x1038f074
neg eax
cmp ebp, eax
jle 0x1038f080
test ecx, ecx
jns 0x1038f088
neg ecx
jmp 0x1038f088
test esi, esi
jns 0x1038f086
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 0x1038f0f5
mov eax, dword [ecx + 0x214]
mov ebp, dword [eax + 0x614]
mov dword [esp + 0x78], ebp
jmp 0x1038f0fd
mov dword [esp + 0x78], 0x30
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], 0
push eax
push 0x14
push edi
call fcn.1035abd0
mov ebp, dword [esp + 0x70]
add esp, 0xc
cmp dword [esp + 0x7c], 0
mov esi, eax
mov dword [esp + 0x70], esi
jne 0x1038f12b
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.1035ad90
add esp, 0x18
mov dword [esi + 8], eax
cmp dword [esp + 0x7c], 0
je 0x1038f164
push esi
push edi
call fcn.1035ac30
add esp, 8
xor esi, esi
lea eax, [esi + 0x40]
jmp 0x103912a8
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.1038baf0
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 0x10391640
mov ebp, dword [esp + 0x3f18]
mov dword [esp + 0x2c], ebp
mov eax, dword [edx + 0xc]
mov ecx, 0xe
cmp eax, dword [edx + 8]
jb 0x1038f230
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 0x1038f2ae
test ch, ch
jne 0x1038f262
cmp al, 1
je 0x1038f262
cmp al, 3
je 0x1038f262
cmp al, 0xd
je 0x1038f262
cmp al, 0xa
je 0x1038f262
cmp al, 0xb
je 0x1038f262
cmp al, 0xc
je 0x1038f262
cmp al, 0xe
je 0x1038f262
cmp al, 0x20
jae 0x1038f262
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x1038f1d6
mov cl, byte [eax]
inc eax
mov dword [edx + 0xc], eax
mov al, cl
mov dword [esp + 0x30], eax
cmp al, 0xb
je 0x1038f244
cmp al, 0xe
jne 0x1038f1f1
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 0x1038f1f5
mov edi, dword [esp + 0x58]
test edi, edi
jle 0x1038f289
cmp al, 0xa
je 0x1038f289
cmp al, 0xb
je 0x1038f289
cmp al, 0xc
je 0x1038f289
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 0x1038f2ae
cmp al, 0x20
jae 0x1038f2ae
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 0x103912a4
sub dword [esp + 0x90], 1
je 0x1038fbb7
movzx edi, al
cmp edi, 0x1f
ja case.default.0x1038f2d5
jmp dword [edi*4 + 0x10391648]
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 9], 0
je case.0x1038f2d5.0
cmp byte [ecx + 0x5d], 0
jne 0x1038fbb7
push esi
call fcn.10391900
mov edi, dword [esp + 0x18]
add esp, 4
test eax, eax
js 0x1038f406
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x78], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x1038f1d6
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 9], 0
je case.0x1038f2d5.0
cmp dword [ecx + 0x60], 0
je 0x1038fbb7
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 0x1038f380
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 0x103912a8
push esi
call fcn.10391900
add esp, 4
cmp eax, dword [esp + 0x78]
ja 0x1038fbb7
push eax
push esi
push edi
call fcn.1038c670
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov byte [eax + 0x5d], 1
jmp 0x1038f1d6
test cl, cl
jne 0x1038f3c8
cmp byte [esp + 0xfc], cl
jne case.0x1038f2d5.0
mov edi, dword [esp + 0x24]
xor eax, eax
jmp 0x1038f3d2
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.1038cac0
add esp, 0x18
cmp byte [edi + 0x224], 0
jne 0x103912a4
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x1038f1d6
test cl, cl
jne 0x1038f437
cmp byte [esp + 0xfc], cl
jne case.0x1038f2d5.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 0x1038f3e3
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 0x1038f3e3
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x1038f481
cmp byte [esp + 0x1a], 0
jne 0x1038f481
push 0
push esi
call fcn.103917f0
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 0x103912a4
push esi
call fcn.103918a0
add esp, 4
add ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3f1c], ebx
cmp dword [edi + 0x1d4], 0
jne case.0x1038f2d5.0
push ebx
lea eax, [esp + 0x134]
push ebp
push eax
call fcn.1038dd10
mov eax, dword [esi + 8]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x1038f1d6
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 0x1038f541
push edi
push esi
call fcn.103917f0
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3f28], ebp
call fcn.103917f0
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x3f38], ebx
call fcn.1038db90
add edi, 2
add esp, 0x1c
cmp edi, dword [esp + 0x34]
jb 0x1038f4f4
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 0x1038f1d6
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 0x1038f5c1
nop dword [eax]
push edi
push esi
call fcn.103917f0
mov cl, byte [esp + 0x2b]
add esp, 8
test cl, cl
je 0x1038f58d
add ebp, eax
mov dword [esp + 0x3f18], ebp
jmp 0x1038f596
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.1038db90
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x34]
jb 0x1038f570
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 0x1038f1d6
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 0x1038f6a5
nop dword [eax]
push edi
push esi
call fcn.103917f0
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x44], edi
call fcn.103917f0
mov ecx, dword [esp + 0x2c]
add ecx, 2
push ecx
push esi
lea ebp, [ebx + eax]
call fcn.103917f0
mov ecx, dword [esp + 0x34]
add ecx, 3
push ecx
push esi
lea ebx, [edi + eax]
call fcn.103917f0
mov ecx, dword [esp + 0x3c]
add ecx, 4
push ecx
push esi
lea edi, [eax + ebp]
call fcn.103917f0
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
add eax, 5
push eax
push esi
call fcn.103917f0
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.1038d820
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 0x1038f5f0
mov eax, dword [esp + 0x30]
cmp al, 0x18
jne 0x1038f6e6
push edi
push esi
call fcn.103917f0
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x3f28], ebp
call fcn.103917f0
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.1038db90
add esp, 0x1c
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x1038f1d6
test cl, cl
je case.0x1038f2d5.0
push dword [esp + 0x24]
call fcn.10389890
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 0x1038f1d6
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jg 0x1038fbb7
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xdc]
push eax
call fcn.1038bac0
mov edx, eax
push esi
mov dword [esp + 0x1c], edx
call fcn.10391900
mov edi, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp byte [eax + 8], 0
je 0x1038f787
mov eax, dword [edi + 0x268]
test eax, eax
je 0x1038f787
push eax
push ecx
call fcn.1035a8f0
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x1038f784
mov ecx, dword [eax]
jmp 0x1038f787
or ecx, 0xffffffff
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
cmp al, 0x1d
je 0x1038f848
mov eax, dword [edi + 0x234]
add eax, ecx
cmp eax, dword [edi + 0x22c]
jae 0x1038fbb7
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 0x1038f82b
mov eax, dword [edi + 0x264]
test eax, eax
je 0x1038f7ef
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 0x1038f1d6
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 0x1038f1d6
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 0x1038f1d6
mov edx, dword [edi + 0x238]
add edx, ecx
cmp edx, dword [edi + 0x230]
jae 0x1038fbb7
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 0x1038f1d6
mov edi, dword [esp + 0x14]
cmp edi, 1
jl 0x1038fbb7
dec edi
lea eax, [esp + 0xd8]
push edi
push eax
mov dword [esp + 0x1c], edi
call fcn.1038bac0
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
jmp 0x1038f1d6
push edx
call fcn.1038c280
mov cl, al
add esp, 4
movzx edx, cl
mov byte [esp + 0x23], cl
lea eax, [edx - 8]
cmp eax, 0x1d
ja case.default.0x1038f8da
movzx ecx, byte [eax + 0x103916e0]
jmp dword [ecx*4 + 0x103916c8]
push 0
push 0x104528ac
jmp 0x1038f94b
push 0
push 0x104528b8
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x3f28]
push eax
lea eax, [esp + 0x3f28]
push eax
push esi
call fcn.1038c870
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 0x1038f1d6
push 0
push 0x104528c4
jmp 0x1038f94b
push 1
push 0x104528d0
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x3f28]
push eax
lea eax, [esp + 0x3f28]
push eax
push esi
call fcn.1038c870
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 0x1038f1d6
mov cl, byte [esp + 0x23]
mov eax, dword [esp + 0x40]
cmp byte [eax + 9], 0
jne case.0x1038f9e2.0
cmp cl, 0x26
jae case.0x1038f9e2.0
mov al, byte [eax + 8]
mov edi, dword [esp + 0x58]
test al, al
je 0x1038f9d9
test edi, edi
jle 0x1038f9d9
cmp cl, 0x11
je 0x1038f9d9
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 0x1038f1d6
cmp edx, 0x21
ja case.0x1038f9e2.0
jmp dword [edx*4 + 0x10391700]
test al, al
je case.0x1038f9e2.0
push 0
push esi
call fcn.103917f0
push 2
push esi
mov edi, eax
call fcn.103917f0
push 4
push esi
mov ebp, eax
call fcn.103917f0
push 1
push esi
mov ebx, eax
call fcn.103917f0
mov ecx, ebp
sub ecx, edi
sub ecx, eax
push ecx
push 2
push esi
call fcn.103919d0
push 3
push esi
call fcn.103917f0
sub ebx, ebp
sub ebx, eax
push ebx
push 4
push esi
call fcn.103919d0
mov edi, dword [esp + 0x64]
add esp, 0x40
mov cl, byte [esp + 0x23]
mov eax, dword [edi + 0x20]
cmp cl, 1
jne 0x1038fa52
mov eax, dword [eax]
jmp 0x1038fa55
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.1038cac0
add esp, 0x18
cmp byte [edi + 0x224], 0
jne 0x103912a4
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 0x1038f1d6
push esi
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
add esp, 8
test eax, eax
je 0x1038fade
test edx, edx
je 0x1038fade
mov eax, 1
push eax
push esi
call fcn.10391990
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
xor eax, eax
push eax
push esi
call fcn.10391990
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
push esi
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
add esp, 8
test eax, eax
jne 0x1038fb27
test edx, edx
jne 0x1038fb27
push eax
push esi
call fcn.10391990
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
mov eax, 1
push eax
push esi
call fcn.10391990
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
push esi
call fcn.103918a0
xor ecx, ecx
test eax, eax
sete cl
push ecx
push esi
call fcn.10391990
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
test al, al
je case.0x1038f9e2.0
mov eax, dword [esp + 0x24]
push esi
mov edx, dword [eax + 4]
call fcn.10391900
mov edi, eax
push esi
mov dword [esp + 0x3c], edi
call fcn.10391900
push esi
mov ebp, eax
call fcn.103918a0
push esi
mov dword [esp + 0x48], eax
call fcn.103918a0
push esi
mov ebx, eax
call fcn.103918a0
add esp, 0x14
mov dword [esp + 0x50], eax
cmp byte [esp + 0x3f14], 0
je 0x1039118d
mov eax, 0x12
jmp 0x103912a8
test al, al
je case.0x1038f9e2.0
push esi
call fcn.103918a0
mov edi, dword [esp + 0x28]
push esi
mov ecx, dword [edi + 0x24]
mov dword [ecx + 4], eax
call fcn.103918a0
mov ecx, dword [edi + 0x24]
push esi
mov dword [ecx], eax
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
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 0x103912a4
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x14]
je 0x1038fc34
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 0x1038f1d6
push esi
call fcn.103918a0
add esp, 4
cmp eax, 0x80000001
jge 0x1038fc6e
push closesocket
push esi
call fcn.10391950
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
cdq
xor eax, edx
sub eax, edx
push eax
push esi
call fcn.10391950
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
push esi
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
add eax, edx
push eax
push esi
call fcn.10391950
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
push esi
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
sub eax, edx
push eax
push esi
call fcn.10391950
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
test al, al
je 0x1038fcf8
cmp byte [esp + 0x60], 0
je 0x1038fcf8
push esi
call fcn.10391900
push esi
mov edx, eax
call fcn.10391900
mov byte [esp + 0x68], 0
jmp 0x1038fd06
push esi
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
add esp, 8
push edx
push eax
call fcn.10355230
push eax
push esi
call fcn.10391950
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
push esi
call fcn.103918a0
add esp, 4
cmp eax, 0x80000001
jge 0x1038fd53
mov eax, closesocket
push eax
push esi
call fcn.10391950
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
neg eax
push eax
push esi
call fcn.10391950
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
push esi
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
xor ecx, ecx
cmp eax, edx
sete cl
jmp 0x1039105b
test al, al
je 0x10391180
push esi
call fcn.10391900
push esi
mov edi, eax
call fcn.10391900
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.0x1038fdd4
movzx eax, byte [edi + 0x103917c8]
jmp dword [eax*4 + 0x10391788]
cmp dword [esp + 0x1c], 3
jne 0x1038fbb7
cmp byte [esp + 0x1b], 0
je 0x1038fe0b
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x1d4], 0
je 0x1038fbb7
cmp dword [edi + 0x1d8], 7
jne 0x1038fbb7
push ebp
push esi
call fcn.10391950
push ebx
push esi
call fcn.10391950
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 2
jmp 0x1038f1d6
cmp dword [esp + 0x1c], 0
jne 0x1038fbb7
cmp byte [esp + 0x1b], 0
je 0x10391180
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 0x1038fe75
push 0
push 6
push edx
call fcn.10355a90
add esp, 0xc
test eax, eax
jne 0x103912a4
mov edx, dword [esp + 0x10]
mov dword [edi + 0x1d4], 1
mov dword [edi + 0x1d8], 0
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
cmp dword [esp + 0x1c], 0
jne 0x1038fbb7
cmp byte [esp + 0x1b], 0
je 0x10391180
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x1d4], 0
je 0x1038fbb7
mov edi, dword [ecx + 0x1d8]
lea eax, [edi + 1]
mov dword [ecx + 0x1d8], eax
lea eax, [edi - 1]
cmp eax, 5
ja 0x10391180
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 0x1038ff00
push 0
push 1
push edx
call fcn.10355a90
add esp, 0xc
test eax, eax
jne 0x1038fbb7
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 0x1038ff27
cmp edi, 6
jne 0x10391180
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.1038d820
mov edx, dword [esp + 0x2c]
add esp, 0x1c
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
cmp dword [esp + 0x1c], 1
jne 0x1038fbb7
cmp byte [esp + 0x1b], 0
je 0x1038ffca
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 0x1038f1d6
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x1038f1d6
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x284]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1038fbb7
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 0x1038fbb7
lea edi, [ecx + edx]
test ecx, ecx
je 0x103900fa
mov ebp, ecx
mov dword [esp + 0x5c], ecx
nop word [eax + eax]
push edx
push esi
call fcn.103917f0
mov ebx, eax
add esp, 8
mov eax, dword [esp + 0x30]
cmp dword [eax], 1
jbe 0x103900ca
mov eax, 1
mov ebp, 4
sub eax, edi
mov dword [esp + 0x50], eax
push edi
push esi
call fcn.103917f0
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 0x10390065
mov ebp, dword [esp + 0x5c]
push ebx
push dword [esp + 0x40]
push esi
call fcn.103919d0
mov edx, dword [esp + 0x48]
add esp, 0xc
inc edx
sub ebp, 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], ebp
jne 0x10390040
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.10391860
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
cmp dword [esp + 0x1c], 1
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x284]
jne 0x1038fbb7
test edi, edi
je 0x1038fbb7
push esi
call fcn.10391900
mov edx, eax
add esp, 4
test edx, edx
js 0x1038fbb7
mov eax, dword [edi]
mov esi, dword [esp + 0x24]
lea ecx, [edx + eax]
cmp ecx, dword [esi + 0x28c]
mov esi, dword [esp + 0x70]
ja 0x1038fbb7
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 0x1038f1d6
cmp dword [esp + 0x1c], 2
jne 0x1038fbb7
push esi
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
add eax, edx
push eax
push esi
call fcn.10391950
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x1038f1d6
cmp dword [esp + 0x1c], 2
jne 0x1038fbb7
push esi
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
sub eax, edx
push eax
push esi
call fcn.10391950
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x1038f1d6
cmp dword [esp + 0x1c], 2
jne 0x1038fbb7
push esi
call fcn.103918a0
push esi
mov dword [esp + 0x40], eax
call fcn.103918a0
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.10391950
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x1038f1d6
cmp dword [esp + 0x1c], 2
jne 0x1038fbb7
push esi
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
add esp, 8
test edx, edx
je 0x1038fbb7
push edx
push eax
call fcn.10355230
push eax
push esi
call fcn.10391950
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x1038f1d6
cmp dword [esp + 0x1c], 2
jne 0x1038fbb7
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x284], 0
je 0x1038fbb7
push esi
call fcn.10391900
mov edx, eax
add esp, 4
test edx, edx
js 0x1038fbb7
cmp edx, dword [edi + 0x28c]
jae 0x1038fbb7
push esi
call fcn.103918a0
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 0x1038f1d6
cmp dword [esp + 0x1c], 1
jne 0x1038fbb7
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x284], 0
je 0x1038fbb7
push esi
call fcn.10391900
add esp, 4
test eax, eax
js 0x1038fbb7
cmp eax, dword [edi + 0x28c]
jae 0x1038fbb7
mov ecx, dword [edi + 0x288]
push dword [ecx + eax*4]
jmp 0x10390257
cmp dword [esp + 0x1c], 4
jne 0x1038fbb7
push esi
call fcn.103918a0
push esi
mov ebx, eax
call fcn.103918a0
push esi
mov edi, eax
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
cmp edi, ebx
cmovle edx, eax
push edx
push esi
call fcn.10391950
mov ebx, dword [esp + 0x40]
add esp, 0x18
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x1038f1d6
cmp dword [esp + 0x1c], 0
jne 0x1038fbb7
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 0x10390257
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x1038fbb7
test edi, edi
js 0x1038fbb7
cmp eax, 3
mov ecx, eax
mov eax, 3
cmovg ecx, eax
mov dword [esp + 0x58], ecx
cmp ecx, 1
jl 0x10391180
lea edx, [esp + ecx*4 + 0x3e50]
mov edi, ecx
nop word [eax + eax]
push esi
call fcn.103918a0
add esp, 4
mov dword [edx], eax
lea edx, [edx - 4]
sub edi, 1
jne 0x10390430
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
test al, al
je 0x10391180
mov ecx, dword [esp + 0x48]
test ecx, ecx
jle 0x10390472
mov edi, dword [esp + 0x14]
dec ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
jmp 0x1038f1d6
test edi, edi
je 0x1038fbb7
push dword [esp + edi*4 + 0x3e50]
dec edi
push esi
mov dword [esp + 0x60], edi
call fcn.10391950
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
push esi
call fcn.103918a0
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
push esi
call fcn.10391900
push esi
mov edx, eax
call fcn.103918a0
add esp, 8
cmp edx, 0x1f
ja 0x10391180
mov edi, dword [esp + 0x14]
mov dword [esp + edx*4 + 0x3e7c], eax
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
push esi
call fcn.10391900
add esp, 4
cmp eax, 0x1f
ja 0x10391180
push dword [esp + eax*4 + 0x3e7c]
push esi
call fcn.10391950
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
push esi
call fcn.103918a0
push esi
mov ebx, eax
call fcn.103918a0
push esi
mov edi, eax
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
cmp edi, ebx
cmovle edx, eax
push edx
push esi
call fcn.10391950
mov ebx, dword [esp + 0x40]
add esp, 0x18
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
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 0x1039063a
push esi
call fcn.103918a0
push esi
mov dword [esp + 0x40], eax
call fcn.103918a0
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.10391950
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
push esi
call fcn.103918a0
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jle 0x10390638
mov edi, eax
cmp eax, 0xa
jl 0x103905f4
sar edi, 1
push edi
push eax
call fcn.10355230
inc eax
add esp, 8
add eax, edi
sar eax, 1
mov dword [esp + 0x3c], eax
cmp eax, edi
je 0x1039063a
mov ebp, dword [esp + 0x34]
mov esi, eax
push esi
push ebp
mov edi, esi
call fcn.10355230
inc esi
add esp, 8
add esi, eax
sar esi, 1
cmp esi, edi
jne 0x10390611
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x3c]
jmp 0x1039063a
xor eax, eax
push eax
push esi
call fcn.10391950
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
push esi
call fcn.103918a0
mov edi, eax
push edi
push esi
call fcn.10391950
push edi
push esi
call fcn.10391950
mov edi, dword [esp + 0x28]
add esp, 0x14
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
push esi
call fcn.103918a0
push esi
mov edx, eax
call fcn.103918a0
push edx
push esi
mov edi, eax
call fcn.10391950
push edi
push esi
call fcn.10391950
mov edi, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
push esi
call fcn.10391900
mov ecx, dword [esi + 0xc]
add esp, 4
sub ecx, dword [esi + 8]
sar ecx, 3
test ecx, ecx
je 0x10391180
test eax, eax
js 0x103906cd
cmp eax, ecx
jb 0x103906cb
xor ecx, ecx
jmp 0x103906ce
sub ecx, eax
dec ecx
push ecx
push esi
call fcn.103917f0
push eax
push esi
call fcn.10391950
mov edi, dword [esp + 0x24]
add esp, 0x10
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
push esi
call fcn.10391900
push esi
mov edx, eax
call fcn.10391900
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 0x10391180
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
sar ecx, 3
cmp edi, ecx
jbe 0x10390750
mov eax, dword [esi + 4]
test eax, eax
je 0x10391180
cmp dword [eax], 0
jne 0x10391180
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x1038f1d6
test edx, edx
jns 0x10390765
neg edx
mov eax, edx
cdq
idiv edi
mov ecx, edx
neg ecx
mov dword [esp + 0x5c], ecx
jmp 0x10390770
mov eax, edx
cdq
idiv edi
mov ecx, edx
mov dword [esp + 0x5c], edx
test ecx, ecx
je 0x10391180
mov eax, dword [esp + 0x38]
or edi, 0xffffffff
mov dword [esp + 0x34], 0xffffffff
test eax, eax
jle 0x10391180
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 0x103907d6
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 0x103907da
mov dword [esp + 0x1c], ecx
add edi, dword [esp + 0x5c]
add edx, dword [esp + 0x4c]
cmp edi, eax
jl 0x103907ec
sub edi, eax
sub edx, ebp
jmp 0x103907f4
test edi, edi
jns 0x103907f4
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 0x103907b0
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
test al, al
je case.0x1038f9e2.0
cmp byte [esp + 0x1b], 0
je case.0x1038f9e2.0
push esi
call fcn.103918a0
mov ebx, eax
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3f24], ebx
call fcn.103918a0
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 0x1038f1d6
test cl, cl
je case.0x1038f2d5.0
push esi
call fcn.103918a0
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.103918a0
mov ecx, dword [edx + 0x20]
add esp, 8
mov byte [esp + 0x1a], 1
add dword [ecx], eax
cmp byte [edx + 0x2f], 0
jne 0x103912a4
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
je 0x1038f406
add ebp, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
mov dword [esi + 0xc], eax
jmp 0x1038f1d6
test cl, cl
je 0x103914e3
test ch, ch
jne 0x103914e3
push ebx
lea eax, [esp + 0x134]
push ebp
push eax
call fcn.1038dd10
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 0x103909b1
dec edi
lea eax, [esp + 0xd8]
push edi
push eax
call fcn.1038bac0
add esp, 8
mov edx, eax
mov dword [esp + 0x10], edx
test edi, edi
jg 0x10390980
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 0x1038f1d6
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 0x1038f1d6
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x103909e2
cmp byte [esp + 0xfc], 0
jne case.0x1038f2d5.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.1038cac0
mov eax, dword [esp + 0x3c]
add esp, 0x18
cmp byte [eax + 0x224], 0
jne 0x103912a4
mov eax, dword [esp + 0x30]
cmp al, 0x13
jne 0x10390a52
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0xcc]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x100]
push eax
call fcn.1038ec20
mov eax, dword [esi + 8]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x1038f1d6
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.1038e890
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.1038ec20
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.1038e490
mov eax, dword [esi + 8]
add esp, 0x38
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x1038f1d6
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 2
jbe 0x10390b2c
cmp byte [esp + 0x1a], 0
jne 0x10390b2c
push 0
push esi
call fcn.103917f0
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 0x103912a4
push esi
call fcn.103918a0
add ebx, eax
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3f24], ebx
call fcn.103918a0
add esp, 8
add ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
jmp 0x1038f4ad
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10390b9e
cmp byte [esp + 0x1a], 0
jne 0x10390b9e
push 0
push esi
call fcn.103917f0
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 0x103912a4
push esi
call fcn.103918a0
add esp, 4
add ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
jmp 0x1038f4ad
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 0x10390c43
lea edi, [eax + 6]
nop word [eax + eax]
push eax
push esi
call fcn.103917f0
add ebp, eax
lea eax, [edi - 5]
push eax
push esi
mov dword [esp + 0x3f28], ebp
call fcn.103917f0
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x3f38], ebx
call fcn.1038db90
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 0x10390bf0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
cmp eax, ecx
jae 0x10390d03
lea ecx, [eax + 2]
mov dword [esp + 0x1c], ecx
lea eax, [ecx - 2]
push eax
push esi
call fcn.103917f0
mov ecx, dword [esp + 0x24]
dec ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x5c], edi
call fcn.103917f0
push dword [esp + 0x2c]
push esi
lea ebp, [ebx + eax]
call fcn.103917f0
mov ecx, dword [esp + 0x34]
inc ecx
push ecx
push esi
lea ebx, [edi + eax]
call fcn.103917f0
mov ecx, dword [esp + 0x3c]
add ecx, 2
push ecx
push esi
lea edi, [eax + ebp]
call fcn.103917f0
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
add eax, 3
push eax
push esi
call fcn.103917f0
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.1038d820
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 0x10390c52
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc], eax
jmp 0x1038f1d6
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 0x10391033
sub eax, edi
test al, 1
je 0x10390d55
push edi
push esi
call fcn.103917f0
add eax, ebp
add esp, 8
inc edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
jmp 0x10390d59
mov dword [esp + 0x3c], ebp
push edi
push esi
call fcn.103917f0
lea ecx, [edi + 1]
mov ebx, eax
add ebx, dword [esp + 0x30]
push ecx
push esi
call fcn.103917f0
mov ebp, eax
lea eax, [edi + 2]
add ebp, dword [esp + 0x4c]
push eax
push esi
call fcn.103917f0
mov ecx, dword [esp + 0x48]
add ecx, 3
push ecx
push esi
lea edi, [ebx + eax]
call fcn.103917f0
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.1038d820
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 0x10390d38
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x1038f1d2
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 0x10391033
nop
sub eax, edi
test al, 1
je 0x10390e2d
push edi
push esi
call fcn.103917f0
add eax, ebx
add esp, 8
inc edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
jmp 0x10390e31
mov dword [esp + 0x3c], ebx
push edi
push esi
call fcn.103917f0
lea ecx, [edi + 1]
push ecx
push esi
lea ebx, [eax + ebp]
call fcn.103917f0
mov ebp, dword [esp + 0x40]
lea edi, [ebx + eax]
lea ecx, [ebp + 2]
push ecx
push esi
call fcn.103917f0
add eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
lea eax, [ebp + 3]
push eax
push esi
call fcn.103917f0
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.1038d820
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 0x10390e10
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x1038f1d2
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 0x10391033
nop dword [eax]
push edi
push esi
call fcn.103917f0
mov dword [esp + 0x40], eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3c], eax
call fcn.103917f0
lea ecx, [edi + 2]
mov dword [esp + 0x60], eax
push ecx
push esi
call fcn.103917f0
lea ecx, [edi + 3]
mov dword [esp + 0x74], eax
push ecx
push esi
call fcn.103917f0
mov edx, dword [esp + 0x54]
add esp, 0x20
sub edx, edi
mov dword [esp + 0x3c], eax
cmp byte [esp + 0x23], 0
je 0x10390f99
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 0x10390f88
lea eax, [edi + 4]
push eax
push esi
call fcn.103917f0
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 0x10390fed
mov ecx, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x23], 0
jmp 0x10390fed
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 0x10390fde
lea eax, [edi + 4]
push eax
push esi
call fcn.103917f0
mov ecx, dword [esp + 0x38]
add esp, 8
mov edi, dword [esp + 0x2c]
lea ebx, [ecx + eax]
jmp 0x10390fe4
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.1038d820
add edi, 4
mov dword [esp + 0x3f34], ebp
add esp, 0x1c
mov dword [esp + 0x3f1c], ebx
cmp edi, dword [esp + 0x34]
jb 0x10390ef0
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 0x1038f1d6
push edx
call fcn.1038c280
push dword [esp + 0x14]
mov edi, eax
call fcn.1038c280
shl edi, 8
movsx ecx, ax
movsx eax, di
or ecx, eax
push ecx
push esi
call fcn.10391990
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x1038f1d6
cmp al, 0xf6
ja 0x10391093
lea eax, [edi - 0x8b]
push eax
push esi
call fcn.10391990
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
push edx
call fcn.1038c280
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
cmp al, 0xfa
ja 0x103910cc
lea eax, [ecx - 0xf694]
shl edi, 8
add eax, edi
push eax
push esi
call fcn.10391990
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
cmp al, 0xfe
ja 0x103910f3
shl edi, 8
mov eax, 0xfa94
sub eax, edi
sub eax, ecx
push eax
push esi
call fcn.10391990
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
mov edi, dword [esp + 0x10]
push edi
call fcn.1038c280
push edi
mov ebx, eax
call fcn.1038c280
push dword [esp + 0x18]
mov edi, eax
call fcn.1038c280
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 0x10391172
cmp ecx, 0x7d00
jg 0x10391142
cmp ecx, 0xffff8300
jge 0x10391157
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.10391990
mov ebx, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
push ecx
push esi
call fcn.10391950
mov ebx, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1038f1d6
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x2f], 0
je 0x103911a1
mov eax, 0x12
jmp 0x103912a8
cmp dword [ecx + 0x244], 0
jne 0x103911c0
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x103911c0
mov eax, 0x12
jmp 0x103912a8
mov eax, dword [ecx + 0x20]
add ebx, dword [eax]
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x103911f1
push ebp
push ecx
call fcn.10391fa0
push edi
push dword [esp + 0x30]
mov ebp, eax
call fcn.10391fa0
mov ecx, dword [esp + 0x34]
mov edi, eax
add esp, 0x10
mov dword [esp + 0x34], edi
test ebp, ebp
js 0x1038fbb7
test edi, edi
js 0x1038fbb7
cmp byte [ecx + 0x2e], 0
je 0x103913c3
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.10355c10
add esp, 8
test eax, eax
jne 0x103912a8
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.10358880
push dword [esp + 0x3c]
sar eax, 0x10
mov dword [edi + 0x28], eax
call fcn.10358880
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 0x103912b7
cmp dword [edx], 0
jne 0x103912b7
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.1035ac30
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.1035ac30
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.1035ac30
push dword [esp + 0xac]
mov dword [esp + 0xf0], 0
push dword [esp + 0xf4]
call fcn.1035ac30
add esp, 0x20
test esi, esi
je 0x103913aa
push dword [esi + 8]
mov edi, dword [esi]
push edi
call fcn.1035ac30
push esi
push edi
mov dword [esi + 8], 0
call fcn.1035ac30
add esp, 0x10
mov ecx, dword [esp + 0x3efc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10353876
add esp, 0x3ef0
ret
push dword [ecx + 0xc]
call fcn.10355d10
lea eax, [esp + 0x3e58]
push eax
push ebp
mov ebp, dword [esp + 0x30]
push ebp
call fcn.1038d170
add esp, 0x10
test eax, eax
jne 0x103912a8
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.1038eca0
lea eax, [esp + 0x3e74]
push eax
push ebp
call fcn.1038d030
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.1038d170
add esp, 0x34
test eax, eax
jne 0x103912a8
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.1038eca0
lea eax, [esp + 0x3e74]
push eax
push edi
call fcn.1038d030
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 0x103912a4
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
je 0x103914f6
cmp eax, 5
jne 0x10391512
cmp byte [esp + 0x1a], 0
jne 0x10391512
push 0
push esi
call fcn.103917f0
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 0x103912a4
lea eax, [esp + 0x130]
push eax
call fcn.1038d1f0
mov eax, dword [esp + 0x44]
add esp, 4
cmp byte [eax + 9], 0
jne 0x103912a4
cmp byte [eax + 8], 0
jne 0x103912a4
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x103912a4
cmp byte [esp + 0x3f14], 0
je 0x10391571
mov eax, 0x12
jmp 0x103912a8
push esi
call fcn.10391900
push esi
mov edx, eax
call fcn.10391900
push esi
mov edi, eax
call fcn.103918a0
push esi
mov ebx, eax
call fcn.103918a0
mov ebp, eax
lea eax, [esp + 0x3e64]
push eax
push edx
push dword [esp + 0x3c]
call fcn.1038d0b0
add esp, 0x1c
test eax, eax
jne 0x103912a8
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.1038eca0
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x3e74]
push eax
push ebx
call fcn.1038d000
lea eax, [esp + 0x3e7c]
push eax
push edi
push ebx
call fcn.1038d0b0
add esp, 0x34
test eax, eax
jne 0x103912a8
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.1038eca0
lea eax, [esp + 0x3e74]
push eax
push ebx
call fcn.1038d000
add esp, 0x28
jmp 0x103912a4
xor eax, eax
jmp 0x103912a8