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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
shl ecx, 4
push ebx
mov ebx, dword [eax]
push esi
lea esi, [ecx + eax + 0x2e0]
movzx ecx, byte [esi + 0x2c]
lea edx, [eax + 0x148]
mov dword [esp + 0x30], edx
mov edx, dword [ebx]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 4]
shl ecx, 4
lea ecx, [ecx + edx + 8]
mov edx, dword [eax + 0x44]
test edx, edx
push edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], 0
jle 0x101002af
add eax, 0x48
mov ecx, dword [esp + 0x1c]
cmp dword [eax], ecx
je 0x1010039c
add dword [esp + 0x4c], 1
add eax, 4
cmp dword [esp + 0x4c], edx
jl 0x10100295
xor eax, eax
xor edx, edx
mov ecx, dword [ebp + 8]
not eax
and eax, dword [ebp + 0x10]
not edx
and edx, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ebp + 0xc]
call fcn.1013fe60
mov edx, dword [esp + 0x2c]
and eax, 1
test byte [edx + 0x24], 0x40
mov dword [esp + 0x20], eax
je 0x101002f6
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 0x20
mov dword [esp + 0x70], 1
je 0x101002fe
mov dword [esp + 0x70], 0
mov eax, edi
call fcn.100c1ae0
mov dword [esp + 0x4c], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov eax, edi
call fcn.100c1ae0
cmp byte [esi + 0x2c], 0
mov dword [esp + 0x58], eax
mov dword [esi + 0x18], eax
jbe 0x10100346
mov ecx, dword [esp + 0x54]
test byte [ecx + 0x24], 8
je 0x10100346
add dword [ebx + 0x4c], 1
mov eax, dword [ebx + 0x4c]
push 0
push eax
push 0
push 0x4a
push edi
mov dword [esi], eax
call fcn.100c1760
add esp, 0x14
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x28]
test al, 0x10
mov dword [esp + 0x84], eax
je 0x101003b1
mov ecx, edx
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
push ecx
push 0
push eax
push 0xf
push edi
mov dword [esp + 0x94], eax
call fcn.100c1760
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x94]
add esp, 0x14
push 0
push edx
push eax
push 0x10
push edi
call fcn.100c1760
add esp, 0x14
mov dword [esi + 0x34], eax
mov byte [esi + 0x2d], 0xd
jmp 0x101006e3
mov ecx, dword [esp + 0x4c]
mov eax, 1
xor edx, edx
call fcn.1013fb70
jmp 0x101002b3
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x24]
test edx, 0x400
je 0x10100733
movzx eax, word [ecx + 0x28]
mov edx, dword [ebx + 0x40]
add dword [ebx + 0x6c], 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0x3c]
add eax, 2
cmp eax, edx
jg 0x101003f4
mov edx, dword [esp + 0x3c]
add edx, eax
mov dword [ebx + 0x40], edx
mov edx, dword [ebx + 0x3c]
sub edx, eax
mov dword [ebx + 0x3c], edx
jmp 0x10100406
mov edx, dword [ebx + 0x4c]
add edx, 1
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0x4c]
add eax, edx
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x6c], eax
xor eax, eax
cmp dword [esp + 0x4c], eax
mov dword [esp + 0x24], eax
jle 0x10100481
mov edx, dword [esp + 0x3c]
add edx, 2
mov dword [esp + 0x54], edx
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + eax*4]
test eax, eax
je 0x1010046b
test byte [eax + 0x12], 1
mov ecx, dword [esp + 0x54]
push ecx
je 0x10100458
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push edx
push ecx
push eax
push ebx
mov eax, esi
call fcn.100ffc00
mov edx, dword [esi + 0x10]
add esp, 0x14
mov dword [esp + 0x6c], edx
jmp 0x10100467
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
push eax
push ebx
call fcn.100d7820
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add dword [esp + 0x54], 1
add eax, 1
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
jl 0x10100424
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x18]
push 0
push ecx
push eax
push 0x4a
push edi
call fcn.100c1760
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
add esp, 0x14
push 0
add ecx, 1
push ecx
push edx
push 0x4a
push edi
call fcn.100c1760
mov eax, dword [esp + 0x40]
mov cl, byte [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x50]
add esp, 0x14
neg cl
push eax
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x20]
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0xfffffffe
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x70]
push ecx
push edx
push 0xb
push edi
call fcn.100c1760
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
add esp, 0x14
push ecx
push edx
push eax
push edi
call fcn.100c2120
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 8]
mov byte [eax + 0x1c], 0
mov dword [esi + 0x30], ecx
mov al, byte [edx + 0x28]
add esp, 0x10
neg al
sbb al, al
and al, 0x5b
add al, 0x44
mov byte [esi + 0x2d], al
mov ecx, dword [edi + 0x20]
mov eax, dword [esi + 0x38]
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x4c]
add ecx, 0xffffffff
mov dword [esp + 0x24], ecx
js 0x101006d8
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp ecx, 0x10
mov eax, dword [edx + 0x30]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x20], eax
jge 0x1010057f
mov dx, word [edx + 0x1e]
shr dx, cl
test dl, 1
je 0x1010057f
mov edi, esi
call fcn.100ffaf0
jmp 0x101006c9
test byte [eax + 0x12], 1
je 0x101006cd
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x45], 0
jne 0x101005e0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esi + 0x3c]
sub eax, 0xc
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + eax + 4]
test eax, eax
jge 0x101005af
mov eax, dword [edi + 0x20]
sub eax, 1
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x101005be
mov eax, 0x101795e8
jmp 0x101005c7
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
movzx eax, byte [eax]
push ecx
push edx
push eax
push edi
call fcn.100c1760
add esp, 0x14
mov eax, dword [ebx]
push 0
push 0x30
call fcn.100a43c0
add esp, 8
test eax, eax
mov dword [esp + 0x68], eax
je 0x101006cd
push 0x30
mov edi, eax
push 0
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
mov esi, edi
mov byte [edi], 0x25
mov word [edi + 0x22], 0xffff
mov dword [edi + 0x18], 1
call fcn.100d3ab0
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x68]
cmp dword [edi + 0x18], eax
jle 0x1010063a
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
mov esi, ebx
call fcn.100a6b40
add esp, 8
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
push 0
push 0x31
mov dword [edi + 0xc], ecx
call fcn.100a43c0
mov esi, eax
add esp, 8
test esi, esi
je 0x10100682
push 0x30
push 0
push esi
call sub.MSVCR80.dll_memset
lea eax, [esi + 0x30]
mov byte [esi], 0x9d
mov word [esi + 0x22], 0xffff
mov dword [esi + 8], eax
mov byte [eax], 0
add esp, 0xc
mov dword [esi + 0x18], 1
test esi, esi
mov dword [edi + 0x10], esi
je 0x101006ac
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
lea ecx, [edx + eax + 2]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x1c], ecx
mov eax, dword [edx + 0x18]
push 0
push eax
push edi
push ebx
call fcn.100d7e70
add esp, 0x10
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov dword [eax + 0xc], 0
call fcn.100d4200
mov esi, dword [esp + 0x20]
add esp, 8
mov edi, dword [esp + 0x14]
sub dword [esp + 0x24], 1
jns 0x10100550
mov eax, ebx
call fcn.100d65c0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jle 0x1010178d
mov edx, dword [esp + 0x18]
movzx eax, word [ecx + 0x14]
xor esi, esi
test al, 6
jne 0x10101773
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
and ecx, dword [edx + 0x4c]
and eax, dword [edx + 0x48]
or eax, ecx
mov ecx, dword [esp + 0x20]
je 0x10101690
mov eax, dword [ebp + 8]
mov byte [eax + 0x29], 1
jmp 0x10101773
mov eax, edx
and eax, 0x100
je 0x101007e1
test dl, 5
je 0x101007e1
mov edx, ecx
mov eax, dword [edx + 0x30]
mov eax, dword [eax]
add dword [ebx + 0x4c], 1
mov ecx, dword [ebx + 0x4c]
push ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x24]
push ecx
push 0
push eax
push ebx
mov eax, esi
call fcn.100ffc00
mov edi, eax
add esp, 0x14
cmp edi, dword [esp + 0x4c]
je 0x10100786
mov esi, dword [esp + 0x4c]
mov edx, ebx
call fcn.100d88a0
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x14]
push 0
push eax
push edi
push 0x11
push edx
mov dword [esp + 0x60], eax
call fcn.100c1760
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add esp, 0x14
push edi
push eax
push ecx
push 0x20
push edx
call fcn.100c1760
add esp, 0x14
push 1
mov eax, ebx
call fcn.100d6560
mov eax, dword [esp + 0x20]
add esp, 4
push edi
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.100d6420
add esp, 0xc
mov byte [esi + 0x2d], 0x9f
jmp 0x101006df
test eax, eax
je 0x101009d8
test dl, 2
je 0x101009d8
xor eax, eax
test dl, 0x20
mov dword [esp + 0x40], 0x9f
mov dword [esp + 0x6c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
je 0x10100822
mov edx, dword [ecx + 0x30]
mov eax, dword [edx]
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], 1
test byte [ecx + 0x24], 0x10
je 0x10100836
mov ecx, dword [ecx + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x20], 0
je 0x1010084b
mov ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
test eax, eax
je 0x101008d4
mov edx, dword [esp + 0x44]
mov esi, dword [edx]
lea eax, [esp + 0x80]
push eax
mov eax, dword [esi + 0x10]
mov ecx, ebx
mov byte [esp + 0x58], 0x1a
mov byte [esp + 0x59], 0x18
mov byte [esp + 0x5a], 0x17
mov byte [esp + 0x5b], 0x19
call fcn.100d7700
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
add esp, 4
mov edi, eax
movzx eax, byte [esi]
push edi
push ecx
movzx ecx, byte [esp + eax + 0x36]
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.100c1760
add esp, 0x14
push 1
mov eax, ebx
call fcn.100d6560
mov esi, dword [esp + 0x84]
add esp, 4
mov edx, ebx
call fcn.100d88a0
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
call fcn.100ffaf0
mov esi, edi
mov edi, dword [esp + 0x14]
jmp 0x101008f8
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
neg edx
push 0
sbb edx, edx
push eax
and edx, 0xffffffea
push ecx
add edx, 0x37
push edx
push edi
call fcn.100c1760
add esp, 0x14
cmp dword [esp + 0x48], 0
je 0x1010095b
mov eax, dword [esp + 0x48]
mov edi, dword [eax]
add dword [ebx + 0x4c], 1
mov eax, dword [ebx + 0x4c]
mov ecx, dword [edi + 0x10]
push eax
push ecx
push ebx
mov dword [esp + 0x78], eax
call fcn.100d7820
mov al, byte [edi]
add esp, 0xc
cmp al, 0x28
je 0x1010093b
cmp al, 0x26
je 0x1010093b
xor edx, edx
cmp dword [esp + 0x20], edx
setne dl
lea edx, [edx + edx + 0x26]
mov dword [esp + 0x40], edx
jmp 0x1010094c
xor eax, eax
cmp dword [esp + 0x20], eax
sete al
lea eax, [eax + eax + 0x27]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
mov edi, esi
call fcn.100ffaf0
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x20], 0
mov eax, dword [edi + 0x20]
mov edx, dword [esp + 0x1c]
sete cl
add cl, 6
cmp dword [esp + 0x40], 0x9f
mov byte [esi + 0x2d], cl
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
je 0x101006df
add dword [ebx + 0x4c], 1
mov esi, dword [ebx + 0x4c]
push 0
push esi
mov eax, edx
push eax
push 0x79
push edi
call fcn.100c1760
mov ecx, dword [esp + 0x30]
add esp, 0x14
push esi
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call fcn.100d6420
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
add esp, 0xc
push esi
push edx
push eax
push ecx
push edi
call fcn.100c1760
add esp, 0x14
push 0x53
mov ecx, edi
call fcn.100c1e00
add esp, 4
jmp 0x101006df
test edx, 0x200
je 0x10100ff0
movzx edx, word [ecx + 0x18]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
mov byte [esp + 0x12], al
mov byte [esp + 0x11], al
mov byte [esp + 0x13], al
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 1
mov dword [esp + 0x24], edx
je 0x10100a3a
cmp byte [eax + 0x26], 0
jle 0x10100a3a
mov eax, dword [esp + 0x44]
cmp word [eax + 0x32], dx
jbe 0x10100a3a
mov byte [esp + 0x11], 1
mov dword [esp + 0x54], 1
test byte [ecx + 0x24], 0x20
movzx edx, word [esp + 0x24]
mov dword [esp + 0x30], edx
mov eax, edx
je 0x10100a64
mov edx, dword [ecx + 0x30]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x30]
add eax, 1
mov dword [esp + 0x54], 1
test byte [ecx + 0x24], 0x10
je 0x10100af6
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + eax*4]
test word [eax + 0x14], 0x100
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], 1
je 0x10100acb
add dword [ebx + 0x4c], 1
mov eax, dword [ebx + 0x4c]
push 0
push eax
push 1
push 0x4a
push edi
mov dword [esi + 0x24], eax
call fcn.100c1760
mov edx, dword [edi + 0x20]
shl dword [esi + 0x24], 1
mov eax, dword [esp + 0x58]
mov dword [esi + 0x28], edx
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x44]
xor edx, edx
add esp, 0x14
cmp byte [eax + ecx], 1
sete dl
xor edx, dword [esp + 0x20]
or edx, dword [esi + 0x24]
mov dword [esi + 0x24], edx
mov edx, eax
cmp dword [esp + 0x38], 0
jne 0x10100af6
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 4]
movsx eax, word [eax + edx*2]
test eax, eax
jl 0x10100af6
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
shl eax, 4
cmp byte [ecx + eax + 0xc], 0
jne 0x10100af6
mov byte [esp + 0x11], 1
mov eax, dword [esp + 0x44]
movzx eax, word [eax + 0x32]
cmp word [esp + 0x24], ax
mov dword [esp + 0x80], eax
jae 0x10100b28
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
cmp byte [edx + eax], cl
sete cl
cmp dword [esp + 0x20], ecx
je 0x10100b36
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x20], 0
je 0x10100b53
cmp ax, word [esp + 0x24]
jne 0x10100b53
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov al, byte [esp + 0x11]
mov dword [esp + 0x3c], edx
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], al
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x54]
push eax
push ecx
push edx
push esi
push ebx
call fcn.100ffdf0
add esp, 0x14
cmp dword [esp + 0x54], 0
mov dword [esp + 0x40], eax
je 0x10100b86
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov dl, byte [ecx + eax]
mov byte [esp + 0x12], dl
mov eax, dword [esi + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
test eax, eax
mov dl, 0x28
je 0x10100ba4
test byte [eax + 0x12], dl
mov dword [esp + 0x60], 0
je 0x10100bac
mov dword [esp + 0x60], 1
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10100bc1
test byte [ecx + 0x12], dl
mov dword [esp + 0x68], 0
je 0x10100bc9
mov dword [esp + 0x68], 1
test eax, eax
jne 0x10100bd8
cmp word [esp + 0x24], ax
mov dword [esp + 0x64], eax
jbe 0x10100be0
mov dword [esp + 0x64], 1
test eax, eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
je 0x10100c97
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov edx, dword [esp + 0x40]
mov eax, dword [eax + 0x10]
add ecx, edx
push ecx
push eax
push ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x8c], ecx
call fcn.100d7820
mov eax, dword [esp + 0x44]
add esp, 0xc
test word [eax + 0x14], 0x100
je 0x10100c2a
mov edx, esi
mov ecx, edi
call fcn.101000d0
mov eax, dword [esp + 0x5c]
call fcn.100d51d0
test eax, eax
je 0x10100c51
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x80]
push 0
push ecx
push edx
push 0x22
push edi
call fcn.100c1760
add esp, 0x14
mov edi, dword [esp + 0x54]
test edi, edi
je 0x10100c88
mov esi, dword [esp + 0x30]
mov bl, byte [esi + edi]
mov eax, dword [esp + 0x5c]
call fcn.100d37e0
cmp al, 0x41
jne 0x10100c70
mov byte [esi + edi], al
mov dl, byte [esi + edi]
mov ecx, dword [esp + 0x5c]
call fcn.100d5280
test eax, eax
mov ebx, dword [esp + 0x50]
je 0x10100c88
mov byte [esi + edi], 0x41
add dword [esp + 0x24], 1
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x10100ccb
cmp byte [esp + 0x11], 0
je 0x10100ccb
mov eax, ecx
mov ecx, dword [esp + 0x40]
push 0
add eax, ecx
push eax
push 0
push 0x4d
push edi
call fcn.100c1760
mov eax, 1
add esp, 0x14
add dword [esp + 0x24], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], eax
movzx edx, byte [esp + 0x11]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
sub ecx, edx
mov edx, dword [esp + 0x40]
push ebx
call fcn.100ffb70
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x2a]
add esp, 4
test ax, ax
jbe 0x10100cfd
movzx ecx, ax
cmp dword [esp + 0x24], ecx
je 0x10100d3a
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x14]
push edx
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + edx*2 + 0x1014f578]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.100c1a30
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add esp, 8
cmp dword [esp + 0x3c], 0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], edx
je 0x10100e01
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
lea edi, [eax + ecx]
push 1
mov eax, ebx
mov dword [esp + 0x70], edx
call fcn.100d6560
mov edx, dword [esp + 0x70]
add esp, 4
push edi
push edx
push ebx
call fcn.100d7820
mov eax, dword [esp + 0x48]
add esp, 0xc
test word [eax + 0x14], 0x100
je 0x10100d97
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.101000d0
mov esi, dword [esp + 0x6c]
mov eax, esi
call fcn.100d51d0
test eax, eax
je 0x10100dbd
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edi
push 0x22
push edx
call fcn.100c1760
add esp, 0x14
mov bl, byte [esp + 0x12]
mov eax, esi
call fcn.100d37e0
cmp al, 0x41
je 0x10100df3
mov dl, byte [esp + 0x12]
mov ecx, esi
call fcn.100d5280
test eax, eax
jne 0x10100df3
mov eax, dword [esp + 0x50]
push eax
lea eax, [esp + 0x16]
mov ecx, 1
mov edx, edi
call fcn.100ffb70
add esp, 4
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x10100e28
cmp byte [esp + 0x13], 0
je 0x10100e2d
mov ecx, edx
mov edx, dword [esp + 0x40]
push 0
add ecx, edx
push ecx
push 0
push 0x4d
push edi
call fcn.100c1760
add esp, 0x14
mov dword [esp + 0x68], 0
add dword [esp + 0x24], 1
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
call fcn.100a40e0
cmp dword [esp + 0x24], 0
mov eax, dword [edi + 0x20]
mov dword [esi + 0x34], eax
je 0x10100e79
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x14]
push ecx
movzx ecx, byte [eax + edx*2 + str._98:_a]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.100c1a30
mov esi, dword [esp + 0x20]
add esp, 8
mov eax, dword [esp + 0x38]
mov edi, esi
call fcn.100ffaf0
mov eax, dword [esp + 0x3c]
call fcn.100ffaf0
cmp dword [esp + 0x70], 0
jne 0x10100fac
mov edi, dword [esp + 0x44]
mov eax, dword [edi + 0xc]
test byte [eax + 0x2a], 0x20
jne 0x10100f10
mov eax, dword [ebp + 8]
test word [eax + 0x24], 0x8000
mov edx, dword [esp + 0x48]
je 0x10100efc
add dword [ebx + 0x4c], 1
mov edi, dword [ebx + 0x4c]
mov eax, dword [esp + 0x14]
push 0
push edi
push edx
push 0x7f
push eax
call fcn.100c1760
mov ecx, dword [esp + 0x30]
add esp, 0x14
push edi
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call fcn.100d6420
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add esp, 0xc
push edi
push 0
push edx
push 0x20
push eax
call fcn.100c1760
add esp, 0x14
jmp 0x10100fac
mov ecx, dword [esp + 0x1c]
push eax
mov eax, edi
call fcn.10100120
add esp, 4
jmp 0x10100fac
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x48]
je 0x10100fac
call fcn.100dd000
movzx esi, word [eax + 0x32]
mov ecx, ebx
mov dword [esp + 0x54], eax
call fcn.100d88e0
mov edx, dword [esp + 0x54]
xor edi, edi
cmp word [edx + 0x32], di
mov dword [esp + 0x70], eax
jbe 0x10100f85
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x54]
lea ecx, [edi + eax]
mov eax, dword [edx + 4]
mov si, word [eax + edi*2]
mov edx, dword [esp + 0x44]
push ecx
call fcn.100dd020
mov edx, dword [esp + 0x4c]
movsx ecx, ax
mov eax, dword [esp + 0x18]
push ecx
push edx
push 0x5e
push eax
call fcn.100c1760
mov ecx, dword [esp + 0x68]
movzx edx, word [ecx + 0x32]
add edi, 1
add esp, 0x14
cmp edi, edx
jl 0x10100f42
mov eax, dword [esp + 0x54]
movzx ecx, word [eax + 0x32]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x5c]
push 0x1e
call fcn.100c1a30
mov esi, dword [esp + 0x20]
add esp, 8
mov eax, dword [esp + 0x2c]
test dword [eax + 0x24], 0x1000
je 0x10100fbf
mov byte [esi + 0x2d], 0x9f
jmp 0x10100fcd
cmp dword [esp + 0x20], 0
sete dl
add dl, 6
mov byte [esi + 0x2d], dl
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x30], ecx
mov dl, byte [eax + 0x26]
and dl, 1
mov byte [esi + 0x2e], dl
test byte [eax + 0x24], 0xf
jne 0x101006df
mov byte [esi + 0x2f], 1
jmp 0x101006df
test edx, 0x2000
je 0x10101641
mov eax, dword [ebx + 0x48]
add dword [ebx + 0x4c], 1
mov dword [esp + 0x74], eax
add eax, 1
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x4c]
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], ecx
call fcn.100c1ae0
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov byte [esi + 0x2d], 0x46
mov dword [esi + 0x30], eax
mov al, byte [ecx + 0x2b]
cmp al, 1
mov dword [esp + 0x6c], edx
jbe 0x10101130
movzx eax, al
sub eax, dword [ebp + 0xc]
push 0
sub eax, 1
lea edx, [eax + eax*4]
shl edx, 4
add edx, 0x58
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
push edx
call fcn.100a4390
add esp, 8
test eax, eax
mov dword [esp + 0x40], eax
jne 0x101010ac
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esp + 0x68]
mov esi, dword [esp + 0x54]
add al, 1
movzx ecx, al
mov eax, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea edi, [eax + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
add edx, 8
cmp dword [esp + 0x68], 1
jl 0x10101137
mov ecx, dword [esp + 0x68]
add eax, 0x58
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
add eax, 0x7c
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], ecx
jmp 0x10101100
mov eax, dword [esp + 0x64]
movzx eax, byte [eax]
mov edi, dword [esp + 0x60]
lea esi, [eax + eax*4]
shl esi, 4
mov eax, 0x50
add dword [esp + 0x64], eax
add dword [esp + 0x60], eax
add esi, edx
sub dword [esp + 0x70], 1
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
jne 0x10101100
jmp 0x10101137
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], edx
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 8
jne 0x101011ac
mov ecx, dword [esp + 0x48]
test byte [ecx + 0x2a], 0x20
jne 0x1010116b
add dword [ebx + 0x4c], 1
mov eax, dword [ebx + 0x4c]
mov edx, dword [esp + 0x14]
push 0
push eax
push 0
push 0x4d
push edx
mov dword [esp + 0x58], eax
call fcn.100c1760
add esp, 0x14
jmp 0x101011a1
mov eax, ecx
call fcn.100dd000
mov esi, eax
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
mov dword [ebx + 0x48], ecx
movzx edx, word [esi + 0x32]
push 0
push edx
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
push 0x69
push eax
call fcn.100c1760
add esp, 0x14
mov ecx, esi
mov eax, ebx
call fcn.100c21b0
add dword [ebx + 0x4c], 1
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
push 0
push edx
push 0
push 0x4a
push edi
call fcn.100c1760
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0xc]
add esp, 0x14
cmp eax, 1
jle 0x10101271
test eax, eax
mov dword [esp + 0x70], 0
jle 0x10101271
mov edx, dword [esp + 0x34]
xor esi, esi
mov ecx, dword [edx + 0x14]
mov eax, dword [ecx + esi]
add ecx, esi
cmp ecx, dword [esp + 0x20]
je 0x1010123c
test byte [eax + 4], 1
jne 0x1010123c
mov ecx, dword [edx + 0x14]
add ecx, esi
test byte [ecx + 0x14], 6
jne 0x1010123c
test word [ecx + 0x12], 0x1fff
je 0x1010123c
mov edx, dword [esp + 0x28]
xor ecx, ecx
call fcn.100d46e0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
push edx
call fcn.100d3e70
mov edx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
add eax, 1
add esi, 0x30
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x70], eax
jl 0x101011f1
cmp dword [esp + 0x3c], 0
je 0x10101271
mov eax, dword [esp + 0x3c]
push 0
push 0
mov ecx, 0x11c
mov edx, ebx
call fcn.100d3d40
add esp, 8
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x24]
mov eax, dword [esp + 0x6c]
and cx, 0x80f0
or cx, 0xf0
movzx edx, cx
mov dword [esp + 0x64], edx
xor edx, edx
cmp dword [eax + 0xc], edx
mov dword [esp + 0x2c], edx
jle 0x10101576
mov esi, dword [esp + 0x40]
mov dword [esp + 0x60], edx
jmp 0x101012a8
xor edx, edx
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x1c]
je 0x101012c4
test word [eax + 0x12], 0x400
je 0x10101559
mov ecx, dword [esp + 0x3c]
cmp ecx, edx
mov eax, dword [eax]
mov dword [esp + 0x68], edx
je 0x101012dd
test byte [eax + 4], 1
jne 0x101012dd
mov dword [ecx + 0xc], eax
mov eax, ecx
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
push edx
push ecx
push 0
push 0
push eax
push esi
push ebx
call fcn.10108440
add esp, 0x1c
test eax, eax
mov dword [esp + 0x84], eax
je 0x10101559
mov edx, dword [esp + 0x18]
movzx ecx, byte [edx + 0x2c]
mov edx, dword [ebp + 0xc]
push 0
push ecx
push edx
lea edx, [eax + 0x2e0]
push esi
mov ecx, ebx
call fcn.100ff7f0
mov eax, dword [ebp + 8]
add esp, 0x10
test byte [eax + 0x24], 8
jne 0x1010148c
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0xc]
mov esi, dword [esp + 0x2c]
sub edx, 1
cmp esi, edx
jne 0x10101347
or esi, 0xffffffff
mov eax, dword [esp + 0x48]
test byte [eax + 0x2a], 0x20
mov dword [esp + 0x38], esi
jne 0x1010138c
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push edx
push 0xffffffffffffffff
push eax
mov eax, ebx
call fcn.100d66b0
mov edx, dword [esp + 0x58]
add esp, 0x14
push esi
mov esi, dword [esp + 0x18]
push 0x3d
xor ecx, ecx
call fcn.100c1a30
add esp, 8
mov dword [esp + 0x68], eax
jmp 0x1010148c
call fcn.100dd000
movzx esi, word [eax + 0x32]
mov ecx, ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x54], esi
call fcn.100d88e0
xor edi, edi
test esi, esi
mov dword [esp + 0x30], eax
jle 0x101013f5
mov esi, eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + edi*2]
mov edx, dword [esp + 0x1c]
push 0
push esi
push edx
push eax
mov eax, dword [esp + 0x58]
push eax
mov eax, ebx
call fcn.100d66b0
add esp, 0x14
cmp eax, esi
je 0x101013e9
mov ecx, dword [ebx + 8]
push 0
push esi
push eax
push 0x53
push ecx
call fcn.100c1760
add esp, 0x14
add edi, 1
add esi, 1
cmp edi, dword [esp + 0x54]
jl 0x101013b0
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0x14]
je 0x10101424
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x48]
push 0x1f
xor ecx, ecx
call fcn.100c1a30
add esp, 8
cmp dword [esp + 0x38], 0
mov dword [esp + 0x68], eax
jl 0x1010146e
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
push edi
push eax
push ecx
push 0x60
push esi
call fcn.100c1760
mov edx, dword [esp + 0x58]
add esp, 0x14
push 0
push edi
push edx
push 0x7c
push esi
call fcn.100c1760
add esp, 0x14
cmp dword [esp + 0x38], 0
je 0x1010146e
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x1010146e
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov byte [edx + ecx*4 - 0x11], 0x10
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x30]
push esi
mov eax, ebx
call fcn.100d6560
add esp, 4
cmp esi, dword [ebx + 0x3c]
jle 0x1010148c
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x40], edi
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
push 0
push eax
push ecx
push 0xe
push esi
call fcn.100c1760
mov eax, dword [esp + 0x7c]
add esp, 0x14
test eax, eax
je 0x101014e0
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
sub edx, 1
test eax, eax
mov dword [ecx + 0x60], edx
mov ecx, dword [esi + 0x20]
jge 0x101014c5
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x101014d4
mov eax, 0x101795e8
jmp 0x101014dd
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x84]
cmp byte [eax + 0x29], 0
je 0x101014f8
mov dword [esp + 0x80], 1
mov esi, dword [eax + 0x320]
test dword [esi + 0x24], 0x200
je 0x10101540
cmp dword [esp + 0x2c], 0
je 0x10101517
mov ecx, dword [esp + 0x24]
cmp dword [esi + 0x1c], ecx
jne 0x10101540
mov edx, dword [esp + 0x48]
test byte [edx + 0x2a], 0x20
je 0x1010152f
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx + 0x38]
and dl, 3
cmp dl, 2
je 0x10101540
mov ecx, dword [esi + 0x1c]
or dword [esp + 0x64], 0x1000
mov dword [esp + 0x24], ecx
jmp 0x10101548
mov dword [esp + 0x24], 0
push eax
call fcn.10108da0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x6c]
add dword [esp + 0x60], 0x30
add ecx, 1
cmp ecx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
jl 0x101012a6
mov eax, dword [esp + 0x24]
test eax, eax
mov esi, dword [esp + 0x18]
mov dword [esi + 0x38], eax
je 0x1010158c
mov edx, dword [esp + 0x74]
mov dword [esi + 8], edx
cmp dword [esp + 0x3c], 0
je 0x101015ac
mov eax, dword [esp + 0x3c]
push eax
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x2c]
push eax
call fcn.100d4200
add esp, 8
mov eax, dword [esp + 0x78]
test eax, eax
mov ecx, dword [edi + 0x20]
jge 0x101015ba
lea eax, [ecx - 1]
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x101015c9
mov eax, 0x101795e8
jmp 0x101015d2
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
push 0
mov dword [eax + 4], ecx
mov eax, dword [esi + 0xc]
push eax
push 0
push 0xd
push edi
call fcn.100c1760
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
add esp, 0x14
test eax, eax
je 0x10101604
mov edx, dword [esp + 0x7c]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [edi + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x20]
sub eax, 1
mov dword [ecx + 0x60], eax
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x2b], 1
jbe 0x10101623
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
call fcn.100a40e0
cmp dword [esp + 0x80], 0
jne 0x101006e3
mov eax, dword [esp + 0x20]
mov edi, esi
call fcn.100ffaf0
jmp 0x101006df
test byte [esp + 0x84], 0x20
je 0x10101654
mov byte [esi + 0x2d], 0x9f
jmp 0x101006e3
mov eax, dword [esp + 0x20]
mov dl, byte [eax + 0x1014f584]
mov ecx, dword [esp + 0x1c]
mov byte [esi + 0x2d], dl
mov edx, dword [esp + 0x4c]
push 0
push edx
mov dword [esi + 0x30], ecx
movzx eax, byte [eax + 0x1014f588]
push ecx
push eax
push edi
call fcn.100c1760
add esp, 0x14
add eax, 1
mov dword [esi + 0x34], eax
mov byte [esi + 0x2f], 1
jmp 0x101006e3
cmp dword [edx], 0
mov eax, dword [ecx]
mov dword [esp + 0x84], eax
je 0x101016a8
test byte [eax + 4], 1
je 0x10101773
movzx ecx, word [ecx + 0x14]
test ecx, 0x200
je 0x1010171c
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x24]
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
mov esi, eax
and al, 1
shr esi, 1
neg al
sbb eax, eax
neg eax
add eax, 0x15
cmp dword [ecx + 0x58], edx
jg 0x101016e7
push 0
push 0
push esi
push eax
mov eax, edi
call fcn.100c1720
add esp, 0x10
jmp 0x10101713
lea ecx, [edx + 1]
mov dword [edi + 0x20], ecx
mov edi, dword [edi + 4]
lea ecx, [edx + edx*4]
lea ecx, [edi + ecx*4]
mov edi, dword [esp + 0x14]
mov byte [ecx], al
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], al
mov byte [ecx + 3], 0
mov dword [ecx + 4], esi
mov eax, edx
mov esi, eax
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x58]
push 0x10
push edx
push eax
push ebx
call fcn.100d7e70
add esp, 0x10
test esi, esi
je 0x10101764
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
sub eax, 1
test esi, esi
mov dword [ecx + 0x60], eax
mov ecx, dword [edi + 0x20]
mov eax, esi
jge 0x10101749
lea eax, [ecx - 1]
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x10101758
mov eax, 0x101795e8
jmp 0x10101761
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x20]
or word [eax + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x24]
sub eax, 1
add ecx, 0x30
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jg 0x10100701
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jle 0x10101969
jmp 0x101017b0
test byte [esi + 0x14], 6
jne 0x1010194f
movzx eax, word [esi + 0x12]
test al, 0x82
je 0x1010194f
test eax, 0x800
je 0x1010194f
mov eax, dword [esp + 0x1c]
cmp dword [esi + 8], eax
jne 0x1010194f
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 0
jne 0x1010194f
mov edx, dword [esi]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push 0
push 0x83
push eax
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0x48]
call fcn.10103e10
add esp, 0x14
test eax, eax
mov dword [esp + 0x7c], eax
je 0x1010194f
test byte [eax + 0x14], 4
jne 0x1010194f
cmp dword [esp + 0x28], 0
je 0x1010184a
mov eax, dword [esp + 0x28]
push 0
push 0x30
call fcn.100a43c0
add esp, 8
mov dword [esp + 0x4c], eax
jmp 0x101018a5
cmp dword [0x10177158], 0
je 0x10101900
mov eax, dword [0x1018dac0]
test eax, eax
je 0x1010186a
push eax
call dword [0x101771b0]
add esp, 4
lea ebx, [esp + 0x80]
mov eax, 0x30
call fcn.100a3c70
mov eax, dword [0x1018dac0]
test eax, eax
je 0x1010188e
push eax
call dword [0x101771b8]
add esp, 4
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x4c], 0
je 0x1010194f
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x7c]
mov esi, dword [edx]
mov edi, eax
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x58]
push 0x10
push ecx
push eax
push ebx
mov dword [eax + 0xc], edx
call fcn.100d7e70
mov eax, dword [esp + 0x5c]
add esp, 0x10
cmp dword [esp + 0x28], 0
je 0x1010193e
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x1c8], 0
je 0x10101917
call fcn.100a40a0
jmp 0x10101947
push 0x30
call dword [0x10177180]
add esp, 4
mov dword [esp + 0x80], eax
jmp 0x10101892
cmp eax, dword [ecx + 0x120]
jb 0x1010193e
cmp eax, dword [ecx + 0x124]
jae 0x1010193e
mov edx, dword [ecx + 0x11c]
mov dword [eax], edx
add dword [ecx + 0x108], 0xffffffff
mov dword [ecx + 0x11c], eax
jmp 0x10101947
push eax
call fcn.100a4030
add esp, 4
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
sub eax, 1
add esi, 0x30
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
jg 0x101017b0
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
je 0x10101a23
mov ecx, dword [edi + 0x20]
mov dword [eax + 0x1c], ecx
mov ecx, dword [eax]
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x1010199c
push 0
push ecx
push 1
push 0x4a
mov eax, edi
call fcn.100c1720
add esp, 0x10
jmp 0x101019c7
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x4a
mov byte [eax + 3], 0
mov dword [eax + 4], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, ebx
call fcn.100d6770
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 0x14]
xor edi, edi
mov ecx, eax
cmp dword [ecx + 0xc], edi
jle 0x10101a23
mov edx, dword [esp + 0x18]
test byte [esi + 0x14], 6
jne 0x10101a14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [edx + 0x48]
and ecx, dword [edx + 0x4c]
or eax, ecx
jne 0x10101a14
mov edx, dword [esp + 0x58]
mov eax, dword [esi]
push 0x10
push edx
push eax
push ebx
call fcn.100d7e70
mov edx, dword [esp + 0x28]
add esp, 0x10
or word [esi + 0x14], 4
mov ecx, dword [esp + 0x34]
add edi, 1
add esi, 0x30
cmp edi, dword [ecx + 0xc]
jl 0x101019e2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret