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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x104cc790]
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.102ad1f0
mov esi, eax
mov dword [ebp - 0x3c], eax
test esi, esi
je 0x102f20b8
push 0xc8
push 0
push esi
call fcn.10334af0
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov dword [esi], ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x102f209f
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 0x102f20bd
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [edi + 8], esi
test esi, esi
je 0x102f4665
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.102e2140
mov edx, eax
add esp, 8
mov dword [ebp - 0x38], edx
test edx, edx
js 0x102f4665
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 0x102f2119
mov ecx, edi
call fcn.102e5c60
test eax, eax
jne 0x102f4665
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
call fcn.102e1f30
mov dword [ebp - 0x30], eax
test eax, eax
je 0x102f4665
cmp dword [ebp + 0x10], 0
je 0x102f214f
push dword [ebp - 0x28]
push 0x10417fa0
push dword [ebp - 0x20]
call fcn.102ae5e0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x2c], ecx
jmp 0x102f215f
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
call fcn.102e1f30
mov ecx, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax + 4], 0
jbe 0x102f216f
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
jmp 0x102f2171
xor eax, eax
push eax
push ecx
push dword [ebp - 0x30]
mov edx, 0x13
mov dword [ebp - 0x58], eax
mov ecx, edi
call fcn.102e1010
add esp, 0xc
test eax, eax
jne 0x102f464f
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.10310ae0
add esp, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x102f2234
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x102f4621
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.102c88a0
add esp, 0x14
mov edx, 1
mov ecx, esi
call fcn.102c9df0
push 0
push 0x10417f98
push 0
xor edx, edx
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
mov edx, 0x10
mov ecx, esi
push 1
push edi
call fcn.102c8830
push dword [ebp - 0x18]
call fcn.102acf00
add esp, 0xc
jmp 0x102f4621
cmp eax, 0xc
je 0x102f2268
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x102f225d
push ecx
push 0x103f2ffc
push edi
call fcn.102af1f0
add esp, 0xc
push dword [ebp - 0x18]
call fcn.102acf00
mov eax, dword [ebp - 0x1c]
add esp, 4
inc dword [edi + 0x44]
mov dword [edi + 0xc], eax
jmp 0x102f4621
push 0x10417f84
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f2389
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
mov ecx, dword [ebp - 0x38]
mov edx, 1
mov eax, edx
shl eax, cl
or dword [esi + 0x6c], eax
cmp ecx, edx
je 0x102f22b0
mov edx, ecx
mov ecx, esi
call fcn.102c9240
mov edx, 1
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x102f2336
mov ecx, esi
call fcn.102c9df0
push 0
push 0x10417f78
push 0
xor edx, edx
mov ecx, esi
call fcn.102c9e80
add dword [edi + 0x4c], 2
add esp, 0xc
mov edx, 8
mov ecx, esi
push 0x103f6220
call fcn.102c8bc0
mov edi, eax
add esp, 4
cmp dword [esi + 0x1c], edi
jbe 0x102f22ff
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 0x102f2314
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 0x102f4624
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 4], 0x7d0
jmp 0x102f4624
mov ecx, eax
call fcn.102afc40
mov ecx, eax
call fcn.102b02c0
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov edi, eax
call fcn.102e5e50
add esp, 4
mov edx, 7
mov ecx, esi
push 1
push edi
call fcn.102c8830
push 1
push 3
push dword [ebp - 0x38]
mov edx, 0x25
mov ecx, esi
call fcn.102c8710
mov esi, dword [ebp - 0x24]
add esp, 0x14
mov eax, dword [esi + 0xc]
mov dword [eax + 0x50], edi
jmp 0x102f29eb
push 0x10417fd0
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f2404
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x102f23cf
test esi, esi
je 0x102f23b6
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
jmp 0x102f23b8
xor eax, eax
cdq
mov ecx, edi
push edx
push eax
mov edx, 0x10417fd0
call fcn.102f1cc0
add esp, 8
jmp 0x102f4621
mov ecx, eax
call fcn.102afc40
mov ecx, dword [ebp - 0x20]
mov edx, eax
push 0
push 0xffffffffffffffff
mov dword [ecx + 0x40], eax
mov ecx, esi
call fcn.102bf000
mov edx, dword [ebp - 0x20]
add esp, 8
mov esi, dword [ebp - 0x24]
cmp eax, 7
jne 0x102f4627
mov byte [edx + 0x38], 1
jmp 0x102f4627
push 0x10417fc0
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f24a6
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 0x102f2441
xor edx, edx
mov ecx, eax
call fcn.102f1b10
movzx edx, al
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 4], 0
jne 0x102f2481
test edx, edx
js 0x102f2481
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0
jle 0x102f2481
xor esi, esi
xor edi, edi
jmp 0x102f2460
mov ecx, dword [eax + 0x10]
mov ecx, dword [esi + ecx + 4]
call fcn.102bf170
mov eax, dword [ebp - 0x20]
lea esi, [esi + 0x10]
mov edx, dword [ebp - 0x34]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x102f2460
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
call fcn.102bf170
cdq
mov ecx, edi
push edx
push eax
mov edx, 0x10417fc0
call fcn.102f1cc0
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x102f4627
push 0x10417fb4
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
je 0x102f458d
push 0x10417fa4
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
je 0x102f458d
push 0x1041800c
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f25b9
mov ecx, dword [ebp - 0x2c]
call fcn.102f1b30
mov edx, eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
test eax, eax
jne 0x102f2548
cmp edx, 0xffffffff
jne 0x102f2510
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x39]
jmp 0x102f2558
test eax, eax
jne 0x102f2548
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 2
jle 0x102f2545
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.102b9e20
mov eax, dword [ebp - 0x20]
lea edi, [edi + 0x10]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x102f2525
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.102b9e20
cmp eax, 1
mov edi, 0x10417d9c
mov eax, 0x10417d94
mov edx, 1
mov ecx, esi
cmovne edi, eax
call fcn.102c9df0
push 0
push 0x1041800c
push 0
xor edx, edx
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
push 0
push edi
push 0
push 1
push 0
mov edx, 0x5e
mov ecx, esi
call fcn.102c88a0
add esp, 0x14
push 1
push 1
mov edx, 0x10
mov ecx, esi
call fcn.102c8830
add esp, 8
jmp 0x102f4621
push 0x10417ffc
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f26f8
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
lea edx, [eax + 1]
mov ecx, esi
call fcn.102c9df0
push 0
push 0x10417ffc
push 0
xor edx, edx
mov ecx, esi
call fcn.102c9e80
mov edx, dword [ebp - 0x2c]
add esp, 0xc
test edx, edx
je 0x102f26d1
mov ecx, edx
call fcn.102af130
mov dword [ebp - 0x1c], eax
xor edi, edi
mov dword [ebp - 0x3c], edi
cmp edi, 6
je 0x102f26d1
mov ecx, dword [edi*4 + 0x103f7fe4]
test ecx, ecx
je 0x102f26d1
push eax
push ecx
push edx
call fcn.102af340
add esp, 0xc
test eax, eax
je 0x102f2649
mov eax, dword [ebp - 0x1c]
inc edi
mov edx, dword [ebp - 0x2c]
jmp 0x102f2616
cmp edi, 0xffffffff
je 0x102f26d8
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 0x14]
dec edi
js 0x102f25a1
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 0x102f26b8
cmp edi, dword [ebp - 0x38]
je 0x102f268c
cmp dword [edx + 4], 0
jne 0x102f26b8
mov eax, dword [ebp - 0x34]
or dword [esi + 0x6c], eax
cmp edi, 1
je 0x102f26a0
mov edx, edi
mov ecx, esi
call fcn.102c9240
push dword [ebp - 0x3c]
mov edx, 0x7e
mov ecx, esi
push 1
push edi
call fcn.102c8710
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 0x102f2674
jmp 0x102f25a1
mov dword [ebp - 0x3c], 0xffffffff
mov edx, dword [ebp - 0x40]
cmp dword [edx + 4], 0
jne 0x102f2655
mov dword [ebp - 0x38], 0
mov dword [edx + 4], 1
jmp 0x102f2655
push 0x10417fe8
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f277b
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 0x102f275c
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x64]
push 1
push 0xf4240
call fcn.102af9c0
mov ecx, dword [ebp - 0x60]
add esp, 8
cmp ecx, 0xffffffff
jg 0x102f2759
jl 0x102f2752
mov eax, dword [ebp - 0x64]
cmp eax, 0xffffffff
jae 0x102f275c
or eax, 0xffffffff
or ecx, eax
jmp 0x102f275c
mov eax, dword [ebp - 0x64]
push ecx
push eax
mov ecx, esi
call fcn.102b9f30
push edx
push eax
mov edx, 0x10417fe8
mov ecx, edi
call fcn.102f1cc0
add esp, 0x10
jmp 0x102f4621
push 0x10417fdc
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f28cc
mov eax, dword [ebp - 0x24]
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
call fcn.102f4e00
test eax, eax
jne 0x102f464f
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x102f27f0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x102f27d7
mov ecx, eax
call fcn.102bf260
cdq
mov ecx, edi
push edx
push eax
mov edx, 0x10417fdc
call fcn.102f1cc0
add esp, 8
jmp 0x102f4621
xor eax, eax
mov ecx, edi
cdq
push edx
push eax
mov edx, 0x10417fdc
call fcn.102f1cc0
add esp, 8
jmp 0x102f4621
mov ecx, eax
call fcn.102f1b70
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov byte [edx + 0x3a], al
test eax, eax
js 0x102f4624
mov ecx, dword [ebp - 0x28]
mov edx, eax
call fcn.102bf1e0
test eax, eax
jne 0x102f4621
mov eax, dword [ebp - 0x4c]
cmp eax, 1
je 0x102f282b
cmp eax, 2
jne 0x102f4621
push 0x103f8160
mov edx, 6
mov ecx, esi
call fcn.102c8bc0
mov edi, eax
add esp, 4
cmp dword [esi + 0x1c], edi
jbe 0x102f2853
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 0x102f2868
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 0x102f287d
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 0x102f2893
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 0x102f28a8
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 0x102f4621
mov edx, ecx
mov ecx, esi
call fcn.102c9240
jmp 0x102f4621
push 0x1041805c
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f298e
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x102f2912
lea edx, [ebp - 0x1c]
mov ecx, eax
call fcn.102afb60
test eax, eax
je 0x102f2912
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
test eax, eax
jg 0x102f2919
mov dword [ebp - 0x28], 0x7fffffff
push dword [ebp - 0x38]
xor edx, edx
mov ecx, edi
call fcn.102e5e50
add esp, 4
mov edx, 7
mov ecx, esi
push 1
push dword [ebp - 0x28]
call fcn.102c8830
push dword [ebp - 0x38]
mov edx, 0x80
mov ecx, esi
call fcn.102c87d0
add esp, 0xc
mov edx, 0x10
mov ecx, esi
mov edi, eax
push 1
call fcn.102c87d0
add esp, 4
mov edx, 0x14
mov ecx, esi
push 0xffffffffffffffff
push 1
call fcn.102c8830
push edi
push 1
mov edx, 0x78
mov ecx, esi
call fcn.102c8830
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.102c8c70
jmp 0x102f4621
push 0x10417f78
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f2a01
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x102f29db
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, 0x10417f78
call fcn.102f1cc0
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x102f4627
mov ecx, esi
call fcn.102afc40
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.102beed0
mov edx, dword [ebp - 0x20]
jmp 0x102f4627
push 0x10418050
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f2a46
mov esi, dword [ebp - 0x2c]
mov ecx, edi
test esi, esi
jne 0x102f2a3a
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x37]
cdq
push edx
push eax
mov edx, 0x10418050
call fcn.102f1cc0
add esp, 8
jmp 0x102f4621
mov edx, esi
call fcn.102f1c40
jmp 0x102f4621
push 0x10418038
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f2b1b
cmp dword [ebp - 0x2c], eax
jne 0x102f2a9b
cmp dword [0x1051af50], eax
je 0x102f4621
lea edx, [eax + 1]
mov ecx, esi
call fcn.102c9df0
push 0
push 0x10418038
push 0
xor edx, edx
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
push 0
push dword [0x1051af50]
jmp 0x102f258c
mov esi, dword [ebp - 0x2c]
cmp byte [esi], 0
je 0x102f2ad1
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 0x102f2ac1
cmp dword [ebp - 0x1c], eax
jne 0x102f2ad1
push 0x1041801c
push edi
call fcn.102af1f0
jmp 0x102f464c
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x37], 1
ja 0x102f2ae1
mov ecx, edi
call fcn.102f1bf0
push dword [0x1051af50]
call fcn.102acf00
add esp, 4
cmp byte [esi], 0
je 0x102f2b0c
push esi
push 0x103f2ffc
call fcn.102ae6c0
add esp, 8
mov dword [0x1051af50], eax
jmp 0x102f4621
mov dword [0x1051af50], 0
jmp 0x102f4621
push 0x104180c0
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f2bd8
cmp dword [ebp - 0x2c], eax
jne 0x102f2b70
cmp dword [0x1051ae44], eax
je 0x102f4621
lea edx, [eax + 1]
mov ecx, esi
call fcn.102c9df0
push 0
push 0x104180c0
push 0
xor edx, edx
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
push 0
push dword [0x1051ae44]
jmp 0x102f258c
mov esi, dword [ebp - 0x2c]
cmp byte [esi], 0
je 0x102f2b9e
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 0x102f2ac1
cmp dword [ebp - 0x1c], eax
je 0x102f2ac1
push dword [0x1051ae44]
call fcn.102acf00
add esp, 4
cmp byte [esi], 0
je 0x102f2bc9
push esi
push 0x103f2ffc
call fcn.102ae6c0
add esp, 8
mov dword [0x1051ae44], eax
jmp 0x102f4621
mov dword [0x1051ae44], 0
jmp 0x102f4621
push 0x104180b4
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
mov ecx, edi
test eax, eax
jne 0x102f2c5e
call fcn.102f4e00
test eax, eax
jne 0x102f464f
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x102f2c24
mov esi, dword [ebp - 0x24]
mov ecx, edi
movzx eax, byte [esi + 9]
dec eax
cdq
push edx
push eax
mov edx, 0x104180b4
call fcn.102f1cc0
mov edx, dword [ebp - 0x20]
add esp, 8
jmp 0x102f4627
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x36], 0
jne 0x102f2c40
push 0x1041807c
push edi
call fcn.102af1f0
add esp, 8
jmp 0x102f4621
push 1
xor edx, edx
mov ecx, esi
call fcn.102f1a60
mov esi, dword [ebp - 0x24]
add esp, 4
mov edx, dword [ebp - 0x20]
inc al
mov byte [esi + 9], al
jmp 0x102f4627
push dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.102f1e50
add esp, 4
test eax, eax
jne 0x102f4621
push 0x10418070
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f2edf
cmp dword [ebp - 0x2c], eax
je 0x102f2edf
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.102e15f0
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x102f4621
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x102f2ce4
mov eax, dword [ecx + 0x2c]
and al, 3
cmp al, 2
je 0x102f2ce1
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x102f2cd1
mov dword [ebp - 0x28], ecx
mov edx, 6
mov ecx, esi
call fcn.102c9df0
mov edx, dword [ebp - 0x38]
mov ecx, edi
mov dword [edi + 0x4c], 6
call fcn.102e5cf0
push 0
push 0x104180f0
push 0
xor edx, edx
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x104180e8
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push 0x104180e0
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 3
mov ecx, esi
push 0
push 0x104180d8
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 4
mov ecx, esi
push 0
push 0x1041810c
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 5
mov ecx, esi
push 0
push 0x10418108
push 0
call fcn.102c9e80
mov edx, dword [ebp - 0x3c]
add esp, 0xc
mov ecx, edi
call fcn.102e3640
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 0x102f4621
nop
test byte [eax + 0x16], 2
je 0x102f2dbe
inc dword [ebp - 0x34]
jmp 0x102f2ec4
mov eax, edi
mov edx, 7
sub eax, dword [ebp - 0x34]
mov ecx, esi
push 1
push eax
call fcn.102c8830
mov ecx, dword [ebp - 0x40]
mov edx, 0x5e
push 0
push dword [ecx]
mov ecx, esi
push 0
push 2
push 0
call fcn.102c88a0
mov eax, dword [ebp - 0x40]
add esp, 0x1c
mov ecx, 0x103f032a
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.102c88a0
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.102c8830
mov eax, dword [ebp - 0x40]
add esp, 8
mov ecx, esi
mov eax, dword [eax + 8]
test eax, eax
je 0x102f2e57
push 0
push eax
push 0
push 5
push 0
mov edx, 0x5e
call fcn.102c88a0
add esp, 0x14
jmp 0x102f2e68
push 5
push 0
mov edx, 0xa
call fcn.102c8830
add esp, 8
mov eax, dword [ebp - 0x40]
test byte [eax + 0x16], 1
jne 0x102f2e75
xor eax, eax
jmp 0x102f2e9c
mov ecx, dword [ebp - 0x28]
mov eax, 1
test ecx, ecx
je 0x102f2e9c
mov edx, dword [ebp - 0x3c]
movsx edx, word [edx + 0x26]
cmp edx, eax
jl 0x102f2e9c
mov ecx, dword [ecx + 4]
nop
cmp dword [ecx], edi
je 0x102f2e9c
inc eax
add ecx, 4
cmp eax, edx
jle 0x102f2e90
push 6
push eax
mov edx, 7
mov ecx, esi
call fcn.102c8830
push 6
push 1
mov edx, 0x10
mov ecx, esi
call fcn.102c8830
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 0x102f2db0
jmp 0x102f4621
push 0x104180fc
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f3024
cmp dword [ebp - 0x2c], eax
je 0x102f3024
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.102e1840
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
je 0x102f4621
mov eax, dword [eax + 0xc]
mov edx, 3
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.102c9df0
mov edx, dword [ebp - 0x38]
mov ecx, edi
mov dword [edi + 0x4c], 3
call fcn.102e5cf0
push 0
push 0x104180f4
push 0
xor edx, edx
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x104180f0
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push 0x104180e8
push 0
call fcn.102c9e80
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 0x102f4621
jmp 0x102f2fb0
mov eax, dword [eax + 4]
mov edx, 7
push 1
push ecx
mov edi, dword [eax + ecx*4]
mov ecx, esi
call fcn.102c8830
push 2
push edi
mov edx, 7
mov ecx, esi
call fcn.102c8830
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.102c88a0
add esp, 0x24
mov edx, 0x10
mov ecx, esi
push 3
push 1
call fcn.102c8830
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 0x102f2fb0
jmp 0x102f4621
push 0x10418134
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f3157
cmp dword [ebp - 0x2c], eax
je 0x102f3157
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.102e15f0
mov esi, eax
add esp, 4
test esi, esi
je 0x102f4621
mov ecx, edi
call fcn.102f7c70
mov esi, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x102f4621
mov edx, 3
mov dword [ebp - 0x28], 0
mov ecx, eax
call fcn.102c9df0
mov edx, dword [ebp - 0x38]
mov ecx, edi
mov dword [edi + 0x4c], 3
call fcn.102e5cf0
mov edi, dword [ebp - 0x1c]
xor edx, edx
push 0
push 0x10418130
push 0
mov ecx, edi
call fcn.102c9e80
add esp, 0xc
mov edx, 1
mov ecx, edi
push 0
push 0x104180e8
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 2
mov ecx, edi
push 0
push 0x10418128
push 0
call fcn.102c9e80
add esp, 0xc
xor eax, eax
push 1
push eax
mov edx, 7
mov ecx, edi
call fcn.102c8830
push 0
push dword [esi]
mov edx, 0x5e
mov ecx, edi
push 0
push 2
push 0
call fcn.102c88a0
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.102c8830
push 3
push 1
mov edx, 0x10
mov ecx, edi
call fcn.102c8830
mov eax, dword [ebp - 0x28]
add esp, 0x10
mov esi, dword [esi + 0x14]
inc eax
mov dword [ebp - 0x28], eax
test esi, esi
jne 0x102f30f2
jmp 0x102f4621
push 0x10418118
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f327e
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
lea edx, [eax + 3]
mov ecx, esi
call fcn.102c9df0
push 0
push 0x10418130
push 0
xor edx, edx
mov dword [edi + 0x4c], 3
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x104180e8
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push 0x10417df0
push 0
call fcn.102c9e80
mov edx, dword [ebp - 0x20]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x28], ecx
cmp dword [edx + 0x14], ecx
jle 0x102f4624
xor edi, edi
jmp 0x102f31f0
mov eax, dword [edx + 0x10]
cmp dword [edi + eax + 4], 0
je 0x102f3269
push 1
push ecx
mov edx, 7
mov ecx, esi
call fcn.102c8830
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.102c88a0
mov eax, dword [ebp - 0x20]
add esp, 0x1c
mov ecx, dword [eax + 0x10]
push 0
mov ecx, dword [edi + ecx + 4]
call fcn.102c60b0
push eax
push 0
push 3
push 0
mov edx, 0x5e
mov ecx, esi
call fcn.102c88a0
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 3
push 1
call fcn.102c8830
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 0x102f31f0
jmp 0x102f4624
push 0x10418160
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f3344
lea edx, [eax + 2]
mov dword [ebp - 0x34], eax
mov ecx, esi
call fcn.102c9df0
push 0
push 0x10418130
push 0
xor edx, edx
mov dword [edi + 0x4c], 2
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x104180e8
push 0
call fcn.102c9e80
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov eax, dword [eax + 0x1a4]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x102f4621
jmp 0x102f32f0
mov edi, dword [eax + 8]
mov edx, 7
push 1
push dword [ebp - 0x34]
mov ecx, esi
call fcn.102c8830
inc dword [ebp - 0x34]
mov edx, 0x5e
push 0
push dword [edi]
mov ecx, esi
push 0
push 2
push 0
call fcn.102c88a0
add esp, 0x1c
mov edx, 0x10
mov ecx, esi
push 2
push 1
call fcn.102c8830
mov eax, dword [ebp - 0x28]
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x102f32f0
jmp 0x102f4621
push 0x1041814c
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f35e9
cmp dword [ebp - 0x2c], eax
je 0x102f35e9
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.102e15f0
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x102f4621
mov ecx, edi
call fcn.102f7c70
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 0x102f4621
mov edx, 8
mov dword [ebp - 0x54], 0
mov ecx, esi
call fcn.102c9df0
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x4c], 8
call fcn.102e5cf0
push 0
push 0x10418148
push 0
xor edx, edx
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x10418130
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push 0x10417314
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 3
mov ecx, esi
push 0
push 0x10418140
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 4
mov ecx, esi
push 0
push 0x10418190
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 5
mov ecx, esi
push 0
push 0x10418184
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 6
mov ecx, esi
push 0
push 0x10418178
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 7
mov ecx, esi
push 0
push 0x10418170
push 0
call fcn.102c9e80
add esp, 0xc
xor eax, eax
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x34], 0
jle 0x102f35d2
lea ecx, [edi + 0x24]
mov dword [ebp - 0x3c], ecx
lea ebx, [ebx]
mov esi, dword [ecx + 4]
mov cl, byte [edi + 0x19]
call fcn.102f2000
mov cl, byte [edi + 0x1a]
mov dword [ebp - 0x1c], eax
call fcn.102f2000
mov ecx, dword [ebp - 0x44]
mov edx, 7
push 1
push dword [ebp - 0x54]
mov edi, eax
call fcn.102c8830
mov ecx, dword [ebp - 0x44]
mov edx, 7
push 2
push dword [ebp - 0x34]
call fcn.102c8830
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.102c88a0
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.102c88a0
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.102c88a0
add esp, 0x14
mov ecx, esi
push 0
push edi
push 0
push 6
mov edi, 0x5e
push 0
mov edx, edi
call fcn.102c88a0
add esp, 0x14
mov edx, edi
mov ecx, esi
push 0
push dword [ebp - 0x1c]
push 0
push 7
push 0
call fcn.102c88a0
add esp, 0x14
mov edx, edi
mov ecx, esi
push 0
push 0x104181b8
push 0
push 8
push 0
call fcn.102c88a0
add esp, 0x14
lea edx, [edi - 0x4e]
mov ecx, esi
push 8
push 1
call fcn.102c8830
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 0x102f34b0
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 0x102f3493
jmp 0x102f4621
push 0x104181a4
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f3adf
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
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.102f7c70
mov edi, eax
mov edx, 4
mov ecx, edi
call fcn.102c9df0
push 0
push 0x10417314
push 0
xor edx, edx
mov ecx, edi
call fcn.102c9e80
add esp, 0xc
mov edx, 1
mov ecx, edi
push 0
push 0x1041819c
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 2
mov ecx, edi
push 0
push 0x10418194
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 3
mov ecx, edi
push 0
push 0x104181f0
push 0
call fcn.102c9e80
mov esi, dword [ebp - 0x48]
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov ecx, esi
call fcn.102e5cf0
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 0x102f4621
lea ebx, [ebx]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x102f36db
push dword [ebp - 0x58]
xor edx, edx
mov ecx, esi
push eax
call fcn.102e1730
add esp, 8
xor ecx, ecx
jmp 0x102f36e0
mov eax, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x40], eax
test eax, eax
je 0x102f3ad2
cmp dword [eax + 0x10], 0
je 0x102f3ad2
push dword [eax]
mov edx, dword [ebp - 0x38]
mov ecx, esi
push 0
push dword [eax + 0x20]
call fcn.102e10a0
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 0x102f3721
mov dword [esi + 0x4c], eax
push 0x27
push ecx
push dword [ebp - 0x38]
xor edx, edx
mov ecx, esi
call fcn.102ed3c0
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.102c88a0
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 0x102f3837
lea esp, [esp]
push dword [ebp - 0x58]
xor edx, edx
mov ecx, esi
push dword [eax + 8]
call fcn.102e1730
mov esi, eax
add esp, 8
test esi, esi
je 0x102f4621
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.102e10a0
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.102eab50
add esp, 0xc
test eax, eax
jne 0x102f4621
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x102f37e5
mov edx, dword [ebp - 0x3c]
push 0x27
push esi
push dword [ebp - 0x38]
mov esi, dword [ebp - 0x48]
mov ecx, esi
call fcn.102ed3c0
add esp, 0xc
jmp 0x102f381f
mov ecx, dword [ebp - 0x48]
mov edx, eax
call fcn.102e62d0
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.102c8710
add esp, 0xc
or edx, 0xffffffff
mov ecx, edi
push 0xfffffffffffffff0
push esi
call fcn.102c8de0
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 0x102f3770
cmp dword [esi + 0x48], ecx
jge 0x102f383f
mov dword [esi + 0x48], ecx
push 0
mov edx, 0x48
mov ecx, edi
call fcn.102c87d0
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 0x102f3aab
jmp 0x102f3870
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
xor edx, edx
push dword [esi + 8]
call fcn.102e1730
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.102eab50
add esp, 0x14
mov ecx, edi
call fcn.102c8a30
cmp dword [ebp - 0x44], 0
mov dword [ebp - 0x54], eax
jne 0x102f3978
mov ecx, dword [ebp - 0x40]
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x4c], eax
movsx ecx, word [ecx + 0x24]
cmp eax, ecx
je 0x102f3923
mov ecx, dword [ebp - 0x5c]
mov edx, 0x1d
inc ecx
push ecx
push eax
push 0
mov ecx, edi
call fcn.102c8710
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.102ff640
mov eax, dword [ebp - 0x5c]
mov edx, 0x49
push dword [ebp - 0x54]
inc eax
mov ecx, edi
push eax
call fcn.102c8830
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.102c8830
add esp, 0x18
jmp 0x102f3939
mov eax, dword [ebp - 0x5c]
mov edx, 0x41
inc eax
mov ecx, edi
push eax
push 0
call fcn.102c8830
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.102c8710
add esp, 0xc
mov edx, 1
mov ecx, edi
push dword [ebp - 0x54]
push 0
call fcn.102c8830
mov edx, dword [edi + 0x1c]
add esp, 8
sub edx, 2
mov ecx, edi
call fcn.102c8c70
jmp 0x102f3a27
mov eax, dword [ebp - 0x34]
xor esi, esi
cmp dword [eax + 0x14], esi
jle 0x102f39d5
mov ecx, dword [ebp - 0x5c]
inc ecx
mov dword [ebp - 0x4c], ecx
lea esp, [esp]
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x102f399c
mov eax, dword [edx + esi*4]
jmp 0x102f399f
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x40]
push ecx
push eax
push 0
mov ecx, edi
call fcn.102db5f0
add esp, 0xc
mov edx, 0x49
mov ecx, edi
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
call fcn.102c8830
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 0x102f3990
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.102c8710
mov edx, dword [ebp - 0x44]
add esp, 0xc
push 0
push ecx
mov ecx, edi
call fcn.102ed480
add esp, 4
or edx, 0xffffffff
mov ecx, edi
push eax
call fcn.102c8de0
push 0
push dword [ebp - 0x5c]
mov edx, 0x34
mov ecx, edi
push dword [ebp - 0x54]
push dword [ebp - 0x3c]
call fcn.102c89c0
add esp, 0x18
mov eax, dword [ebp - 0x50]
mov edx, 0x41
inc eax
mov ecx, edi
push eax
push 0
call fcn.102c8830
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.102c88a0
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.102c8830
push 4
push dword [ebp - 0x50]
mov edx, 0x10
mov ecx, edi
call fcn.102c8830
mov edx, dword [ebp - 0x54]
add esp, 0x10
mov ecx, edi
call fcn.102c8aa0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
call fcn.102acfa0
mov esi, dword [esi + 4]
inc dword [ebp - 0x3c]
mov dword [ebp - 0x34], esi
test esi, esi
jne 0x102f3870
mov esi, dword [ebp - 0x60]
mov edx, 0x5f
mov ecx, edi
lea eax, [esi + 1]
push eax
push 0
call fcn.102c8830
add esp, 8
mov edx, esi
mov ecx, edi
call fcn.102c8c70
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x102f36c0
jmp 0x102f4621
push 0x104181dc
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f3b17
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x102f4621
xor edx, edx
mov ecx, esi
call fcn.102f1b10
mov ecx, dword [ebp - 0x20]
movzx edx, al
call fcn.102ea970
jmp 0x102f4621
push 0x104181cc
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
je 0x102f405c
push 0x104181c0
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
je 0x102f405c
push 0x10418260
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f3c59
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x102f3bdb
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
lea edx, [eax + 1]
mov ecx, esi
call fcn.102c9df0
push 0
push 0x10418260
push 0
xor edx, edx
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
mov edx, 0x5e
mov ecx, esi
push 1
push 0
call fcn.102c8830
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 + 0x103f84f0]
call fcn.102c8de0
push 1
push 1
mov edx, 0x10
mov ecx, esi
call fcn.102c8830
add esp, 0x18
jmp 0x102f4621
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x4e]
test al, 1
je 0x102f3bf4
test al, 4
je 0x102f4621
mov eax, dword [0x103f84f0]
mov esi, 0x103f84f0
test eax, eax
je 0x102f3c45
push eax
push ecx
call fcn.102af2f0
add esp, 8
test eax, eax
je 0x102f3c1f
mov eax, dword [esi + 8]
add esi, 8
mov ecx, dword [ebp - 0x2c]
test eax, eax
jne 0x102f3c02
jmp 0x102f3c42
mov al, byte [esi + 4]
movzx ecx, al
test al, al
jne 0x102f3c2e
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 0x102f4621
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x104182a8
push edi
call fcn.102af1f0
add esp, 0xc
jmp 0x102f4621
push 0x10418298
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
je 0x102f3f0c
push 0x10418304
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
je 0x102f3f0c
push 0x104182f4
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
je 0x102f3f0c
push 0x104182e4
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f3d31
lea edx, [eax + 1]
mov ecx, esi
call fcn.102c9df0
push 0
push 0x104182d4
push 0
xor edx, edx
mov dword [edi + 0x4c], 1
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
push 0
call fcn.102aa0e0
add esp, 4
test eax, eax
je 0x102f4621
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.102c88a0
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 1
push 1
call fcn.102c8830
push edi
call fcn.102aa0e0
add esp, 0xc
mov ecx, 0x5e
test eax, eax
jne 0x102f3cf4
jmp 0x102f4621
push 0x10418328
push dword [ebp - 0x30]
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f3e26
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 0x102f3da3
push 0x10417d84
push eax
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f3d84
mov dword [ebp - 0x28], 1
jmp 0x102f3da3
push 0x10418320
push dword [ebp - 0x2c]
call fcn.102af2f0
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.102f4e00
test eax, eax
jne 0x102f464f
lea edx, [eax + 3]
mov ecx, esi
call fcn.102c9df0
push 0
push 0x10418318
push 0
xor edx, edx
mov dword [edi + 0x4c], 3
mov ecx, esi
call fcn.102c9e80
add esp, 0xc
mov edx, 1
mov ecx, esi
push 0
push 0x10418314
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 2
mov ecx, esi
push 0
push 0x1041836c
push 0
call fcn.102c9e80
add esp, 0xc
mov edx, 0x7d
mov ecx, esi
push 1
push dword [ebp - 0x28]
push dword [ebp - 0x60]
call fcn.102c8710
add esp, 0xc
push 3
jmp 0x102f25a3
mov esi, dword [ebp - 0x30]
push 0x10418358
push esi
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f3e9a
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x102f3e55
mov ecx, esi
call fcn.102afc40
push eax
push dword [ebp - 0x20]
call fcn.1030f420
add esp, 8
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xc0], 0x1030f3e0
jne 0x102f3e81
mov eax, dword [eax + 0xc4]
mov ecx, edi
cdq
push edx
push eax
mov edx, 0x10418358
call fcn.102f1cc0
add esp, 8
jmp 0x102f4621
xor eax, eax
mov ecx, edi
cdq
push edx
push eax
mov edx, 0x10418358
call fcn.102f1cc0
add esp, 8
jmp 0x102f4621
push 0x10418348
push esi
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f3ebc
push dword [ebp - 0x20]
call fcn.1030e430
add esp, 4
jmp 0x102f4621
push 0x10418338
push esi
call fcn.102af2f0
add esp, 8
test eax, eax
jne 0x102f4621
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x102f3eec
mov ecx, esi
call fcn.102afc40
push eax
push dword [ebp - 0x20]
call fcn.1030edf0
add esp, 8
mov eax, dword [ebp - 0x20]
mov ecx, edi
mov eax, dword [eax + 0x1dc]
cdq
push edx
push eax
mov edx, 0x104183b8
call fcn.102f1cc0
add esp, 8
jmp 0x102f4621
mov ecx, dword [ebp - 0x38]
mov eax, 1
shl eax, cl
or dword [esi + 0x6c], eax
cmp ecx, 1
je 0x102f3f27
mov edx, ecx
mov ecx, esi
call fcn.102c9240
mov eax, dword [ebp - 0x30]
movsx eax, byte [eax]
add eax, 0xffffffba
cmp eax, 0x2d
ja case.0x102f3f3c.71
movzx eax, byte [eax + 0x102f4684]
jmp dword [eax*4 + 0x102f4678]
xor edi, edi
jmp 0x102f3f53
mov edi, 1
jmp 0x102f3f53
mov edi, 6
cmp dword [ebp - 0x2c], 0
je 0x102f3fe8
test edi, edi
je 0x102f3fe8
push 0x103f6a04
mov edx, 3
mov ecx, esi
call fcn.102c8bc0
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x1c], eax
jbe 0x102f3f8e
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.102afc40
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 1]
cmp dword [esi + 0x1c], ecx
jbe 0x102f3fb4
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 0x102f4621
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 0x102f4621
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 8], edi
jmp 0x102f4621
push 0x103f6214
mov edx, 3
mov ecx, esi
call fcn.102c8bc0
add esp, 4
cmp dword [esi + 0x1c], eax
jbe 0x102f4011
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 0x102f4038
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 0x102f4038
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.102c9df0
push 0xffffffffffffffff
push dword [ebp - 0x30]
xor edx, edx
mov ecx, esi
push 0
call fcn.102c9e80
add esp, 0xc
jmp 0x102f4621
mov eax, dword [ebp - 0x30]
xor ecx, ecx
movzx eax, byte [eax]
cmp byte [eax + 0x103f5620], 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.102f4e00
test eax, eax
jne 0x102f464f
lea edx, [eax + 1]
mov dword [edi + 0x4c], 6
mov ecx, esi
call fcn.102c9df0
push 0
push 0x104181cc
push 0
xor edx, edx
mov ecx, esi
call fcn.102c9e80
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 0x102f40e2
lea edx, [ebp - 0x1c]
call fcn.102afb60
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.102c8830
mov eax, dword [ebp - 0x20]
xor edx, edx
add esp, 8
mov dword [ebp - 0x54], edx
cmp dword [eax + 0x14], edx
jle 0x102f4540
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x50], edx
jmp 0x102f4110
mov dword [ebp - 0x44], 0
test ecx, ecx
js 0x102f4123
cmp edx, ecx
jne 0x102f452f
mov ecx, edi
call fcn.102e5cf0
push 1
mov edx, 0x78
mov ecx, esi
call fcn.102c87d0
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.102c8830
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.102c8c70
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 0x102f41d7
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.102c8830
mov eax, dword [ebp - 0x44]
add esp, 8
mov edi, dword [edi + 8]
inc eax
mov dword [ebp - 0x44], eax
test edi, edi
je 0x102f41cb
add eax, 2
mov edx, 7
push eax
push dword [edi + 0x24]
mov ecx, esi
call fcn.102c8830
mov eax, dword [ebp - 0x44]
add esp, 8
mov edi, dword [edi + 0x14]
inc eax
mov dword [ebp - 0x44], eax
test edi, edi
jne 0x102f41a7
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x102f4180
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
lea edx, [eax + 4]
cmp dword [ecx + 0x4c], edx
jge 0x102f41e8
mov dword [ecx + 0x4c], edx
push 1
push eax
push 2
mov edx, 0x6f
mov ecx, esi
call fcn.102c8710
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
je 0x102f4210
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.102c87d0
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 0x10418238
push eax
call fcn.102ae5e0
add esp, 0xc
mov edx, 0x5e
mov ecx, esi
push eax
push 0
push 3
push 0
call fcn.102c88a0
add esp, 0x14
mov edx, 0xd
mov ecx, esi
push 4
push 2
call fcn.102c8830
push 2
push 3
push 4
mov edx, 0x5b
mov ecx, esi
call fcn.102c8710
add esp, 0x14
mov edx, 0x10
mov ecx, esi
push 1
push 2
call fcn.102c8830
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.102c8c70
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x102f4523
mov ecx, dword [ebp - 0x58]
lea ebx, [ebx]
test ecx, ecx
jne 0x102f4523
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
cmp dword [eax + 8], ecx
je 0x102f4513
lea edx, [ecx + 0x78]
mov ecx, esi
push 1
call fcn.102c87d0
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.102c8830
mov edx, edi
mov ecx, esi
call fcn.102c8c70
mov edi, dword [ebp - 0x1c]
mov edx, edi
mov ecx, dword [ebp - 0x48]
push 0x27
push 1
call fcn.102f0940
push 2
push 0
mov edx, 7
mov ecx, esi
call fcn.102c8830
push 0
push 1
mov edx, 0x48
mov ecx, esi
call fcn.102c8830
push 1
push 2
mov edx, 0x14
mov dword [ebp - 0x34], eax
mov ecx, esi
call fcn.102c8830
mov edi, dword [edi + 8]
add esp, 0x28
mov dword [ebp - 0x28], edi
test edi, edi
je 0x102f43f2
mov dword [ebp - 0x4c], 2
lea ecx, [ecx]
mov ecx, dword [ebp - 0x48]
mov edx, edi
push 0
push 3
push 1
call fcn.102e7a30
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.102c89c0
push 0x103f5720
mov edx, 0xb
mov dword [ebp - 0x60], eax
mov ecx, esi
call fcn.102c8bc0
add esp, 0x14
mov edi, eax
mov ecx, esi
push 0xfffffffffffffffe
push 0x10418230
lea edx, [edi + 1]
call fcn.102c8de0
push 0xfffffffffffffffe
push 0x10418218
lea edx, [edi + 3]
mov ecx, esi
call fcn.102c8de0
mov eax, dword [ebp - 0x28]
lea edx, [edi + 4]
push 0
mov ecx, esi
push dword [eax]
call fcn.102c8de0
add esp, 0x18
lea edx, [edi + 9]
mov ecx, esi
call fcn.102c8c70
mov edx, dword [ebp - 0x60]
mov ecx, esi
call fcn.102c8c70
mov edi, dword [ebp - 0x28]
inc dword [ebp - 0x4c]
mov edi, dword [edi + 0x14]
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x102f4350
mov edi, dword [ebp - 0x34]
mov edx, 0x5f
mov ecx, esi
lea eax, [edi + 1]
push eax
push 1
call fcn.102c8830
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.102c8c70
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x102f4510
mov dword [ebp - 0x3c], 2
jmp 0x102f4430
push 1
mov edx, 0x78
mov ecx, esi
call fcn.102c87d0
add esp, 4
mov edx, 6
mov ecx, esi
mov edi, eax
push 0
push 0
call fcn.102c8830
mov edx, edi
mov ecx, esi
call fcn.102c8c70
push 0x103f6240
mov edx, 0xa
mov ecx, esi
call fcn.102c8bc0
add esp, 0xc
mov dword [ebp - 0x34], eax
lea edi, [eax + 1]
cmp dword [esi + 0x1c], edi
jbe 0x102f44a0
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 0x102f44a0
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 0x102f44ca
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 0x102f44ca
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.102c8c70
push 0xfffffffffffffffe
push 0x104181f8
lea edx, [edi + 6]
mov ecx, esi
call fcn.102c8de0
mov eax, dword [ebp - 0x28]
lea edx, [edi + 7]
push 0
mov ecx, esi
push dword [eax]
call fcn.102c8de0
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 0x102f4430
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x102f42b0
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 0x102f4110
push 0x103f5780
mov edx, 4
mov ecx, esi
call fcn.102c8bc0
mov edi, eax
add esp, 4
cmp dword [esi + 0x1c], edi
jbe 0x102f456a
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.102c8c70
push 0xfffffffffffffffe
push 0x1041826c
lea edx, [edi + 2]
mov ecx, esi
call fcn.102c8de0
add esp, 8
jmp 0x102f4621
mov ecx, edi
call fcn.102f4e00
test eax, eax
jne 0x102f464f
mov edx, dword [ebp - 0x38]
mov ecx, edi
call fcn.102e5cf0
mov eax, dword [ebp - 0x30]
inc dword [edi + 0x4c]
mov edi, dword [edi + 0x4c]
movzx eax, byte [eax]
cmp byte [eax + 0x103f5620], 0x70
jne 0x102f45d0
push edi
push dword [ebp - 0x38]
mov edx, 0x92
mov ecx, esi
call fcn.102c8830
add esp, 8
jmp 0x102f45f3
mov ecx, dword [ebp - 0x2c]
call fcn.102afc40
mov ecx, eax
call fcn.102b02c0
push eax
push edi
push dword [ebp - 0x38]
mov edx, 0x93
mov ecx, esi
call fcn.102c8710
add esp, 0xc
push 1
push edi
mov edx, 0x10
mov ecx, esi
call fcn.102c8830
mov edx, 1
mov ecx, esi
call fcn.102c9df0
push 0xffffffffffffffff
push dword [ebp - 0x30]
xor edx, edx
mov ecx, esi
push 0
call fcn.102c9e80
add esp, 0x14
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
cmp byte [edx + 0x36], 0
je 0x102f464f
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.102bef70
add esp, 8
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
call fcn.102acfa0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.102acfa0
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.1032ef46
mov esp, ebp
pop ebp
ret