Function at 0x1012fa50
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x102514b8]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x68], eax
push edi
mov edi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], edi
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x1e8]
mov dword [esi + 0x1e4], eax
inc eax
mov dword [esi + 0x1e8], eax
mov eax, dword [esi]
mov dword [esp + 0x68], 1
mov dword [esp + 0x30], eax
test edi, edi
je 0x10131718
cmp byte [eax + 0x38], 0
jne 0x10131718
cmp dword [esi + 0x44], 0
jne 0x10131718
push 0
push 0
push 0
mov edx, 0x15
call fcn.10114540
add esp, 0xc
test eax, eax
jne 0x10131718
mov eax, dword [esp + 0x6c]
xorps xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movq qword [esp + 0xc0], xmm0
cmp byte [eax], 4
ja 0x1012fb27
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x30]
call fcn.1010d0e0
mov eax, 0xfffe
mov dword [edi + 0x38], 0
and word [edi + 6], ax
push 0
mov edx, edi
mov ecx, esi
call fcn.1012f250
mov eax, dword [edi + 0x38]
add esp, 4
cmp dword [esi + 0x44], 0
mov edx, dword [edi]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], edx
jne 0x101316b2
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x38], 0
jne 0x101316b8
movzx eax, word [edi + 6]
mov ecx, esi
shr eax, 2
and eax, 1
mov dword [esp + 0x28], eax
call fcn.1012b190
mov edi, eax
mov dword [esp + 0x70], edi
test edi, edi
je 0x1012fba8
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x6c]
cmp dword [ecx], 1
movzx eax, byte [eax]
jle 0x1012fbb9
cmp eax, 6
je 0x1012fb9a
cmp eax, 7
jne 0x1012fbb9
push 0x1022d750
push esi
call fcn.100e18e0
add esp, 8
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
jmp 0x101316ba
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], 0
cmp dword [ecx + 0x3c], 0
jne 0x1012ff92
mov edx, dword [esp + 0x18]
movsx eax, word [edx]
cmp dword [esp + 0x4c], eax
jge 0x1012ff92
mov eax, dword [esp + 0x4c]
lea eax, [eax + eax*8]
mov esi, dword [edx + eax*8 + 0x1c]
test esi, esi
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], eax
je 0x1012ff84
cmp dword [edx + eax*8 + 0x20], 0
je 0x1012fc35
test byte [edx + eax*8 + 0x2c], 4
jne 0x1012ff84
push dword [edx + eax*8 + 0x20]
mov ecx, edi
push dword [edx + eax*8 + 0x24]
mov edx, 2
call fcn.100fb3f0
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [esp + 0x18]
jmp 0x1012ff84
call fcn.1010be30
add dword [esi + 0x1e0], eax
mov ecx, esi
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x50], eax
push dword [esp + 0x54]
call fcn.1012e050
add esp, 0xc
test eax, eax
je 0x1012fc92
cmp dword [esp + 0x48], 0
je 0x1012fc85
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 1
or word [eax + 6], 4
mov dword [esp + 0x4c], 0xffffffff
jmp 0x1012ff4c
mov ecx, dword [esp + 0x18]
cmp word [ecx], 1
jne 0x1012fe42
mov eax, dword [esp + 0x1c]
mov edx, 0x100
test word [eax + 6], dx
jne 0x1012fe42
mov eax, dword [esp + 0x30]
test word [eax + 0x34], dx
jne 0x1012fe42
inc dword [esi + 0x4c]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x4c]
mov dword [ecx + edx*8 + 0x24], eax
or edx, 0xffffffff
inc dword [esi + 0x4c]
mov ecx, esi
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x34], eax
call fcn.10119100
mov edx, 1
mov ecx, edi
call fcn.100fb330
mov eax, dword [esp + 0x14]
mov edx, 0x2c
mov ecx, dword [esp + 0x18]
push dword [ecx + eax*8 + 0x34]
mov ecx, edi
call fcn.100fb390
mov ecx, dword [edi + 4]
add esp, 4
mov edx, eax
mov dword [esp + 0x54], edx
test ecx, ecx
je 0x1012fd22
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x34]
push 0
mov dword [ecx + eax*8 + 0x20], edx
mov edx, 7
mov ecx, edi
call fcn.100fb3f0
mov ecx, dword [edi + 4]
add esp, 8
test ecx, ecx
je 0x1012fd55
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ecx*8 + 0x24]
mov dword [esp + 0x100], eax
mov al, byte [esi + 0x1e8]
mov word [esp + 0xfc], 0xa
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [edx + ecx*8 + 0x30], al
lea eax, [esp + 0xfc]
mov edx, dword [esp + 0x58]
mov ecx, esi
push eax
call fcn.1012fa50
mov eax, dword [esp + 0x5c]
add esp, 4
movsd xmm0, qword [eax + 0x20]
call fcn.1018a201
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + edx*8 + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, esi
mov esi, dword [esp + 0x24]
or dword [eax + edx*8 + 0x2c], 4
mov eax, dword [esp + 0x54]
cmp dword [edi + 0x1c], eax
jbe 0x1012fe04
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x104]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [esp + 0x54]
cmp dword [edi + 0x1c], eax
jbe 0x1012fe04
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x108]
mov dword [ecx + edx*4 + 0xc], eax
push dword [esp + 0x34]
mov edx, 7
mov ecx, edi
push 1
call fcn.100fb3f0
mov eax, dword [esp + 0x1c]
mov edx, 4
mov ecx, dword [esp + 0x20]
push dword [ecx + eax*8 + 0x24]
mov ecx, edi
call fcn.100fb390
mov edx, dword [esp + 0x60]
add esp, 0xc
dec edx
mov ecx, edi
call fcn.100fb830
jmp 0x1012ff41
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esi + 0x4c], eax
mov dword [ecx + edx*8 + 0x24], eax
mov edx, 7
push eax
push 0
mov ecx, edi
call fcn.100fb3f0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
inc eax
test byte [edx + ecx*8 + 0x2c], 2
mov dword [edx + ecx*8 + 0x20], eax
jne 0x1012fe94
mov ecx, esi
call fcn.1010d510
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [edx + ecx*8 + 0x34]
mov dword [esp + 0x100], eax
mov al, byte [esi + 0x1e8]
mov word [esp + 0xfc], 9
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [edx + ecx*8 + 0x30], al
lea eax, [esp + 0xfc]
mov edx, dword [esp + 0x58]
mov ecx, esi
push eax
call fcn.1012fa50
mov eax, dword [esp + 0x5c]
add esp, 4
movsd xmm0, qword [eax + 0x20]
call fcn.1018a201
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + edx*8 + 0x18]
mov esi, dword [esp + 0x24]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1012ff11
mov edx, eax
mov ecx, edi
call fcn.100fb830
mov eax, dword [esp + 0x14]
mov edx, 3
mov ecx, dword [esp + 0x18]
push dword [ecx + eax*8 + 0x24]
mov ecx, edi
call fcn.100fb390
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x48]
cmp dword [edi + 0x1c], eax
jbe 0x1012ff41
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov dword [esi + 0x3c], 0
mov byte [esi + 0x13], 0
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x38], 0
jne 0x1012fba8
mov ecx, dword [esp + 0x1c]
call fcn.1010be30
sub dword [esi + 0x1e0], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
mov edx, dword [ecx + 0x28]
cmp byte [eax], 4
mov dword [esp + 0x18], edx
jbe 0x1012ff84
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x40], eax
inc dword [esp + 0x4c]
cmp dword [ecx + 0x3c], 0
je 0x1012fbd3
mov edx, dword [ecx + 0x34]
mov eax, dword [ecx]
mov dword [esp + 0x34], edx
mov dl, byte [ecx + 6]
mov dword [esp + 0x44], eax
and dl, 1
cmp dword [ecx + 0x3c], 0
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x14], eax
mov byte [esp + 0x13], dl
mov byte [esp + 0x90], dl
je 0x1013003b
cmp dword [ecx + 0x44], 0
jne 0x1013000a
xor edi, edi
mov eax, ecx
xor edx, edx
mov dword [eax + 0x40], edi
inc edx
mov dword [eax + 0x44], ecx
mov edi, eax
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x1012ffd0
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x1013000a
cmp edx, eax
jle 0x1013000a
push 0x1022da38
push esi
call fcn.100e18e0
mov eax, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x44]
jmp 0x101316ba
push dword [esp + 0x6c]
mov edx, ecx
mov ecx, esi
call fcn.1012b400
mov ecx, dword [esp + 0x90]
add esp, 4
mov dword [esi + 0x1e4], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1016198b
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x40]
mov ecx, eax
call fcn.101106a0
test eax, eax
jne 0x10130062
mov eax, dword [esp + 0x30]
mov ecx, 0
test byte [eax + 0x34], 4
mov eax, dword [esp + 0x40]
cmove eax, ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 6]
and al, 5
cmp al, 1
jne 0x10130199
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
call fcn.101106a0
test eax, eax
jne 0x10130199
mov eax, dword [esp + 0x1c]
mov ecx, 0xfffe
push 0
and word [eax + 6], cx
mov edx, dword [eax]
mov ecx, dword [esp + 0x34]
call fcn.1010c8e0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x6c]
cmp byte [eax], 9
jne 0x101300df
mov ecx, dword [esp + 0x44]
mov edx, 0x2a
push dword [ecx]
mov ecx, edi
push dword [eax + 4]
call fcn.100fb3f0
add esp, 8
mov ecx, edi
call fcn.100fb5f0
movsd xmm0, qword [0x1022ee50]
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov edx, eax
mov dword [esp + 0x9c], ecx
push ecx
mov ecx, esi
movsd qword [eax + 0x20], xmm0
call fcn.1012b200
mov edx, dword [esp + 0x20]
add esp, 4
cmp dword [edx + 8], 0
jne 0x10130134
mov eax, dword [esp + 0x54]
test eax, eax
js 0x10130134
mov edx, eax
mov ecx, edi
call fcn.100fbb10
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x2b
or word [edx + 6], 0x40
test byte [edx + 6], 1
je 0x101301ec
mov esi, dword [esi + 0x48]
mov ecx, dword [esp + 0x24]
push 0xfffffffffffffff0
push ecx
lea eax, [esi + 1]
mov dword [esp + 0x9c], esi
mov dword [ecx + 0x48], eax
mov edx, dword [edx]
call fcn.1012a000
add esp, 4
mov edx, 0x2a
mov ecx, edi
push eax
push 0
push 0
push esi
call fcn.100fb460
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x1013018d
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov esi, dword [esp + 0x24]
mov al, 3
mov edx, dword [esp + 0x1c]
jmp 0x101301ee
mov eax, dword [esp + 0x40]
test eax, eax
je 0x101300b6
mov edx, eax
mov ecx, esi
call fcn.1012a000
mov edx, dword [esp + 0x40]
mov ecx, eax
mov eax, dword [esi + 0x48]
push 0xfffffffffffffff0
push ecx
mov dword [edx + 4], eax
mov ecx, edi
inc dword [esi + 0x48]
mov eax, dword [edx]
push 0
add eax, 2
push eax
push dword [edx + 4]
mov edx, 0x2a
call fcn.100fb460
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov dword [eax + 0x18], ecx
jmp 0x101300be
xor al, al
cmp dword [esp + 0x28], 0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x91], al
mov dword [esp + 0x58], eax
jne 0x101302fe
test ecx, ecx
jne 0x101302fe
cmp byte [esp + 0x13], cl
je 0x1013021a
mov eax, dword [edx]
jmp 0x1013021c
xor eax, eax
mov edx, dword [esp + 0x18]
mov ecx, esi
push 0
push 0
push eax
push dword [esp + 0x4c]
push dword [esp + 0x84]
call fcn.1013d110
mov edx, eax
add esp, 0x14
mov dword [esp + 0x34], edx
test edx, edx
je 0x1012fba8
mov eax, dword [esp + 0x1c]
movsd xmm1, qword [edx + 0x30]
movsd xmm0, qword [eax + 0x20]
comisd xmm0, xmm1
jbe 0x10130261
movsd qword [eax + 0x20], xmm1
mov eax, dword [esp + 0x58]
mov cl, byte [edx + 0xe]
movzx eax, al
test cl, cl
mov dword [esp + 0x58], eax
movzx eax, cl
mov ecx, dword [esp + 0x58]
cmovne ecx, eax
mov dword [esp + 0x58], ecx
mov byte [esp + 0x91], cl
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1013029d
movzx eax, word [edx + 8]
xor edx, edx
cmp eax, dword [ecx]
cmove ecx, edx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x54]
test eax, eax
js 0x101302c3
test ecx, ecx
jne 0x101302c3
mov edx, eax
mov ecx, edi
call fcn.100fb960
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0x18], 0xffffffff
jmp 0x101302c7
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
push dword [eax + 0x18]
push dword [eax + 0x14]
lea eax, [esp + 0x98]
push dword [esp + 0x74]
push eax
push ecx
push 0
push 0
push dword [esp + 0x60]
mov ecx, esi
call fcn.10129940
mov ecx, dword [esp + 0x54]
add esp, 0x20
call fcn.1013dda0
jmp 0x101314fc
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x1013036e
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x10130332
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x10130320
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x10130354
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x10130342
mov esi, dword [esp + 0x24]
movsd xmm0, qword [edx + 0x20]
movsd xmm1, qword [0x1022ede8]
comisd xmm0, xmm1
jbe 0x1013037b
movsd qword [edx + 0x20], xmm1
jmp 0x1013037b
movsd xmm0, qword [0x1022ed98]
movsd qword [edx + 0x20], xmm0
mov ecx, edi
call fcn.100fb5f0
mov ecx, dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18]
movdqa xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xa0]
movdqa xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xd0], esi
mov dword [esp + 0xdc], eax
test ecx, ecx
je 0x101303d2
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xac], eax
jmp 0x101303dd
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0x44]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0xd0]
call fcn.10110b50
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xd0]
call fcn.10110b50
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1013041a
mov edx, eax
lea ecx, [esp + 0xd0]
call fcn.10110b00
cmp dword [esp + 0xc4], 0
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xbc], eax
jle 0x10130487
mov al, byte [esp + 0xec]
xor esi, esi
xor edi, edi
lea ecx, [ecx]
or al, 8
lea ecx, [esp + 0xd0]
mov byte [esp + 0xec], al
mov eax, dword [esp + 0xc0]
mov edx, dword [eax + esi]
mov edx, dword [edx + 0x10]
call fcn.10110b50
mov al, byte [esp + 0xec]
lea esi, [esi + 0x10]
and al, 0xf7
inc edi
mov byte [esp + 0xec], al
cmp edi, dword [esp + 0xc4]
jl 0x10130440
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x38], 0
jne 0x1012fba8
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10131173
mov eax, dword [esi + 0x48]
mov edx, ecx
mov dword [esp + 0xa4], eax
mov ecx, esi
inc eax
mov dword [esi + 0x48], eax
call fcn.1012a000
push 0xfffffffffffffff0
push eax
push 0
push dword [esp + 0xb8]
mov edx, 0x2b
mov dword [esp + 0x48], eax
push dword [esp + 0xb4]
mov ecx, edi
call fcn.100fb460
inc dword [esi + 0x4c]
add esp, 0x14
mov dword [esp + 0x20], eax
mov ecx, edi
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x5c], eax
add eax, 2
mov dword [esi + 0x4c], eax
call fcn.100fb5f0
inc dword [esi + 0x4c]
mov ecx, edi
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x60], eax
call fcn.100fb5f0
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x88], eax
mov dword [esi + 0x4c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x54], eax
mov eax, dword [edx]
mov edx, 7
add eax, ecx
mov ecx, edi
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x5c]
inc eax
push eax
push 0
call fcn.100fb3f0
push dword [esp + 0x64]
mov edx, 7
mov ecx, edi
push 0
call fcn.100fb3f0
mov ecx, dword [esp + 0x24]
mov edx, 0xa
mov eax, dword [ecx]
mov ecx, dword [esp + 0x98]
dec eax
add eax, ecx
push eax
push ecx
push 0
mov ecx, edi
call fcn.100fb2d0
add esp, 0x1c
mov edx, 2
mov ecx, edi
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.100fb3f0
mov edx, dword [esp + 0x20]
mov ecx, esi
push 0
push 0
push 0
push dword [esp + 0x28]
push dword [esp + 0x8c]
call fcn.1013d110
add esp, 0x1c
mov dword [esp + 0x48], eax
test eax, eax
je 0x1012fba8
mov ecx, dword [esp + 0x14]
movzx eax, word [eax + 8]
cmp eax, dword [ecx]
jne 0x101305d8
xor ecx, ecx
mov dword [esp + 0x74], ecx
jmp 0x101309ee
cmp byte [esp + 0x13], 0
je 0x101305ee
mov eax, dword [esp + 0x1c]
mov edx, 0x1022da88
test byte [eax + 6], 1
je 0x101305f3
mov edx, 0x1022da7c
mov ecx, esi
call fcn.1012a0e0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x74], 1
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
inc eax
mov dword [esp + 0x28], eax
mov ecx, eax
mov dword [esp + 0x4c], eax
test edx, edx
jle 0x1013063f
mov eax, dword [esp + 0xb4]
add eax, 0xc
lea esp, [esp]
cmp dword [eax], ecx
jl 0x10130639
inc dword [esp + 0x4c]
inc ecx
add eax, 0x18
dec edx
jne 0x10130630
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x68], eax
cmp ecx, edx
jg 0x1013065d
add eax, ecx
sub edx, ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], edx
jmp 0x1013066c
mov eax, dword [esi + 0x4c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x68], edx
mov dword [esi + 0x4c], eax
mov ecx, esi
call fcn.1010e830
mov edx, dword [esp + 0x14]
push 0
push dword [esp + 0x6c]
call fcn.1010fdc0
mov eax, dword [esp + 0xac]
add esp, 8
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x50], eax
cmp dword [edi + 0x20], eax
jg 0x101306ab
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x101306e7
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x3c]
mov word [ecx + edx*4], 0x37
mov byte [ecx + edx*4 + 3], 0
mov dword [ecx + edx*4 + 8], eax
mov dword [ecx + edx*4 + 0xc], 0
mov dword [ecx + edx*4 + 0x10], 0
cmp dword [esp + 0xb8], 0
mov dword [esp + 0x78], 0
jle 0x101307ca
mov ecx, dword [esp + 0x68]
add ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], eax
nop
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0x28]
cmp dword [edx + eax + 0xc], esi
mov esi, dword [esp + 0x24]
jl 0x101307ad
push 0
push ecx
push dword [edx + eax + 4]
mov ecx, esi
push dword [edx + eax + 8]
mov edx, dword [edx + eax]
call fcn.1010e790
mov ecx, dword [esp + 0x4c]
add esp, 0x10
mov dword [esp + 0x2c], eax
cmp ecx, eax
je 0x101307a0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x7c], eax
cmp dword [edi + 0x20], eax
jg 0x10130768
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x1013079c
mov eax, dword [esp + 0x7c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
inc dword [esp + 0x28]
inc ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x78]
add eax, 0x18
inc edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], edx
cmp edx, dword [esp + 0xb8]
jl 0x10130710
mov al, byte [esi + 0x13]
test al, al
jne 0x101307d9
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
jmp 0x101307e5
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x10130804
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130838
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x1013085e
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130894
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x60
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10130898
mov edx, dword [esp + 0x28]
test edx, edx
je 0x101308d0
mov al, byte [esi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x101308d0
xor ecx, ecx
lea eax, [esi + 0x64]
lea esp, [esp]
cmp dword [eax + 0x10], edx
je 0x101308cc
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x101308b0
movzx eax, byte [esp + 0x13]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x101308d0
mov byte [eax + 8], 1
push dword [esp + 0x4c]
mov edx, dword [esp + 0x6c]
mov ecx, esi
call fcn.1010e5a0
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, dword [esi + 0x3c]
jle 0x101308f5
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x48]
call fcn.1013dda0
mov eax, dword [esi + 0x48]
mov dword [esp + 0x3c], eax
mov dword [esp + 0xa8], eax
inc eax
mov dword [esi + 0x48], eax
mov al, byte [esi + 0x13]
test al, al
jne 0x10130923
inc dword [esi + 0x4c]
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x28], ecx
jmp 0x10130933
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x1013094e
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130982
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x2c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x101309a8
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x101309df
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov word [eax + ecx*4], 0x46
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
mov byte [esp + 0xa1], 1
call fcn.1010e830
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x78], eax
call fcn.1010e830
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10130a62
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x10130a2a
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130a5e
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x3e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [edx], ecx
jle 0x10130b22
test eax, eax
je 0x10130ae7
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x10130a93
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130acb
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + edx*4 + 8], eax
add eax, dword [esp + 0x54]
mov word [ecx + edx*4], 0x1d
mov byte [ecx + edx*4 + 3], 0
mov dword [ecx + edx*4 + 0xc], eax
mov dword [ecx + edx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x10130b0d
mov edx, dword [edi + 4]
test edx, edx
je 0x10130b0d
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], 0x20
jmp 0x10130b0d
mov eax, dword [esp + 0x54]
mov byte [esp + 0xa0], 1
add eax, ecx
mov edx, dword [edx + 8]
push eax
lea eax, [ecx + ecx*2]
mov ecx, esi
mov edx, dword [edx + eax*8]
call fcn.1010faa0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, dword [esp + 0x14]
inc ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x28], ecx
cmp ecx, dword [edx]
jl 0x10130a74
mov eax, dword [edx]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x2c], edx
cmp dword [edi + 0x20], edx
jg 0x10130b4a
mov ecx, edi
call fcn.100fb250
test eax, eax
je 0x10130b46
mov edx, 1
jmp 0x10130b85
mov edx, dword [esp + 0x2c]
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
inc dword [edi + 0x1c]
mov esi, dword [esp + 0x88]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x24]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0x3c]
mov ecx, edi
call fcn.100fb9a0
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x50], eax
cmp dword [edi + 0x20], eax
jg 0x10130bb0
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130be1
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 4]
lea esi, [eax + eax*4]
inc dword [edi + 0x1c]
inc eax
mov word [ecx + esi*4], 0x19
mov byte [ecx + esi*4 + 3], 0
mov dword [ecx + esi*4 + 4], eax
mov dword [ecx + esi*4 + 8], 0
mov dword [ecx + esi*4 + 0xc], eax
mov dword [ecx + esi*4 + 0x10], 0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x54]
push dword [eax]
push dword [esp + 0x8c]
call fcn.1010ea40
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x38], eax
cmp dword [edi + 0x20], eax
jg 0x10130c17
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130c59
mov eax, dword [esp + 0x38]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x38], eax
cmp dword [edi + 0x20], eax
jg 0x10130c74
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130cb0
mov eax, dword [esp + 0x38]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x24]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov word [eax + ecx*4], 0x78
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x38], eax
cmp dword [edi + 0x20], eax
jg 0x10130ccb
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130cff
mov eax, dword [esp + 0x38]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x50]
test eax, eax
js 0x10130d18
mov edx, dword [edi + 0x1c]
cmp edx, eax
jbe 0x10130d18
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.1012f580
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x38], eax
cmp dword [edi + 0x20], eax
jg 0x10130d41
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130d75
mov eax, dword [esp + 0x38]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x10130ddd
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x38], eax
cmp dword [edi + 0x20], eax
jg 0x10130da7
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130e27
mov eax, dword [esp + 0x38]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
mov word [eax + ecx*4], 0x51
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10130e27
mov ecx, dword [esp + 0x48]
call fcn.1013dda0
mov eax, dword [edi + 4]
mov dword [esp + 0x38], eax
test eax, eax
je 0x10130e27
mov ecx, dword [esp + 0x20]
lea esi, [ecx + ecx*4]
mov ecx, dword [edi]
push dword [eax + esi*4 + 0x10]
movsx edx, byte [eax + esi*4 + 1]
call fcn.100fb850
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
add esp, 4
movdqu xmmword [eax + esi*4], xmm0
mov dword [eax + esi*4 + 0x10], 0
mov byte [eax + esi*4], 0x95
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x20], eax
jg 0x10130e42
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130e84
mov eax, dword [esp + 0x20]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x20], eax
jg 0x10130e9f
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130ed6
mov eax, dword [esp + 0x20]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x84]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x50], eax
cmp dword [edi + 0x20], eax
jg 0x10130ef1
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130f2a
mov eax, dword [esp + 0x50]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x24]
inc edx
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x20], eax
jg 0x10130f45
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130f84
mov eax, dword [esp + 0x20]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x24]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10130fa0
mov eax, dword [esp + 0x80]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x48], eax
cmp dword [edi + 0x20], eax
jg 0x10130fbb
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10130ff2
mov eax, dword [esp + 0x48]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
add eax, 2
mov esi, dword [esp + 0x5c]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov word [ecx + edx*4], 0x78
mov byte [ecx + edx*4 + 3], 0
mov dword [ecx + edx*4 + 8], eax
mov dword [ecx + edx*4 + 0xc], 0
mov dword [ecx + edx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x20], eax
jg 0x1013100d
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x1013104c
mov eax, dword [esp + 0x20]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x24]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.1012f4b0
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
inc esi
mov ecx, dword [esp + 0x24]
push 8
push esi
call fcn.10110250
push dword [esp + 0x58]
lea eax, [esp + 0x9c]
push esi
push dword [esp + 0x7c]
mov esi, dword [esp + 0x38]
mov ecx, esi
push eax
push dword [esp + 0x58]
mov eax, dword [esp + 0x38]
mov edx, eax
push 0
push 0
push dword [eax]
call fcn.10129940
mov eax, dword [edi + 0x1c]
add esp, 0x28
mov dword [esp + 0x20], eax
cmp dword [edi + 0x20], eax
jg 0x101310b9
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x101310f4
mov eax, dword [esp + 0x20]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x70]
add edx, 2
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1013110d
mov eax, dword [esp + 0x64]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.1012f2f0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x20], eax
jg 0x1013113a
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x101314e0
mov eax, dword [esp + 0x20]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x101314e0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xa0]
mov dword [esp + 0x80], 0
call fcn.1012e6a0
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10131370
mov ecx, dword [esi]
mov edx, dword [eax + 0x40]
call fcn.10128490
mov ecx, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x60], eax
inc eax
mov dword [esi + 0x48], eax
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0x20]
mov ecx, esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], eax
call fcn.10119100
mov eax, dword [esp + 0x3c]
mov ecx, esi
mov edx, dword [esp + 0x50]
push dword [eax]
push 0
push dword [eax + 0x20]
call fcn.101145d0
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x10131246
xor esi, esi
test byte [ecx + 0x2c], 4
jne 0x1013120d
test esi, esi
je 0x1013120b
mov ax, word [ecx + 0x28]
cmp ax, word [esi + 0x28]
jae 0x1013120d
mov esi, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x101311f7
mov dword [esp + 0x64], esi
test esi, esi
mov esi, dword [esp + 0x24]
je 0x10131246
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x3c]
movzx ecx, word [edx + 0x28]
movsx eax, word [eax + 0x26]
cmp ecx, eax
jge 0x10131246
mov eax, dword [edx + 0x24]
mov ecx, esi
mov dword [esp + 0x48], eax
call fcn.10119730
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x20], eax
jg 0x10131261
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10131295
mov eax, dword [esp + 0x20]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x101312ad
push 0xfffffffffffffff0
push eax
or edx, 0xffffffff
mov ecx, edi
call fcn.100fb9a0
add esp, 8
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x20], eax
jg 0x101312d6
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x1013130a
mov eax, dword [esp + 0x20]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x20], eax
jg 0x10131325
mov ecx, edi
call fcn.100fb250
test eax, eax
jne 0x10131359
mov eax, dword [esp + 0x20]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x2d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x64]
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.1012f9e0
add esp, 4
jmp 0x1013148d
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x34], 0
jne 0x101313ed
lea edx, [esp + 0x60]
lea ecx, [esp + 0xa0]
call fcn.1012e630
mov byte [esp + 0x13], al
test al, al
je 0x101313e5
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x30]
push 0
call fcn.1010c8e0
mov edx, eax
add esp, 4
mov dword [esp + 0x64], edx
mov dword [esp + 0x80], edx
test edx, edx
je 0x101313ed
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x38], 0
jne 0x101313ed
mov eax, dword [edx + 8]
cmp byte [esp + 0x13], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x101313ed
mov eax, dword [esp + 0x60]
mov dword [esp + 0x64], eax
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.1012f2f0
mov al, byte [esp + 0x13]
mov ecx, esi
mov edx, dword [esp + 0x18]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x70]
push dword [esp + 0x84]
call fcn.1013d110
add esp, 0x14
mov dword [esp + 0x48], eax
test eax, eax
jne 0x10131447
mov edi, dword [esp + 0x30]
mov ecx, edi
mov edx, dword [esp + 0x80]
call fcn.1010d0e0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
jmp 0x101316ba
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.1012f580
mov eax, dword [esp + 0x48]
cmp word [eax + 8], 0
jbe 0x10131478
push dword [eax + 0x18]
mov edx, 1
mov ecx, edi
push 0
call fcn.100fb3f0
mov eax, dword [esp + 0x50]
add esp, 8
mov ecx, eax
call fcn.1013dda0
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.1012f4b0
mov edx, dword [esp + 0x34]
mov ecx, esi
push 8
push dword [esp + 0x88]
mov dword [esp + 0x48], 0
call fcn.10110250
mov eax, dword [esp + 0x8c]
mov ecx, esi
push eax
push eax
push dword [esp + 0x7c]
mov eax, dword [esp + 0x30]
mov edx, eax
push 0
push 0
push 0
push 0
push dword [eax]
call fcn.10129940
mov edx, dword [esp + 0xa8]
add esp, 0x28
mov ecx, dword [esp + 0x30]
call fcn.1010d0e0
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x101314fc
mov eax, dword [esp + 0x84]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x58]
cmp al, 3
jne 0x101315b2
cmp byte [esi + 0x1d4], 2
jne 0x101315b2
mov ecx, dword [esi + 8]
push 0x1022da88
push 0x1022d814
push dword [esi]
mov dword [esp + 0x40], ecx
call fcn.100e0c90
mov dword [esp + 0x38], eax
add esp, 0xc
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x20], edx
jg 0x10131568
mov ecx, eax
call fcn.100fb250
test eax, eax
je 0x10131560
mov edx, 1
jmp 0x101315a0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
inc dword [eax + 0x1c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x70]
mov word [eax + ecx*4], 0x96
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push dword [esp + 0x30]
call fcn.100fb9a0
add esp, 8
cmp dword [esp + 0x40], 0
je 0x10131680
cmp byte [esi + 0x1d4], 2
jne 0x10131667
mov ecx, dword [esi + 8]
push 0x1022dadc
push 0x1022d814
push dword [esi]
mov dword [esp + 0x40], ecx
call fcn.100e0c90
mov dword [esp + 0x38], eax
add esp, 0xc
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x20], edx
jg 0x1013161d
mov ecx, eax
call fcn.100fb250
test eax, eax
je 0x10131615
mov edx, 1
jmp 0x10131655
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
inc dword [eax + 0x1c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x70]
mov word [eax + ecx*4], 0x96
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push dword [esp + 0x30]
call fcn.100fb9a0
add esp, 8
mov eax, dword [esp + 0x44]
mov ecx, esi
push dword [esp + 0x6c]
mov edx, dword [esp + 0x20]
push dword [eax]
push edi
call fcn.1012a1b0
add esp, 0xc
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1013169c
mov eax, dword [esp + 0x9c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x68], 0
jmp 0x101316ba
mov edi, dword [esp + 0x30]
jmp 0x101316ba
mov edi, ecx
cmp dword [esp + 0x68], 0
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x1e4], ecx
jne 0x101316e4
mov ecx, dword [esp + 0x6c]
cmp byte [ecx], 5
jne 0x101316e4
push edx
mov edx, eax
mov ecx, esi
call fcn.1012ab20
add esp, 4
mov edx, dword [esp + 0xb4]
mov ecx, edi
call fcn.100df640
mov edx, dword [esp + 0xc0]
mov ecx, edi
call fcn.100df640
mov eax, dword [esp + 0x68]
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1016198b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.1016198b
mov esp, ebp
pop ebp
ret