Function at 0x10100000
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 0x1010008f
add eax, 0x48
mov ecx, dword [esp + 0x1c]
cmp dword [eax], ecx
je 0x1010017c
add dword [esp + 0x4c], 1
add eax, 4
cmp dword [esp + 0x4c], edx
jl 0x10100075
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.1013a270
mov edx, dword [esp + 0x2c]
and eax, 1
test byte [edx + 0x24], 0x40
mov dword [esp + 0x20], eax
je 0x101000d6
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 0x20
mov dword [esp + 0x70], 1
je 0x101000de
mov dword [esp + 0x70], 0
mov eax, edi
call fcn.100c18c0
mov dword [esp + 0x4c], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov eax, edi
call fcn.100c18c0
cmp byte [esi + 0x2c], 0
mov dword [esp + 0x58], eax
mov dword [esi + 0x18], eax
jbe 0x10100126
mov ecx, dword [esp + 0x54]
test byte [ecx + 0x24], 8
je 0x10100126
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.100c1540
add esp, 0x14
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x28]
test al, 0x10
mov dword [esp + 0x84], eax
je 0x10100191
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.100c1540
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.100c1540
add esp, 0x14
mov dword [esi + 0x34], eax
mov byte [esi + 0x2d], 0xd
jmp 0x101004c3
mov ecx, dword [esp + 0x4c]
mov eax, 1
xor edx, edx
call fcn.10139f80
jmp 0x10100093
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x24]
test edx, 0x400
je 0x10100513
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 0x101001d4
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 0x101001e6
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 0x10100261
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 0x1010024b
test byte [eax + 0x12], 1
mov ecx, dword [esp + 0x54]
push ecx
je 0x10100238
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push edx
push ecx
push eax
push ebx
mov eax, esi
call fcn.100ff9e0
mov edx, dword [esi + 0x10]
add esp, 0x14
mov dword [esp + 0x6c], edx
jmp 0x10100247
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
push eax
push ebx
call fcn.100d7600
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 0x10100204
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.100c1540
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.100c1540
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.100c1540
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
add esp, 0x14
push ecx
push edx
push eax
push edi
call fcn.100c1f00
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 0x101004b8
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 0x1010035f
mov dx, word [edx + 0x1e]
shr dx, cl
test dl, 1
je 0x1010035f
mov edi, esi
call fcn.100ff8d0
jmp 0x101004a9
test byte [eax + 0x12], 1
je 0x101004ad
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x45], 0
jne 0x101003c0
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 0x1010038f
mov eax, dword [edi + 0x20]
sub eax, 1
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x1010039e
mov eax, 0x101725d8
jmp 0x101003a7
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.100c1540
add esp, 0x14
mov eax, dword [ebx]
push 0
push 0x30
call fcn.100a41a0
add esp, 8
test eax, eax
mov dword [esp + 0x68], eax
je 0x101004ad
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.100d3890
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x68]
cmp dword [edi + 0x18], eax
jle 0x1010041a
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
mov esi, ebx
call fcn.100a6920
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.100a41a0
mov esi, eax
add esp, 8
test esi, esi
je 0x10100462
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 0x1010048c
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.100d7c50
add esp, 0x10
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov dword [eax + 0xc], 0
call fcn.100d3fe0
mov esi, dword [esp + 0x20]
add esp, 8
mov edi, dword [esp + 0x14]
sub dword [esp + 0x24], 1
jns 0x10100330
mov eax, ebx
call fcn.100d63a0
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 0x1010156d
mov edx, dword [esp + 0x18]
movzx eax, word [ecx + 0x14]
xor esi, esi
test al, 6
jne 0x10101553
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 0x10101470
mov eax, dword [ebp + 8]
mov byte [eax + 0x29], 1
jmp 0x10101553
mov eax, edx
and eax, 0x100
je 0x101005c1
test dl, 5
je 0x101005c1
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.100ff9e0
mov edi, eax
add esp, 0x14
cmp edi, dword [esp + 0x4c]
je 0x10100566
mov esi, dword [esp + 0x4c]
mov edx, ebx
call fcn.100d8680
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.100c1540
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.100c1540
add esp, 0x14
push 1
mov eax, ebx
call fcn.100d6340
mov eax, dword [esp + 0x20]
add esp, 4
push edi
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.100d6200
add esp, 0xc
mov byte [esi + 0x2d], 0x9f
jmp 0x101004bf
test eax, eax
je 0x101007b8
test dl, 2
je 0x101007b8
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 0x10100602
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 0x10100616
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 0x1010062b
mov ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
test eax, eax
je 0x101006b4
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.100d74e0
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.100c1540
add esp, 0x14
push 1
mov eax, ebx
call fcn.100d6340
mov esi, dword [esp + 0x84]
add esp, 4
mov edx, ebx
call fcn.100d8680
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
call fcn.100ff8d0
mov esi, edi
mov edi, dword [esp + 0x14]
jmp 0x101006d8
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.100c1540
add esp, 0x14
cmp dword [esp + 0x48], 0
je 0x1010073b
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.100d7600
mov al, byte [edi]
add esp, 0xc
cmp al, 0x28
je 0x1010071b
cmp al, 0x26
je 0x1010071b
xor edx, edx
cmp dword [esp + 0x20], edx
setne dl
lea edx, [edx + edx + 0x26]
mov dword [esp + 0x40], edx
jmp 0x1010072c
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.100ff8d0
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 0x101004bf
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.100c1540
mov ecx, dword [esp + 0x30]
add esp, 0x14
push esi
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call fcn.100d6200
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.100c1540
add esp, 0x14
push 0x53
mov ecx, edi
call fcn.100c1be0
add esp, 4
jmp 0x101004bf
test edx, 0x200
je 0x10100dd0
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 0x1010081a
cmp byte [eax + 0x26], 0
jle 0x1010081a
mov eax, dword [esp + 0x44]
cmp word [eax + 0x32], dx
jbe 0x1010081a
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 0x10100844
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 0x101008d6
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 0x101008ab
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.100c1540
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 0x101008d6
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 4]
movsx eax, word [eax + edx*2]
test eax, eax
jl 0x101008d6
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
shl eax, 4
cmp byte [ecx + eax + 0xc], 0
jne 0x101008d6
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 0x10100908
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 0x10100916
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x20], 0
je 0x10100933
cmp ax, word [esp + 0x24]
jne 0x10100933
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.100ffbd0
add esp, 0x14
cmp dword [esp + 0x54], 0
mov dword [esp + 0x40], eax
je 0x10100966
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 0x10100984
test byte [eax + 0x12], dl
mov dword [esp + 0x60], 0
je 0x1010098c
mov dword [esp + 0x60], 1
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x101009a1
test byte [ecx + 0x12], dl
mov dword [esp + 0x68], 0
je 0x101009a9
mov dword [esp + 0x68], 1
test eax, eax
jne 0x101009b8
cmp word [esp + 0x24], ax
mov dword [esp + 0x64], eax
jbe 0x101009c0
mov dword [esp + 0x64], 1
test eax, eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
je 0x10100a77
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.100d7600
mov eax, dword [esp + 0x44]
add esp, 0xc
test word [eax + 0x14], 0x100
je 0x10100a0a
mov edx, esi
mov ecx, edi
call fcn.100ffeb0
mov eax, dword [esp + 0x5c]
call fcn.100d4fb0
test eax, eax
je 0x10100a31
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x80]
push 0
push ecx
push edx
push 0x22
push edi
call fcn.100c1540
add esp, 0x14
mov edi, dword [esp + 0x54]
test edi, edi
je 0x10100a68
mov esi, dword [esp + 0x30]
mov bl, byte [esi + edi]
mov eax, dword [esp + 0x5c]
call fcn.100d35c0
cmp al, 0x41
jne 0x10100a50
mov byte [esi + edi], al
mov dl, byte [esi + edi]
mov ecx, dword [esp + 0x5c]
call fcn.100d5060
test eax, eax
mov ebx, dword [esp + 0x50]
je 0x10100a68
mov byte [esi + edi], 0x41
add dword [esp + 0x24], 1
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x10100aab
cmp byte [esp + 0x11], 0
je 0x10100aab
mov eax, ecx
mov ecx, dword [esp + 0x40]
push 0
add eax, ecx
push eax
push 0
push 0x4d
push edi
call fcn.100c1540
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.100ff950
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x2a]
add esp, 4
test ax, ax
jbe 0x10100add
movzx ecx, ax
cmp dword [esp + 0x24], ecx
je 0x10100b1a
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 + 0x10149248]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.100c1810
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 0x10100be1
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.100d6340
mov edx, dword [esp + 0x70]
add esp, 4
push edi
push edx
push ebx
call fcn.100d7600
mov eax, dword [esp + 0x48]
add esp, 0xc
test word [eax + 0x14], 0x100
je 0x10100b77
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.100ffeb0
mov esi, dword [esp + 0x6c]
mov eax, esi
call fcn.100d4fb0
test eax, eax
je 0x10100b9d
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edi
push 0x22
push edx
call fcn.100c1540
add esp, 0x14
mov bl, byte [esp + 0x12]
mov eax, esi
call fcn.100d35c0
cmp al, 0x41
je 0x10100bd3
mov dl, byte [esp + 0x12]
mov ecx, esi
call fcn.100d5060
test eax, eax
jne 0x10100bd3
mov eax, dword [esp + 0x50]
push eax
lea eax, [esp + 0x16]
mov ecx, 1
mov edx, edi
call fcn.100ff950
add esp, 4
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x10100c08
cmp byte [esp + 0x13], 0
je 0x10100c0d
mov ecx, edx
mov edx, dword [esp + 0x40]
push 0
add ecx, edx
push ecx
push 0
push 0x4d
push edi
call fcn.100c1540
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.100a3ec0
cmp dword [esp + 0x24], 0
mov eax, dword [edi + 0x20]
mov dword [esi + 0x34], eax
je 0x10100c59
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.100c1810
mov esi, dword [esp + 0x20]
add esp, 8
mov eax, dword [esp + 0x38]
mov edi, esi
call fcn.100ff8d0
mov eax, dword [esp + 0x3c]
call fcn.100ff8d0
cmp dword [esp + 0x70], 0
jne 0x10100d8c
mov edi, dword [esp + 0x44]
mov eax, dword [edi + 0xc]
test byte [eax + 0x2a], 0x20
jne 0x10100cf0
mov eax, dword [ebp + 8]
test word [eax + 0x24], 0x8000
mov edx, dword [esp + 0x48]
je 0x10100cdc
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.100c1540
mov ecx, dword [esp + 0x30]
add esp, 0x14
push edi
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call fcn.100d6200
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.100c1540
add esp, 0x14
jmp 0x10100d8c
mov ecx, dword [esp + 0x1c]
push eax
mov eax, edi
call fcn.100fff00
add esp, 4
jmp 0x10100d8c
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x48]
je 0x10100d8c
call fcn.100dcde0
movzx esi, word [eax + 0x32]
mov ecx, ebx
mov dword [esp + 0x54], eax
call fcn.100d86c0
mov edx, dword [esp + 0x54]
xor edi, edi
cmp word [edx + 0x32], di
mov dword [esp + 0x70], eax
jbe 0x10100d65
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.100dce00
mov edx, dword [esp + 0x4c]
movsx ecx, ax
mov eax, dword [esp + 0x18]
push ecx
push edx
push 0x5e
push eax
call fcn.100c1540
mov ecx, dword [esp + 0x68]
movzx edx, word [ecx + 0x32]
add edi, 1
add esp, 0x14
cmp edi, edx
jl 0x10100d22
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.100c1810
mov esi, dword [esp + 0x20]
add esp, 8
mov eax, dword [esp + 0x2c]
test dword [eax + 0x24], 0x1000
je 0x10100d9f
mov byte [esi + 0x2d], 0x9f
jmp 0x10100dad
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 0x101004bf
mov byte [esi + 0x2f], 1
jmp 0x101004bf
test edx, 0x2000
je 0x10101421
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.100c18c0
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 0x10100f10
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.100a4170
add esp, 8
test eax, eax
mov dword [esp + 0x40], eax
jne 0x10100e8c
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 0x10100f17
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 0x10100ee0
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 0x10100ee0
jmp 0x10100f17
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], edx
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 8
jne 0x10100f8c
mov ecx, dword [esp + 0x48]
test byte [ecx + 0x2a], 0x20
jne 0x10100f4b
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.100c1540
add esp, 0x14
jmp 0x10100f81
mov eax, ecx
call fcn.100dcde0
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.100c1540
add esp, 0x14
mov ecx, esi
mov eax, ebx
call fcn.100c1f90
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.100c1540
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0xc]
add esp, 0x14
cmp eax, 1
jle 0x10101051
test eax, eax
mov dword [esp + 0x70], 0
jle 0x10101051
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 0x1010101c
test byte [eax + 4], 1
jne 0x1010101c
mov ecx, dword [edx + 0x14]
add ecx, esi
test byte [ecx + 0x14], 6
jne 0x1010101c
test word [ecx + 0x12], 0x1fff
je 0x1010101c
mov edx, dword [esp + 0x28]
xor ecx, ecx
call fcn.100d44c0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
push edx
call fcn.100d3c50
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 0x10100fd1
cmp dword [esp + 0x3c], 0
je 0x10101051
mov eax, dword [esp + 0x3c]
push 0
push 0
mov ecx, 0x11c
mov edx, ebx
call fcn.100d3b20
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 0x10101356
mov esi, dword [esp + 0x40]
mov dword [esp + 0x60], edx
jmp 0x10101088
xor edx, edx
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x1c]
je 0x101010a4
test word [eax + 0x12], 0x400
je 0x10101339
mov ecx, dword [esp + 0x3c]
cmp ecx, edx
mov eax, dword [eax]
mov dword [esp + 0x68], edx
je 0x101010bd
test byte [eax + 4], 1
jne 0x101010bd
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.10108220
add esp, 0x1c
test eax, eax
mov dword [esp + 0x84], eax
je 0x10101339
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.100ff5d0
mov eax, dword [ebp + 8]
add esp, 0x10
test byte [eax + 0x24], 8
jne 0x1010126c
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0xc]
mov esi, dword [esp + 0x2c]
sub edx, 1
cmp esi, edx
jne 0x10101127
or esi, 0xffffffff
mov eax, dword [esp + 0x48]
test byte [eax + 0x2a], 0x20
mov dword [esp + 0x38], esi
jne 0x1010116c
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.100d6490
mov edx, dword [esp + 0x58]
add esp, 0x14
push esi
mov esi, dword [esp + 0x18]
push 0x3d
xor ecx, ecx
call fcn.100c1810
add esp, 8
mov dword [esp + 0x68], eax
jmp 0x1010126c
call fcn.100dcde0
movzx esi, word [eax + 0x32]
mov ecx, ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x54], esi
call fcn.100d86c0
xor edi, edi
test esi, esi
mov dword [esp + 0x30], eax
jle 0x101011d5
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.100d6490
add esp, 0x14
cmp eax, esi
je 0x101011c9
mov ecx, dword [ebx + 8]
push 0
push esi
push eax
push 0x53
push ecx
call fcn.100c1540
add esp, 0x14
add edi, 1
add esi, 1
cmp edi, dword [esp + 0x54]
jl 0x10101190
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0x14]
je 0x10101204
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x48]
push 0x1f
xor ecx, ecx
call fcn.100c1810
add esp, 8
cmp dword [esp + 0x38], 0
mov dword [esp + 0x68], eax
jl 0x1010124e
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.100c1540
mov edx, dword [esp + 0x58]
add esp, 0x14
push 0
push edi
push edx
push 0x7c
push esi
call fcn.100c1540
add esp, 0x14
cmp dword [esp + 0x38], 0
je 0x1010124e
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x1010124e
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.100d6340
add esp, 4
cmp esi, dword [ebx + 0x3c]
jle 0x1010126c
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.100c1540
mov eax, dword [esp + 0x7c]
add esp, 0x14
test eax, eax
je 0x101012c0
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 0x101012a5
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x101012b4
mov eax, 0x101725d8
jmp 0x101012bd
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 0x101012d8
mov dword [esp + 0x80], 1
mov esi, dword [eax + 0x320]
test dword [esi + 0x24], 0x200
je 0x10101320
cmp dword [esp + 0x2c], 0
je 0x101012f7
mov ecx, dword [esp + 0x24]
cmp dword [esi + 0x1c], ecx
jne 0x10101320
mov edx, dword [esp + 0x48]
test byte [edx + 0x2a], 0x20
je 0x1010130f
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx + 0x38]
and dl, 3
cmp dl, 2
je 0x10101320
mov ecx, dword [esi + 0x1c]
or dword [esp + 0x64], 0x1000
mov dword [esp + 0x24], ecx
jmp 0x10101328
mov dword [esp + 0x24], 0
push eax
call fcn.10108b80
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 0x10101086
mov eax, dword [esp + 0x24]
test eax, eax
mov esi, dword [esp + 0x18]
mov dword [esi + 0x38], eax
je 0x1010136c
mov edx, dword [esp + 0x74]
mov dword [esi + 8], edx
cmp dword [esp + 0x3c], 0
je 0x1010138c
mov eax, dword [esp + 0x3c]
push eax
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x2c]
push eax
call fcn.100d3fe0
add esp, 8
mov eax, dword [esp + 0x78]
test eax, eax
mov ecx, dword [edi + 0x20]
jge 0x1010139a
lea eax, [ecx - 1]
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x101013a9
mov eax, 0x101725d8
jmp 0x101013b2
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.100c1540
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
add esp, 0x14
test eax, eax
je 0x101013e4
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 0x10101403
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
call fcn.100a3ec0
cmp dword [esp + 0x80], 0
jne 0x101004c3
mov eax, dword [esp + 0x20]
mov edi, esi
call fcn.100ff8d0
jmp 0x101004bf
test byte [esp + 0x84], 0x20
je 0x10101434
mov byte [esi + 0x2d], 0x9f
jmp 0x101004c3
mov eax, dword [esp + 0x20]
mov dl, byte [eax + 0x10149254]
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 + 0x10149258]
push ecx
push eax
push edi
call fcn.100c1540
add esp, 0x14
add eax, 1
mov dword [esi + 0x34], eax
mov byte [esi + 0x2f], 1
jmp 0x101004c3
cmp dword [edx], 0
mov eax, dword [ecx]
mov dword [esp + 0x84], eax
je 0x10101488
test byte [eax + 4], 1
je 0x10101553
movzx ecx, word [ecx + 0x14]
test ecx, 0x200
je 0x101014fc
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 0x101014c7
push 0
push 0
push esi
push eax
mov eax, edi
call fcn.100c1500
add esp, 0x10
jmp 0x101014f3
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.100d7c50
add esp, 0x10
test esi, esi
je 0x10101544
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 0x10101529
lea eax, [ecx - 1]
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x10101538
mov eax, 0x101725d8
jmp 0x10101541
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 0x101004e1
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 0x10101749
jmp 0x10101590
test byte [esi + 0x14], 6
jne 0x1010172f
movzx eax, word [esi + 0x12]
test al, 0x82
je 0x1010172f
test eax, 0x800
je 0x1010172f
mov eax, dword [esp + 0x1c]
cmp dword [esi + 8], eax
jne 0x1010172f
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 0
jne 0x1010172f
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.10103bf0
add esp, 0x14
test eax, eax
mov dword [esp + 0x7c], eax
je 0x1010172f
test byte [eax + 0x14], 4
jne 0x1010172f
cmp dword [esp + 0x28], 0
je 0x1010162a
mov eax, dword [esp + 0x28]
push 0
push 0x30
call fcn.100a41a0
add esp, 8
mov dword [esp + 0x4c], eax
jmp 0x10101685
cmp dword [0x10170158], 0
je 0x101016e0
mov eax, dword [0x10186ab0]
test eax, eax
je 0x1010164a
push eax
call dword [0x101701b0]
add esp, 4
lea ebx, [esp + 0x80]
mov eax, 0x30
call fcn.100a3a50
mov eax, dword [0x10186ab0]
test eax, eax
je 0x1010166e
push eax
call dword [0x101701b8]
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 0x1010172f
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.100d7c50
mov eax, dword [esp + 0x5c]
add esp, 0x10
cmp dword [esp + 0x28], 0
je 0x1010171e
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x1c8], 0
je 0x101016f7
call fcn.100a3e80
jmp 0x10101727
push 0x30
call dword [0x10170180]
add esp, 4
mov dword [esp + 0x80], eax
jmp 0x10101672
cmp eax, dword [ecx + 0x120]
jb 0x1010171e
cmp eax, dword [ecx + 0x124]
jae 0x1010171e
mov edx, dword [ecx + 0x11c]
mov dword [eax], edx
add dword [ecx + 0x108], 0xffffffff
mov dword [ecx + 0x11c], eax
jmp 0x10101727
push eax
call fcn.100a3e10
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 0x10101590
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
je 0x10101803
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 0x1010177c
push 0
push ecx
push 1
push 0x4a
mov eax, edi
call fcn.100c1500
add esp, 0x10
jmp 0x101017a7
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.100d6550
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 0x14]
xor edi, edi
mov ecx, eax
cmp dword [ecx + 0xc], edi
jle 0x10101803
mov edx, dword [esp + 0x18]
test byte [esi + 0x14], 6
jne 0x101017f4
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [edx + 0x48]
and ecx, dword [edx + 0x4c]
or eax, ecx
jne 0x101017f4
mov edx, dword [esp + 0x58]
mov eax, dword [esi]
push 0x10
push edx
push eax
push ebx
call fcn.100d7c50
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 0x101017c2
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