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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x104d9790]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], edx
mov edx, 0xc8
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x20], eax
call fcn.102b4530
mov esi, eax
mov dword [ebp - 0x3c], eax
test esi, esi
je 0x102f93f8
push 0xc8
push 0
push esi
call fcn.1033be70
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov dword [esi], ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x102f93df
mov dword [eax + 0x3c], esi
mov eax, dword [ecx + 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], 0
mov dword [ecx + 4], esi
mov dword [esi + 0x34], 0x26bceaa5
jmp 0x102f93fd
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [edi + 8], esi
test esi, esi
je 0x102fb9a5
or dword [esi + 0x64], 0x40
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
mov ecx, edi
push eax
push dword [ebp - 0x40]
mov dword [edi + 0x4c], 2
call fcn.102e9480
mov edx, eax
add esp, 8
mov dword [ebp - 0x38], edx
test edx, edx
js 0x102fb9a5
mov ecx, dword [ebp - 0x20]
shl eax, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ecx + 0x10]
add ecx, eax
mov dword [ebp - 0x24], ecx
cmp edx, 1
jne 0x102f9459
mov ecx, edi
call fcn.102ecfa0
test eax, eax
jne 0x102fb9a5
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
call fcn.102e9270
mov dword [ebp - 0x30], eax
test eax, eax
je 0x102fb9a5
cmp dword [ebp + 0x10], 0
je 0x102f948f
push dword [ebp - 0x28]
push 0x104200ac
push dword [ebp - 0x20]
call fcn.102b5920
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x2c], ecx
jmp 0x102f949f
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
call fcn.102e9270
mov ecx, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax + 4], 0
jbe 0x102f94af
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
jmp 0x102f94b1
xor eax, eax
push eax
push ecx
push dword [ebp - 0x30]
mov edx, 0x13
mov dword [ebp - 0x58], eax
mov ecx, edi
call fcn.102e8350
add esp, 0xc
test eax, eax
jne 0x102fb98f
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
push ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
push 0xe
push dword [ebp - 0x58]
mov dword [ebp - 0xc], 0
push eax
mov dword [eax + 0x1b4], 0
call fcn.10317e50
add esp, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x102f9574
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x102fb961
inc dword [edi + 0x4c]
mov edx, 0x5e
mov edi, dword [edi + 0x4c]
mov ecx, esi
push 0
push eax
push 0
push edi
push 0
call fcn.102cfbe0
add esp, 0x14
mov edx, 1
mov ecx, esi
call fcn.102d1130
push 0
push 0x104200f0
push 0
xor edx, edx
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
mov edx, 0x10
mov ecx, esi
push 1
push edi
call fcn.102cfb70
push dword [ebp - 0x18]
call fcn.102b4240
add esp, 0xc
jmp 0x102fb961
cmp eax, 0xc
je 0x102f95a8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x102f959d
push ecx
push 0x103fbfdc
push edi
call fcn.102b6530
add esp, 0xc
push dword [ebp - 0x18]
call fcn.102b4240
mov eax, dword [ebp - 0x1c]
add esp, 4
inc dword [edi + 0x44]
mov dword [edi + 0xc], eax
jmp 0x102fb961
push 0x104200dc
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f96c9
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
mov ecx, dword [ebp - 0x38]
mov edx, 1
mov eax, edx
shl eax, cl
or dword [esi + 0x6c], eax
cmp ecx, edx
je 0x102f95f0
mov edx, ecx
mov ecx, esi
call fcn.102d0580
mov edx, 1
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x102f9676
mov ecx, esi
call fcn.102d1130
push 0
push 0x104200d0
push 0
xor edx, edx
mov ecx, esi
call fcn.102d11c0
add dword [edi + 0x4c], 2
add esp, 0xc
mov edx, 8
mov ecx, esi
push 0x103fee90
call fcn.102cff00
mov edi, eax
add esp, 4
cmp dword [esi + 0x1c], edi
jbe 0x102f963f
mov ecx, dword [esi + 4]
lea edx, [edi + edi*4]
mov eax, dword [ebp - 0x38]
mov dword [ecx + edx*4 + 4], eax
lea eax, [edi + 1]
cmp dword [esi + 0x1c], eax
jbe 0x102f9654
mov edx, dword [ebp - 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x20]
add edi, 6
cmp dword [esi + 0x1c], edi
jbe 0x102fb964
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 4], 0x7d0
jmp 0x102fb964
mov ecx, eax
call fcn.102b6f80
mov ecx, eax
call fcn.102b7600
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov edi, eax
call fcn.102ed190
add esp, 4
mov edx, 7
mov ecx, esi
push 1
push edi
call fcn.102cfb70
push 1
push 3
push dword [ebp - 0x38]
mov edx, 0x25
mov ecx, esi
call fcn.102cfa50
mov esi, dword [ebp - 0x24]
add esp, 0x14
mov eax, dword [esi + 0xc]
mov dword [eax + 0x50], edi
jmp 0x102f9d2b
push 0x104200c4
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f9744
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x102f970f
test esi, esi
je 0x102f96f6
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
jmp 0x102f96f8
xor eax, eax
cdq
mov ecx, edi
push edx
push eax
mov edx, 0x104200c4
call fcn.102f9010
add esp, 8
jmp 0x102fb961
mov ecx, eax
call fcn.102b6f80
mov ecx, dword [ebp - 0x20]
mov edx, eax
push 0
push 0xffffffffffffffff
mov dword [ecx + 0x40], eax
mov ecx, esi
call fcn.102c6340
mov edx, dword [ebp - 0x20]
add esp, 8
mov esi, dword [ebp - 0x24]
cmp eax, 7
jne 0x102fb967
mov byte [edx + 0x38], 1
jmp 0x102fb967
push 0x10420124
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f97e6
mov esi, dword [ebp - 0x24]
or edx, 0xffffffff
mov dword [ebp - 0x34], edx
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x102f9781
xor edx, edx
mov ecx, eax
call fcn.102f8e60
movzx edx, al
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 4], 0
jne 0x102f97c1
test edx, edx
js 0x102f97c1
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0
jle 0x102f97c1
xor esi, esi
xor edi, edi
jmp 0x102f97a0
mov ecx, dword [eax + 0x10]
mov ecx, dword [esi + ecx + 4]
call fcn.102c64b0
mov eax, dword [ebp - 0x20]
lea esi, [esi + 0x10]
mov edx, dword [ebp - 0x34]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x102f97a0
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
call fcn.102c64b0
cdq
mov ecx, edi
push edx
push eax
mov edx, 0x10420124
call fcn.102f9010
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x102fb967
push 0x10420118
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
je 0x102fb8cd
push 0x10420108
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
je 0x102fb8cd
push 0x104200f8
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f98f9
mov ecx, dword [ebp - 0x2c]
call fcn.102f8e80
mov edx, eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
test eax, eax
jne 0x102f9888
cmp edx, 0xffffffff
jne 0x102f9850
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x39]
jmp 0x102f9898
test eax, eax
jne 0x102f9888
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 2
jle 0x102f9885
mov edi, 0x20
lea esi, [edi - 0x1e]
mov eax, dword [eax + 0x10]
mov eax, dword [edi + eax + 4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.102c1160
mov eax, dword [ebp - 0x20]
lea edi, [edi + 0x10]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x102f9865
mov esi, dword [ebp - 0x3c]
mov byte [eax + 0x39], dl
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call fcn.102c1160
cmp eax, 1
mov edi, 0x1041fe58
mov eax, 0x1041fef4
mov edx, 1
mov ecx, esi
cmovne edi, eax
call fcn.102d1130
push 0
push 0x104200f8
push 0
xor edx, edx
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
push 0
push edi
push 0
push 1
push 0
mov edx, 0x5e
mov ecx, esi
call fcn.102cfbe0
add esp, 0x14
push 1
push 1
mov edx, 0x10
mov ecx, esi
call fcn.102cfb70
add esp, 8
jmp 0x102fb961
push 0x10420168
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f9a38
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
lea edx, [eax + 1]
mov ecx, esi
call fcn.102d1130
push 0
push 0x10420168
push 0
xor edx, edx
mov ecx, esi
call fcn.102d11c0
mov edx, dword [ebp - 0x2c]
add esp, 0xc
test edx, edx
je 0x102f9a11
mov ecx, edx
call fcn.102b6470
mov dword [ebp - 0x1c], eax
xor edi, edi
mov dword [ebp - 0x3c], edi
cmp edi, 6
je 0x102f9a11
mov ecx, dword [edi*4 + 0x10400ffc]
test ecx, ecx
je 0x102f9a11
push eax
push ecx
push edx
call fcn.102b6680
add esp, 0xc
test eax, eax
je 0x102f9989
mov eax, dword [ebp - 0x1c]
inc edi
mov edx, dword [ebp - 0x2c]
jmp 0x102f9956
cmp edi, 0xffffffff
je 0x102f9a18
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 0x14]
dec edi
js 0x102f98e1
mov ecx, edi
mov eax, 1
rol eax, cl
shl ecx, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
cmp dword [ecx + eax + 4], 0
je 0x102f99f8
cmp edi, dword [ebp - 0x38]
je 0x102f99cc
cmp dword [edx + 4], 0
jne 0x102f99f8
mov eax, dword [ebp - 0x34]
or dword [esi + 0x6c], eax
cmp edi, 1
je 0x102f99e0
mov edx, edi
mov ecx, esi
call fcn.102d0580
push dword [ebp - 0x3c]
mov edx, 0x7e
mov ecx, esi
push 1
push edi
call fcn.102cfa50
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov eax, dword [ebp - 0x34]
sub ecx, 0x10
mov edx, dword [ebp - 0x40]
ror eax, 1
dec edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], eax
jns 0x102f99b4
jmp 0x102f98e1
mov dword [ebp - 0x3c], 0xffffffff
mov edx, dword [ebp - 0x40]
cmp dword [edx + 4], 0
jne 0x102f9995
mov dword [ebp - 0x38], 0
mov dword [edx + 4], 1
jmp 0x102f9995
push 0x10420154
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f9abb
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x60], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov esi, dword [eax]
mov eax, 0xfffffffe
mov dword [ebp - 0x64], eax
je 0x102f9a9c
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x64]
push 1
push 0xf4240
call fcn.102b6d00
mov ecx, dword [ebp - 0x60]
add esp, 8
cmp ecx, 0xffffffff
jg 0x102f9a99
jl 0x102f9a92
mov eax, dword [ebp - 0x64]
cmp eax, 0xffffffff
jae 0x102f9a9c
or eax, 0xffffffff
or ecx, eax
jmp 0x102f9a9c
mov eax, dword [ebp - 0x64]
push ecx
push eax
mov ecx, esi
call fcn.102c1270
push edx
push eax
mov edx, 0x10420154
mov ecx, edi
call fcn.102f9010
add esp, 0x10
jmp 0x102fb961
push 0x10420148
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f9c0c
mov eax, dword [ebp - 0x24]
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
call fcn.102fc140
test eax, eax
jne 0x102fb98f
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x102f9b30
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x102f9b17
mov ecx, eax
call fcn.102c65a0
cdq
mov ecx, edi
push edx
push eax
mov edx, 0x10420148
call fcn.102f9010
add esp, 8
jmp 0x102fb961
xor eax, eax
mov ecx, edi
cdq
push edx
push eax
mov edx, 0x10420148
call fcn.102f9010
add esp, 8
jmp 0x102fb961
mov ecx, eax
call fcn.102f8ec0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov byte [edx + 0x3a], al
test eax, eax
js 0x102fb964
mov ecx, dword [ebp - 0x28]
mov edx, eax
call fcn.102c6520
test eax, eax
jne 0x102fb961
mov eax, dword [ebp - 0x4c]
cmp eax, 1
je 0x102f9b6b
cmp eax, 2
jne 0x102fb961
push 0x10401150
mov edx, 6
mov ecx, esi
call fcn.102cff00
mov edi, eax
add esp, 4
cmp dword [esi + 0x1c], edi
jbe 0x102f9b93
mov ecx, dword [esi + 4]
lea edx, [edi + edi*4]
mov eax, dword [ebp - 0x38]
mov dword [ecx + edx*4 + 4], eax
lea eax, [edi + 1]
cmp dword [esi + 0x1c], eax
jbe 0x102f9ba8
mov edx, dword [ebp - 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
lea eax, [edi + 2]
cmp dword [esi + 0x1c], eax
jbe 0x102f9bbd
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea edx, [edi + 4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [edi + 4]
cmp dword [esi + 0x1c], eax
jbe 0x102f9bd3
mov edx, dword [ebp - 0x4c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
dec edx
mov dword [eax + ecx*4 + 4], edx
add edi, 5
cmp dword [esi + 0x1c], edi
jbe 0x102f9be8
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov edx, dword [ebp - 0x38]
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [ebp - 0x38]
mov eax, 1
shl eax, cl
or dword [esi + 0x6c], eax
cmp ecx, 1
je 0x102fb961
mov edx, ecx
mov ecx, esi
call fcn.102d0580
jmp 0x102fb961
push 0x10420134
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f9cce
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x102f9c52
lea edx, [ebp - 0x1c]
mov ecx, eax
call fcn.102b6ea0
test eax, eax
je 0x102f9c52
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
test eax, eax
jg 0x102f9c59
mov dword [ebp - 0x28], 0x7fffffff
push dword [ebp - 0x38]
xor edx, edx
mov ecx, edi
call fcn.102ed190
add esp, 4
mov edx, 7
mov ecx, esi
push 1
push dword [ebp - 0x28]
call fcn.102cfb70
push dword [ebp - 0x38]
mov edx, 0x80
mov ecx, esi
call fcn.102cfb10
add esp, 0xc
mov edx, 0x10
mov ecx, esi
mov edi, eax
push 1
call fcn.102cfb10
add esp, 4
mov edx, 0x14
mov ecx, esi
push 0xffffffffffffffff
push 1
call fcn.102cfb70
push edi
push 1
mov edx, 0x78
mov ecx, esi
call fcn.102cfb70
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.102cffb0
jmp 0x102fb961
push 0x104200d0
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f9d41
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x102f9d1b
mov esi, dword [ebp - 0x24]
mov ecx, edi
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
mov edx, 0x104200d0
call fcn.102f9010
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x102fb967
mov ecx, esi
call fcn.102b6f80
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x50], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [edx + 0x50]
call fcn.102c6210
mov edx, dword [ebp - 0x20]
jmp 0x102fb967
push 0x104201c4
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f9d86
mov esi, dword [ebp - 0x2c]
mov ecx, edi
test esi, esi
jne 0x102f9d7a
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x37]
cdq
push edx
push eax
mov edx, 0x104201c4
call fcn.102f9010
add esp, 8
jmp 0x102fb961
mov edx, esi
call fcn.102f8f90
jmp 0x102fb961
push 0x104201ac
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f9e5b
cmp dword [ebp - 0x2c], eax
jne 0x102f9ddb
cmp dword [0x10528ad0], eax
je 0x102fb961
lea edx, [eax + 1]
mov ecx, esi
call fcn.102d1130
push 0
push 0x104201ac
push 0
xor edx, edx
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
push 0
push dword [0x10528ad0]
jmp 0x102f98cc
mov esi, dword [ebp - 0x2c]
cmp byte [esi], 0
je 0x102f9e11
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push ecx
push 1
push esi
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x102f9e01
cmp dword [ebp - 0x1c], eax
jne 0x102f9e11
push 0x10420190
push edi
call fcn.102b6530
jmp 0x102fb98c
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x37], 1
ja 0x102f9e21
mov ecx, edi
call fcn.102f8f40
push dword [0x10528ad0]
call fcn.102b4240
add esp, 4
cmp byte [esi], 0
je 0x102f9e4c
push esi
push 0x103fbfdc
call fcn.102b5a00
add esp, 8
mov dword [0x10528ad0], eax
jmp 0x102fb961
mov dword [0x10528ad0], 0
jmp 0x102fb961
push 0x10420178
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102f9f18
cmp dword [ebp - 0x2c], eax
jne 0x102f9eb0
cmp dword [0x105289cc], eax
je 0x102fb961
lea edx, [eax + 1]
mov ecx, esi
call fcn.102d1130
push 0
push 0x10420178
push 0
xor edx, edx
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
push 0
push dword [0x105289cc]
jmp 0x102f98cc
mov esi, dword [ebp - 0x2c]
cmp byte [esi], 0
je 0x102f9ede
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push ecx
push 1
push esi
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x102f9e01
cmp dword [ebp - 0x1c], eax
je 0x102f9e01
push dword [0x105289cc]
call fcn.102b4240
add esp, 4
cmp byte [esi], 0
je 0x102f9f09
push esi
push 0x103fbfdc
call fcn.102b5a00
add esp, 8
mov dword [0x105289cc], eax
jmp 0x102fb961
mov dword [0x105289cc], 0
jmp 0x102fb961
push 0x10420218
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
mov ecx, edi
test eax, eax
jne 0x102f9f9e
call fcn.102fc140
test eax, eax
jne 0x102fb98f
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x102f9f64
mov esi, dword [ebp - 0x24]
mov ecx, edi
movzx eax, byte [esi + 9]
dec eax
cdq
push edx
push eax
mov edx, 0x10420218
call fcn.102f9010
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x102fb967
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x36], 0
jne 0x102f9f80
push 0x104201e0
push edi
call fcn.102b6530
add esp, 8
jmp 0x102fb961
push 1
xor edx, edx
mov ecx, esi
call fcn.102f8db0
mov esi, dword [ebp - 0x24]
add esp, 4
mov edx, dword [ebp - 0x20]
inc al
mov byte [esi + 9], al
jmp 0x102fb967
push dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.102f91a0
add esp, 4
test eax, eax
jne 0x102fb961
push 0x104201d4
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fa21f
cmp dword [ebp - 0x2c], eax
je 0x102fa21f
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.102e8930
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x102fb961
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x102fa024
mov eax, dword [ecx + 0x2c]
and al, 3
cmp al, 2
je 0x102fa021
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x102fa011
mov dword [ebp - 0x28], ecx
mov edx, 6
mov ecx, esi
call fcn.102d1130
mov edx, dword [ebp - 0x38]
mov ecx, edi
mov dword [edi + 0x4c], 6
call fcn.102ed030
push 0
push 0x104201d0
push 0
xor edx, edx
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x10420240
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push 0x10420238
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 3
mov ecx, esi
push 0
push 0x10420230
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 4
mov ecx, esi
push 0
push 0x10420224
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 5
mov ecx, esi
push 0
push 0x10420268
push 0
call fcn.102d11c0
mov edx, dword [ebp - 0x3c]
add esp, 0xc
mov ecx, edi
call fcn.102ea980
mov ecx, dword [ebp - 0x3c]
xor edx, edx
xor edi, edi
mov eax, dword [ecx + 4]
mov dword [ebp - 0x40], eax
cmp dx, word [ecx + 0x26]
jge 0x102fb961
nop
test byte [eax + 0x16], 2
je 0x102fa0fe
inc dword [ebp - 0x34]
jmp 0x102fa204
mov eax, edi
mov edx, 7
sub eax, dword [ebp - 0x34]
mov ecx, esi
push 1
push eax
call fcn.102cfb70
mov ecx, dword [ebp - 0x40]
mov edx, 0x5e
push 0
push dword [ecx]
mov ecx, esi
push 0
push 2
push 0
call fcn.102cfbe0
mov eax, dword [ebp - 0x40]
add esp, 0x1c
mov ecx, 0x103f931a
mov edx, 0x5e
mov eax, dword [eax + 0xc]
test eax, eax
push 0
cmovne ecx, eax
push ecx
push 0
push 3
push 0
mov ecx, esi
call fcn.102cfbe0
mov ecx, dword [ebp - 0x40]
xor eax, eax
add esp, 0x14
mov edx, 7
cmp byte [ecx + 0x14], al
mov ecx, esi
push 4
setne al
push eax
call fcn.102cfb70
mov eax, dword [ebp - 0x40]
add esp, 8
mov ecx, esi
mov eax, dword [eax + 8]
test eax, eax
je 0x102fa197
push 0
push eax
push 0
push 5
push 0
mov edx, 0x5e
call fcn.102cfbe0
add esp, 0x14
jmp 0x102fa1a8
push 5
push 0
mov edx, 0xa
call fcn.102cfb70
add esp, 8
mov eax, dword [ebp - 0x40]
test byte [eax + 0x16], 1
jne 0x102fa1b5
xor eax, eax
jmp 0x102fa1dc
mov ecx, dword [ebp - 0x28]
mov eax, 1
test ecx, ecx
je 0x102fa1dc
mov edx, dword [ebp - 0x3c]
movsx edx, word [edx + 0x26]
cmp edx, eax
jl 0x102fa1dc
mov ecx, dword [ecx + 4]
nop
cmp dword [ecx], edi
je 0x102fa1dc
inc eax
add ecx, 4
cmp eax, edx
jle 0x102fa1d0
push 6
push eax
mov edx, 7
mov ecx, esi
call fcn.102cfb70
push 6
push 1
mov edx, 0x10
mov ecx, esi
call fcn.102cfb70
mov eax, dword [ebp - 0x40]
add esp, 0x10
mov ecx, dword [ebp - 0x3c]
add eax, 0x18
inc edi
mov dword [ebp - 0x40], eax
movsx eax, word [ecx + 0x26]
cmp edi, eax
mov eax, dword [ebp - 0x40]
jl 0x102fa0f0
jmp 0x102fb961
push 0x1042025c
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fa364
cmp dword [ebp - 0x2c], eax
je 0x102fa364
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.102e8b80
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
je 0x102fb961
mov eax, dword [eax + 0xc]
mov edx, 3
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.102d1130
mov edx, dword [ebp - 0x38]
mov ecx, edi
mov dword [edi + 0x4c], 3
call fcn.102ed030
push 0
push 0x10420254
push 0
xor edx, edx
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x104201d0
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push 0x10420240
push 0
call fcn.102d11c0
mov eax, dword [ebp - 0x34]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x28], ecx
add esp, 0xc
cmp dx, word [eax + 0x28]
jae 0x102fb961
jmp 0x102fa2f0
mov eax, dword [eax + 4]
mov edx, 7
push 1
push ecx
mov edi, dword [eax + ecx*4]
mov ecx, esi
call fcn.102cfb70
push 2
push edi
mov edx, 7
mov ecx, esi
call fcn.102cfb70
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + edi*2]
push 0
mov edx, 0x5e
mov eax, dword [eax + 4]
push dword [eax + ecx*8]
mov ecx, esi
push 0
push 3
push 0
call fcn.102cfbe0
add esp, 0x24
mov edx, 0x10
mov ecx, esi
push 3
push 1
call fcn.102cfb70
mov eax, dword [ebp - 0x34]
add esp, 8
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
movzx eax, word [eax + 0x28]
cmp ecx, eax
mov eax, dword [ebp - 0x34]
jl 0x102fa2f0
jmp 0x102fb961
push 0x10420248
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fa497
cmp dword [ebp - 0x2c], eax
je 0x102fa497
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.102e8930
mov esi, eax
add esp, 4
test esi, esi
je 0x102fb961
mov ecx, edi
call fcn.102fefb0
mov esi, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x102fb961
mov edx, 3
mov dword [ebp - 0x28], 0
mov ecx, eax
call fcn.102d1130
mov edx, dword [ebp - 0x38]
mov ecx, edi
mov dword [edi + 0x4c], 3
call fcn.102ed030
mov edi, dword [ebp - 0x1c]
xor edx, edx
push 0
push 0x10420294
push 0
mov ecx, edi
call fcn.102d11c0
add esp, 0xc
mov edx, 1
mov ecx, edi
push 0
push 0x10420240
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 2
mov ecx, edi
push 0
push 0x1042028c
push 0
call fcn.102d11c0
add esp, 0xc
xor eax, eax
push 1
push eax
mov edx, 7
mov ecx, edi
call fcn.102cfb70
push 0
push dword [esi]
mov edx, 0x5e
mov ecx, edi
push 0
push 2
push 0
call fcn.102cfbe0
xor eax, eax
add esp, 0x1c
cmp byte [esi + 0x2a], al
mov edx, 7
mov ecx, edi
setne al
push 3
push eax
call fcn.102cfb70
push 3
push 1
mov edx, 0x10
mov ecx, edi
call fcn.102cfb70
mov eax, dword [ebp - 0x28]
add esp, 0x10
mov esi, dword [esi + 0x14]
inc eax
mov dword [ebp - 0x28], eax
test esi, esi
jne 0x102fa432
jmp 0x102fb961
push 0x1042027c
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fa5be
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
lea edx, [eax + 3]
mov ecx, esi
call fcn.102d1130
push 0
push 0x10420294
push 0
xor edx, edx
mov dword [edi + 0x4c], 3
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x10420240
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push 0x1041ff58
push 0
call fcn.102d11c0
mov edx, dword [ebp - 0x20]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x28], ecx
cmp dword [edx + 0x14], ecx
jle 0x102fb964
xor edi, edi
jmp 0x102fa530
mov eax, dword [edx + 0x10]
cmp dword [edi + eax + 4], 0
je 0x102fa5a9
push 1
push ecx
mov edx, 7
mov ecx, esi
call fcn.102cfb70
mov eax, dword [ebp - 0x20]
mov edx, 0x5e
push 0
mov ecx, esi
mov eax, dword [eax + 0x10]
push dword [edi + eax]
push 0
push 2
push 0
call fcn.102cfbe0
mov eax, dword [ebp - 0x20]
add esp, 0x1c
mov ecx, dword [eax + 0x10]
push 0
mov ecx, dword [edi + ecx + 4]
call fcn.102cd3f0
push eax
push 0
push 3
push 0
mov edx, 0x5e
mov ecx, esi
call fcn.102cfbe0
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 3
push 1
call fcn.102cfb70
mov ecx, dword [ebp - 0x28]
add esp, 8
mov edx, dword [ebp - 0x20]
inc ecx
add edi, 0x10
mov dword [ebp - 0x28], ecx
cmp ecx, dword [edx + 0x14]
jl 0x102fa530
jmp 0x102fb964
push 0x1042026c
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fa684
lea edx, [eax + 2]
mov dword [ebp - 0x34], eax
mov ecx, esi
call fcn.102d1130
push 0
push 0x10420294
push 0
xor edx, edx
mov dword [edi + 0x4c], 2
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x10420240
push 0
call fcn.102d11c0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov eax, dword [eax + 0x1a4]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x102fb961
jmp 0x102fa630
mov edi, dword [eax + 8]
mov edx, 7
push 1
push dword [ebp - 0x34]
mov ecx, esi
call fcn.102cfb70
inc dword [ebp - 0x34]
mov edx, 0x5e
push 0
push dword [edi]
mov ecx, esi
push 0
push 2
push 0
call fcn.102cfbe0
add esp, 0x1c
mov edx, 0x10
mov ecx, esi
push 2
push 1
call fcn.102cfb70
mov eax, dword [ebp - 0x28]
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x102fa630
jmp 0x102fb961
push 0x104202a8
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fa929
cmp dword [ebp - 0x2c], eax
je 0x102fa929
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.102e8930
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x102fb961
mov ecx, edi
call fcn.102fefb0
mov edi, dword [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0x44], esi
mov edi, dword [edi + 0x10]
mov dword [ebp - 0x50], edi
test edi, edi
je 0x102fb961
mov edx, 8
mov dword [ebp - 0x54], 0
mov ecx, esi
call fcn.102d1130
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x4c], 8
call fcn.102ed030
push 0
push 0x104202a4
push 0
xor edx, edx
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x10420294
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push 0x1041f430
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 3
mov ecx, esi
push 0
push 0x1042029c
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 4
mov ecx, esi
push 0
push 0x10420298
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 5
mov ecx, esi
push 0
push 0x104202d8
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 6
mov ecx, esi
push 0
push 0x104202cc
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 7
mov ecx, esi
push 0
push 0x104202c4
push 0
call fcn.102d11c0
add esp, 0xc
xor eax, eax
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x34], 0
jle 0x102fa912
lea ecx, [edi + 0x24]
mov dword [ebp - 0x3c], ecx
lea ebx, [ebx]
mov esi, dword [ecx + 4]
mov cl, byte [edi + 0x19]
call fcn.102f9340
mov cl, byte [edi + 0x1a]
mov dword [ebp - 0x1c], eax
call fcn.102f9340
mov ecx, dword [ebp - 0x44]
mov edx, 7
push 1
push dword [ebp - 0x54]
mov edi, eax
call fcn.102cfb70
mov ecx, dword [ebp - 0x44]
mov edx, 7
push 2
push dword [ebp - 0x34]
call fcn.102cfb70
mov eax, dword [ebp - 0x50]
mov edx, 0x5e
mov ecx, dword [ebp - 0x44]
push 0
push dword [eax + 8]
push 0
push 3
push 0
call fcn.102cfbe0
mov eax, dword [ebp - 0x3c]
add esp, 0x24
mov edx, 0x5e
mov eax, dword [eax]
push 0
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
push dword [eax + ecx*8]
mov ecx, dword [ebp - 0x44]
push 0
push 4
push 0
call fcn.102cfbe0
add esp, 0x14
mov eax, 0x5e
test esi, esi
mov edx, 0xa
cmovne edx, eax
push 0
push esi
mov esi, dword [ebp - 0x44]
mov ecx, esi
push 0
push 5
push 0
call fcn.102cfbe0
add esp, 0x14
mov ecx, esi
push 0
push edi
push 0
push 6
mov edi, 0x5e
push 0
mov edx, edi
call fcn.102cfbe0
add esp, 0x14
mov edx, edi
mov ecx, esi
push 0
push dword [ebp - 0x1c]
push 0
push 7
push 0
call fcn.102cfbe0
add esp, 0x14
mov edx, edi
mov ecx, esi
push 0
push 0x104202bc
push 0
push 8
push 0
call fcn.102cfbe0
add esp, 0x14
lea edx, [edi - 0x4e]
mov ecx, esi
push 8
push 1
call fcn.102cfb70
mov eax, dword [ebp - 0x34]
add esp, 8
mov edi, dword [ebp - 0x50]
inc eax
mov ecx, dword [ebp - 0x3c]
add ecx, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
cmp eax, dword [edi + 0x14]
jl 0x102fa7f0
mov eax, dword [ebp - 0x54]
mov edi, dword [edi + 4]
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edi
test edi, edi
jne 0x102fa7d3
jmp 0x102fb961
push 0x104202fc
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fae1f
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
mov eax, dword [edi + 0x4c]
lea ecx, [eax + 1]
add eax, 5
mov dword [ebp - 0x5c], eax
inc eax
mov dword [ebp - 0x50], ecx
mov ecx, edi
mov dword [edi + 0x4c], eax
call fcn.102fefb0
mov edi, eax
mov edx, 4
mov ecx, edi
call fcn.102d1130
push 0
push 0x1041f430
push 0
xor edx, edx
mov ecx, edi
call fcn.102d11c0
add esp, 0xc
mov edx, 1
mov ecx, edi
push 0
push 0x104202f4
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 2
mov ecx, edi
push 0
push 0x104202ec
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 3
mov ecx, edi
push 0
push 0x104202e4
push 0
call fcn.102d11c0
mov esi, dword [ebp - 0x48]
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov ecx, esi
call fcn.102ed030
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + eax + 0xc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x102fb961
lea ebx, [ebx]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x102faa1b
push dword [ebp - 0x58]
xor edx, edx
mov ecx, esi
push eax
call fcn.102e8a70
add esp, 8
xor ecx, ecx
jmp 0x102faa20
mov eax, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x40], eax
test eax, eax
je 0x102fae12
cmp dword [eax + 0x10], 0
je 0x102fae12
push dword [eax]
mov edx, dword [ebp - 0x38]
mov ecx, esi
push 0
push dword [eax + 0x20]
call fcn.102e83e0
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov edx, dword [ebp - 0x5c]
inc edx
movsx eax, word [ecx + 0x26]
add eax, edx
cmp eax, dword [esi + 0x4c]
jle 0x102faa61
mov dword [esi + 0x4c], eax
push 0x27
push ecx
push dword [ebp - 0x38]
xor edx, edx
mov ecx, esi
call fcn.102f4710
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov edx, 0x5e
mov ecx, edi
push 0
push dword [eax]
push 0
push dword [ebp - 0x50]
push 0
call fcn.102cfbe0
mov eax, dword [ebp - 0x40]
add esp, 0x14
mov ecx, 1
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x102fab77
lea esp, [esp]
push dword [ebp - 0x58]
xor edx, edx
mov ecx, esi
push dword [eax + 8]
call fcn.102e8a70
mov esi, eax
add esp, 8
test esi, esi
je 0x102fb961
push dword [esi]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
push 0
push dword [esi + 0x20]
mov dword [ebp - 0x44], 0
call fcn.102e83e0
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
add esp, 0xc
mov edx, esi
push 0
push eax
push dword [ebp - 0x34]
call fcn.102f1ea0
add esp, 0xc
test eax, eax
jne 0x102fb961
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x102fab25
mov edx, dword [ebp - 0x3c]
push 0x27
push esi
push dword [ebp - 0x38]
mov esi, dword [ebp - 0x48]
mov ecx, esi
call fcn.102f4710
add esp, 0xc
jmp 0x102fab5f
mov ecx, dword [ebp - 0x48]
mov edx, eax
call fcn.102ed610
push dword [ebp - 0x38]
mov esi, eax
mov edx, 0x27
mov eax, dword [ebp - 0x44]
mov ecx, edi
push dword [eax + 0x24]
push dword [ebp - 0x3c]
call fcn.102cfa50
add esp, 0xc
or edx, 0xffffffff
mov ecx, edi
push 0xfffffffffffffff0
push esi
call fcn.102d0120
mov esi, dword [ebp - 0x48]
add esp, 8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x102faab0
cmp dword [esi + 0x48], ecx
jge 0x102fab7f
mov dword [esi + 0x48], ecx
push 0
mov edx, 0x48
mov ecx, edi
call fcn.102cfb10
mov dword [ebp - 0x60], eax
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], 1
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x34], esi
test esi, esi
je 0x102fadeb
jmp 0x102fabb0
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
xor edx, edx
push dword [esi + 8]
call fcn.102e8a70
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], 0
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x28], 0
push ecx
mov ecx, dword [ebp - 0x48]
mov edx, eax
push esi
call fcn.102f1ea0
add esp, 0x14
mov ecx, edi
call fcn.102cfd70
cmp dword [ebp - 0x44], 0
mov dword [ebp - 0x54], eax
jne 0x102facb8
mov ecx, dword [ebp - 0x40]
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x4c], eax
movsx ecx, word [ecx + 0x24]
cmp eax, ecx
je 0x102fac63
mov ecx, dword [ebp - 0x5c]
mov edx, 0x1d
inc ecx
push ecx
push eax
push 0
mov ecx, edi
call fcn.102cfa50
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov edx, dword [ebp - 0x40]
inc eax
mov ecx, edi
push eax
push dword [ebp - 0x4c]
call fcn.103069a0
mov eax, dword [ebp - 0x5c]
mov edx, 0x49
push dword [ebp - 0x54]
inc eax
mov ecx, edi
push eax
call fcn.102cfb70
mov eax, dword [edi + 0x1c]
mov edx, 0x15
add eax, 3
mov ecx, edi
push eax
mov eax, dword [ebp - 0x5c]
inc eax
push eax
call fcn.102cfb70
add esp, 0x18
jmp 0x102fac79
mov eax, dword [ebp - 0x5c]
mov edx, 0x41
inc eax
mov ecx, edi
push eax
push 0
call fcn.102cfb70
add esp, 8
mov eax, dword [ebp - 0x5c]
mov edx, 0x36
inc eax
mov ecx, edi
push eax
push 0
push dword [ebp - 0x3c]
call fcn.102cfa50
add esp, 0xc
mov edx, 1
mov ecx, edi
push dword [ebp - 0x54]
push 0
call fcn.102cfb70
mov edx, dword [edi + 0x1c]
add esp, 8
sub edx, 2
mov ecx, edi
call fcn.102cffb0
jmp 0x102fad67
mov eax, dword [ebp - 0x34]
xor esi, esi
cmp dword [eax + 0x14], esi
jle 0x102fad15
mov ecx, dword [ebp - 0x5c]
inc ecx
mov dword [ebp - 0x4c], ecx
lea esp, [esp]
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x102facdc
mov eax, dword [edx + esi*4]
jmp 0x102facdf
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x40]
push ecx
push eax
push 0
mov ecx, edi
call fcn.102e2930
add esp, 0xc
mov edx, 0x49
mov ecx, edi
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
call fcn.102cfb70
mov eax, dword [ebp - 0x34]
inc esi
mov ecx, dword [ebp - 0x4c]
add esp, 8
inc ecx
mov dword [ebp - 0x4c], ecx
cmp esi, dword [eax + 0x14]
jl 0x102facd0
mov ecx, dword [ebp - 0x5c]
mov edx, 0x1f
mov esi, dword [ebp - 0x34]
push ecx
lea eax, [ecx + 1]
mov ecx, edi
push dword [esi + 0x14]
push eax
call fcn.102cfa50
mov edx, dword [ebp - 0x44]
add esp, 0xc
push 0
push ecx
mov ecx, edi
call fcn.102f47d0
add esp, 4
or edx, 0xffffffff
mov ecx, edi
push eax
call fcn.102d0120
push 0
push dword [ebp - 0x5c]
mov edx, 0x34
mov ecx, edi
push dword [ebp - 0x54]
push dword [ebp - 0x3c]
call fcn.102cfd00
add esp, 0x18
mov eax, dword [ebp - 0x50]
mov edx, 0x41
inc eax
mov ecx, edi
push eax
push 0
call fcn.102cfb70
mov eax, dword [ebp - 0x50]
mov edx, 0x5e
push 0
push dword [esi + 8]
add eax, 2
mov ecx, edi
push 0
push eax
push 0
call fcn.102cfbe0
mov eax, dword [ebp - 0x50]
add esp, 0x1c
add eax, 3
mov edx, 7
mov ecx, edi
push eax
mov eax, dword [ebp - 0x3c]
dec eax
push eax
call fcn.102cfb70
push 4
push dword [ebp - 0x50]
mov edx, 0x10
mov ecx, edi
call fcn.102cfb70
mov edx, dword [ebp - 0x54]
add esp, 0x10
mov ecx, edi
call fcn.102cfde0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
call fcn.102b42e0
mov esi, dword [esi + 4]
inc dword [ebp - 0x3c]
mov dword [ebp - 0x34], esi
test esi, esi
jne 0x102fabb0
mov esi, dword [ebp - 0x60]
mov edx, 0x5f
mov ecx, edi
lea eax, [esi + 1]
push eax
push 0
call fcn.102cfb70
add esp, 8
mov edx, esi
mov ecx, edi
call fcn.102cffb0
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x102faa00
jmp 0x102fb961
push 0x10420344
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fae57
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x102fb961
xor edx, edx
mov ecx, esi
call fcn.102f8e60
mov ecx, dword [ebp - 0x20]
movzx edx, al
call fcn.102f1cb0
jmp 0x102fb961
push 0x10420334
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
je 0x102fb39c
push 0x10420328
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
je 0x102fb39c
push 0x104203b8
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102faf99
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x102faf1b
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
lea edx, [eax + 1]
mov ecx, esi
call fcn.102d1130
push 0
push 0x104203b8
push 0
xor edx, edx
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
mov edx, 0x5e
mov ecx, esi
push 1
push 0
call fcn.102cfb70
mov eax, dword [edi]
or edx, 0xffffffff
push 0xfffffffffffffffe
mov ecx, esi
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax + 0x4d]
push dword [eax*8 + 0x10401510]
call fcn.102d0120
push 1
push 1
mov edx, 0x10
mov ecx, esi
call fcn.102cfb70
add esp, 0x18
jmp 0x102fb961
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x4e]
test al, 1
je 0x102faf34
test al, 4
je 0x102fb961
mov eax, dword [0x10401510]
mov esi, 0x10401510
test eax, eax
je 0x102faf85
push eax
push ecx
call fcn.102b6630
add esp, 8
test eax, eax
je 0x102faf5f
mov eax, dword [esi + 8]
add esi, 8
mov ecx, dword [ebp - 0x2c]
test eax, eax
jne 0x102faf42
jmp 0x102faf82
mov al, byte [esi + 4]
movzx ecx, al
test al, al
jne 0x102faf6e
mov ecx, 2
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x4d], cl
cmp dword [esi], 0
jne 0x102fb961
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x10420408
push edi
call fcn.102b6530
add esp, 0xc
jmp 0x102fb961
push 0x104203f8
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
je 0x102fb24c
push 0x104203e8
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
je 0x102fb24c
push 0x1042045c
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
je 0x102fb24c
push 0x1042044c
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fb071
lea edx, [eax + 1]
mov ecx, esi
call fcn.102d1130
push 0
push 0x1042043c
push 0
xor edx, edx
mov dword [edi + 0x4c], 1
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
push 0
call fcn.102b1400
add esp, 4
test eax, eax
je 0x102fb961
mov ecx, 0x5e
xor edi, edi
push 0
push eax
push 0
push 1
mov edx, ecx
inc edi
push 0
mov ecx, esi
call fcn.102cfbe0
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 1
push 1
call fcn.102cfb70
push edi
call fcn.102b1400
add esp, 0xc
mov ecx, 0x5e
test eax, eax
jne 0x102fb034
jmp 0x102fb961
push 0x1042042c
push dword [ebp - 0x30]
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fb166
mov eax, dword [ebp - 0x40]
mov ecx, 0xa
mov dword [ebp - 0x28], 0
cmp dword [eax], 0
mov eax, dword [ebp - 0x2c]
cmovne ecx, dword [ebp - 0x38]
mov dword [ebp - 0x60], ecx
test eax, eax
je 0x102fb0e3
push 0x1041fee4
push eax
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fb0c4
mov dword [ebp - 0x28], 1
jmp 0x102fb0e3
push 0x10420488
push dword [ebp - 0x2c]
call fcn.102b6630
xor ecx, ecx
add esp, 8
test eax, eax
mov eax, 2
cmove ecx, eax
mov dword [ebp - 0x28], ecx
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
lea edx, [eax + 3]
mov ecx, esi
call fcn.102d1130
push 0
push 0x10420480
push 0
xor edx, edx
mov dword [edi + 0x4c], 3
mov ecx, esi
call fcn.102d11c0
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x1042047c
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push 0x1042046c
push 0
call fcn.102d11c0
add esp, 0xc
mov edx, 0x7d
mov ecx, esi
push 1
push dword [ebp - 0x28]
push dword [ebp - 0x60]
call fcn.102cfa50
add esp, 0xc
push 3
jmp 0x102f98e3
mov esi, dword [ebp - 0x30]
push 0x104204b8
push esi
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fb1da
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x102fb195
mov ecx, esi
call fcn.102b6f80
push eax
push dword [ebp - 0x20]
call fcn.10316790
add esp, 8
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xc0], 0x10316750
jne 0x102fb1c1
mov eax, dword [eax + 0xc4]
mov ecx, edi
cdq
push edx
push eax
mov edx, 0x104204b8
call fcn.102f9010
add esp, 8
jmp 0x102fb961
xor eax, eax
mov ecx, edi
cdq
push edx
push eax
mov edx, 0x104204b8
call fcn.102f9010
add esp, 8
jmp 0x102fb961
push 0x104204a8
push esi
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fb1fc
push dword [ebp - 0x20]
call fcn.10315790
add esp, 4
jmp 0x102fb961
push 0x10420498
push esi
call fcn.102b6630
add esp, 8
test eax, eax
jne 0x102fb961
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x102fb22c
mov ecx, esi
call fcn.102b6f80
push eax
push dword [ebp - 0x20]
call fcn.10316160
add esp, 8
mov eax, dword [ebp - 0x20]
mov ecx, edi
mov eax, dword [eax + 0x1dc]
cdq
push edx
push eax
mov edx, 0x10420490
call fcn.102f9010
add esp, 8
jmp 0x102fb961
mov ecx, dword [ebp - 0x38]
mov eax, 1
shl eax, cl
or dword [esi + 0x6c], eax
cmp ecx, 1
je 0x102fb267
mov edx, ecx
mov ecx, esi
call fcn.102d0580
mov eax, dword [ebp - 0x30]
movsx eax, byte [eax]
add eax, 0xffffffba
cmp eax, 0x2d
ja case.0x102fb27c.71
movzx eax, byte [eax + 0x102fb9c4]
jmp dword [eax*4 + 0x102fb9b8]
xor edi, edi
jmp 0x102fb293
mov edi, 1
jmp 0x102fb293
mov edi, 6
cmp dword [ebp - 0x2c], 0
je 0x102fb328
test edi, edi
je 0x102fb328
push 0x103ff9f4
mov edx, 3
mov ecx, esi
call fcn.102cff00
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x1c], eax
jbe 0x102fb2ce
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x38]
mov dword [ecx + edx*4 + 4], eax
mov ecx, dword [ebp - 0x2c]
call fcn.102b6f80
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 1]
cmp dword [esi + 0x1c], ecx
jbe 0x102fb2f4
mov eax, dword [ebp - 0x60]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 4]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 2]
cmp dword [esi + 0x1c], edx
jbe 0x102fb961
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov esi, dword [ebp - 0x38]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp - 0x3c]
cmp dword [esi + 0x1c], edx
jbe 0x102fb961
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 8], edi
jmp 0x102fb961
push 0x103fee78
mov edx, 3
mov ecx, esi
call fcn.102cff00
add esp, 4
cmp dword [esi + 0x1c], eax
jbe 0x102fb351
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov esi, dword [ebp - 0x38]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [ebp - 0x3c]
lea edx, [eax + 1]
cmp dword [esi + 0x1c], edx
jbe 0x102fb378
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov esi, dword [ebp - 0x38]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp - 0x3c]
cmp dword [esi + 0x1c], edx
jbe 0x102fb378
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 0xc], edi
mov edx, 1
mov ecx, esi
call fcn.102d1130
push 0xffffffffffffffff
push dword [ebp - 0x30]
xor edx, edx
mov ecx, esi
push 0
call fcn.102d11c0
add esp, 0xc
jmp 0x102fb961
mov eax, dword [ebp - 0x30]
xor ecx, ecx
movzx eax, byte [eax]
cmp byte [eax + 0x103fe900], 0x71
mov eax, dword [ebp - 0x40]
sete cl
mov dword [ebp - 0x58], ecx
or ecx, 0xffffffff
cmp dword [eax], 0
mov eax, dword [ebp - 0x38]
cmove eax, ecx
mov ecx, edi
mov dword [ebp - 0x38], eax
call fcn.102fc140
test eax, eax
jne 0x102fb98f
lea edx, [eax + 1]
mov dword [edi + 0x4c], 6
mov ecx, esi
call fcn.102d1130
push 0
push 0x10420334
push 0
xor edx, edx
mov ecx, esi
call fcn.102d11c0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x64
add esp, 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x102fb422
lea edx, [ebp - 0x1c]
call fcn.102b6ea0
mov eax, dword [ebp - 0x1c]
mov ecx, 0x64
test eax, eax
cmovle eax, ecx
mov dword [ebp - 0x40], eax
push 1
push eax
mov edx, 7
mov ecx, esi
call fcn.102cfb70
mov eax, dword [ebp - 0x20]
xor edx, edx
add esp, 8
mov dword [ebp - 0x54], edx
cmp dword [eax + 0x14], edx
jle 0x102fb880
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x50], edx
jmp 0x102fb450
mov dword [ebp - 0x44], 0
test ecx, ecx
js 0x102fb463
cmp edx, ecx
jne 0x102fb86f
mov ecx, edi
call fcn.102ed030
push 1
mov edx, 0x78
mov ecx, esi
call fcn.102cfb10
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.102cfb70
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.102cffb0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + eax + 0xc]
mov ecx, dword [eax + 0x10]
add eax, 8
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x102fb517
mov eax, dword [ebp - 0x44]
lea esp, [esp]
mov edi, dword [ecx + 8]
add eax, 2
push eax
mov edx, 7
mov ecx, esi
push dword [edi + 0x20]
call fcn.102cfb70
mov eax, dword [ebp - 0x44]
add esp, 8
mov edi, dword [edi + 8]
inc eax
mov dword [ebp - 0x44], eax
test edi, edi
je 0x102fb50b
add eax, 2
mov edx, 7
push eax
push dword [edi + 0x24]
mov ecx, esi
call fcn.102cfb70
mov eax, dword [ebp - 0x44]
add esp, 8
mov edi, dword [edi + 0x14]
inc eax
mov dword [ebp - 0x44], eax
test edi, edi
jne 0x102fb4e7
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x102fb4c0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
lea edx, [eax + 4]
cmp dword [ecx + 0x4c], edx
jge 0x102fb528
mov dword [ecx + 0x4c], edx
push 1
push eax
push 2
mov edx, 0x6f
mov ecx, esi
call fcn.102cfa50
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
je 0x102fb550
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x54]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], dl
push 2
mov edx, 0x49
mov ecx, esi
call fcn.102cfb10
mov edx, dword [ebp - 0x50]
mov edi, eax
mov eax, dword [ebp - 0x20]
add esp, 4
mov ecx, dword [eax + 0x10]
push 0xffffffffffffffff
push dword [edx + ecx]
push 0x10420310
push eax
call fcn.102b5920
add esp, 0xc
mov edx, 0x5e
mov ecx, esi
push eax
push 0
push 3
push 0
call fcn.102cfbe0
add esp, 0x14
mov edx, 0xd
mov ecx, esi
push 4
push 2
call fcn.102cfb70
push 2
push 3
push 4
mov edx, 0x5b
mov ecx, esi
call fcn.102cfa50
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 1
push 2
call fcn.102cfb70
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.102cffb0
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x102fb863
mov ecx, dword [ebp - 0x58]
lea ebx, [ebx]
test ecx, ecx
jne 0x102fb863
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
cmp dword [eax + 8], ecx
je 0x102fb853
lea edx, [ecx + 0x78]
mov ecx, esi
push 1
call fcn.102cfb10
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.102cfb70
mov edx, edi
mov ecx, esi
call fcn.102cffb0
mov edi, dword [ebp - 0x1c]
mov edx, edi
mov ecx, dword [ebp - 0x48]
push 0x27
push 1
call fcn.102f7c90
push 2
push 0
mov edx, 7
mov ecx, esi
call fcn.102cfb70
push 0
push 1
mov edx, 0x48
mov ecx, esi
call fcn.102cfb70
push 1
push 2
mov edx, 0x14
mov dword [ebp - 0x34], eax
mov ecx, esi
call fcn.102cfb70
mov edi, dword [edi + 8]
add esp, 0x28
mov dword [ebp - 0x28], edi
test edi, edi
je 0x102fb732
mov dword [ebp - 0x4c], 2
lea ecx, [ecx]
mov ecx, dword [ebp - 0x48]
mov edx, edi
push 0
push 3
push 1
call fcn.102eed70
movzx ecx, word [edi + 0x28]
add esp, 0xc
inc ecx
mov edx, 0x34
push ecx
push eax
push 0
push dword [ebp - 0x4c]
mov ecx, esi
call fcn.102cfd00
push 0x103fea00
mov edx, 0xb
mov dword [ebp - 0x60], eax
mov ecx, esi
call fcn.102cff00
add esp, 0x14
mov edi, eax
mov ecx, esi
push 0xfffffffffffffffe
push 0x10420394
lea edx, [edi + 1]
call fcn.102d0120
push 0xfffffffffffffffe
push 0x1042037c
lea edx, [edi + 3]
mov ecx, esi
call fcn.102d0120
mov eax, dword [ebp - 0x28]
lea edx, [edi + 4]
push 0
mov ecx, esi
push dword [eax]
call fcn.102d0120
add esp, 0x18
lea edx, [edi + 9]
mov ecx, esi
call fcn.102cffb0
mov edx, dword [ebp - 0x60]
mov ecx, esi
call fcn.102cffb0
mov edi, dword [ebp - 0x28]
inc dword [ebp - 0x4c]
mov edi, dword [edi + 0x14]
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x102fb690
mov edi, dword [ebp - 0x34]
mov edx, 0x5f
mov ecx, esi
lea eax, [edi + 1]
push eax
push 1
call fcn.102cfb70
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.102cffb0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x102fb850
mov dword [ebp - 0x3c], 2
jmp 0x102fb770
push 1
mov edx, 0x78
mov ecx, esi
call fcn.102cfb10
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.102cfb70
mov edx, edi
mov ecx, esi
call fcn.102cffb0
push 0x103feeb0
mov edx, 0xa
mov ecx, esi
call fcn.102cff00
add esp, 0xc
mov dword [ebp - 0x34], eax
lea edi, [eax + 1]
cmp dword [esi + 0x1c], edi
jbe 0x102fb7e0
mov ecx, dword [esi + 4]
lea edx, [edi + edi*4]
mov eax, dword [ebp - 0x3c]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [ebp - 0x34]
cmp dword [esi + 0x1c], edi
jbe 0x102fb7e0
lea edx, [eax + 4]
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [ebp - 0x34]
lea edi, [eax + 3]
cmp dword [esi + 0x1c], edi
jbe 0x102fb80a
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov edx, dword [ebp - 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [ebp - 0x34]
cmp dword [esi + 0x1c], edi
jbe 0x102fb80a
lea edx, [eax + 2]
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [ebp - 0x34]
mov ecx, esi
lea edx, [edi + 4]
call fcn.102cffb0
push 0xfffffffffffffffe
push 0x1042035c
lea edx, [edi + 6]
mov ecx, esi
call fcn.102d0120
mov eax, dword [ebp - 0x28]
lea edx, [edi + 7]
push 0
mov ecx, esi
push dword [eax]
call fcn.102d0120
mov eax, dword [ebp - 0x28]
add esp, 0x10
inc dword [ebp - 0x3c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x102fb770
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x102fb5f0
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x48]
add dword [ebp - 0x50], 0x10
inc edx
mov dword [ebp - 0x54], edx
cmp edx, dword [eax + 0x14]
jl 0x102fb450
push 0x103fe880
mov edx, 4
mov ecx, esi
call fcn.102cff00
mov edi, eax
add esp, 4
cmp dword [esi + 0x1c], edi
jbe 0x102fb8aa
mov ecx, dword [esi + 4]
lea edx, [edi + edi*4]
mov eax, dword [ebp - 0x40]
neg eax
mov dword [ecx + edx*4 + 8], eax
lea edx, [edi + 1]
mov ecx, esi
call fcn.102cffb0
push 0xfffffffffffffffe
push 0x10420358
lea edx, [edi + 2]
mov ecx, esi
call fcn.102d0120
add esp, 8
jmp 0x102fb961
mov ecx, edi
call fcn.102fc140
test eax, eax
jne 0x102fb98f
mov edx, dword [ebp - 0x38]
mov ecx, edi
call fcn.102ed030
mov eax, dword [ebp - 0x30]
inc dword [edi + 0x4c]
mov edi, dword [edi + 0x4c]
movzx eax, byte [eax]
cmp byte [eax + 0x103fe900], 0x70
jne 0x102fb910
push edi
push dword [ebp - 0x38]
mov edx, 0x92
mov ecx, esi
call fcn.102cfb70
add esp, 8
jmp 0x102fb933
mov ecx, dword [ebp - 0x2c]
call fcn.102b6f80
mov ecx, eax
call fcn.102b7600
push eax
push edi
push dword [ebp - 0x38]
mov edx, 0x93
mov ecx, esi
call fcn.102cfa50
add esp, 0xc
push 1
push edi
mov edx, 0x10
mov ecx, esi
call fcn.102cfb70
mov edx, 1
mov ecx, esi
call fcn.102d1130
push 0xffffffffffffffff
push dword [ebp - 0x30]
xor edx, edx
mov ecx, esi
push 0
call fcn.102d11c0
add esp, 0x14
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
cmp byte [edx + 0x36], 0
je 0x102fb98f
mov edx, dword [edx + 0x18]
mov eax, edx
mov ecx, dword [esi + 4]
shr eax, 0xe
shr edx, 0xd
and eax, 1
and edx, 1
push eax
push edx
movzx edx, byte [esi + 9]
call fcn.102c62b0
add esp, 8
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
call fcn.102b42e0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.102b42e0
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.103362c6
mov esp, ebp
pop ebp
ret