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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x38]
push ebx
mov ebx, dword [ecx + 8]
dec eax
push esi
mov esi, edx
mov dword [esp + 0x20], eax
dec eax
mov dword [esp + 0xc], ecx
mov dword [ecx + 0x38], eax
push edi
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x3c], eax
movzx eax, byte [esi]
mov edx, dword [edi]
mov dword [esp + 0x14], esi
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
cmp eax, 0x85
je 0x1007b11b
mov eax, dword [esp + 0x38]
mov esi, 1
cmp byte [eax + 0x51], 0
jne 0x1007b117
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
lea esp, [esp]
mov eax, dword [eax + 0x1c]
cmp esi, dword [eax]
jg 0x1007b117
xor ecx, ecx
test edx, edx
jle 0x1007b08f
mov ebx, dword [esp + 0x34]
lea edx, [edi + 0x14]
movzx eax, word [edx]
cmp eax, esi
je 0x1007b087
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x1007b078
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
cmp ecx, edx
jne 0x1007b104
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x54]
push 0
push eax
mov edx, 0x98
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.1004f150
add esp, 8
test eax, eax
je 0x1007b17c
mov ecx, dword [esp + 0x10]
mov edx, edi
or dword [eax + 4], 0x400
push eax
mov dword [eax + 8], esi
call fcn.10050440
mov edx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 0x30], edi
test edi, edi
je 0x1007b108
mov ecx, dword [esp + 0x40]
inc edx
mov dword [esp + 0x34], edx
mov word [ecx + edi + 0x14], si
add ecx, 0x14
mov dword [esp + 0x40], ecx
jmp 0x1007b108
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc esi
cmp byte [ecx + 0x51], 0
je 0x1007b060
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.10019540
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
je 0x1007b188
mov esi, dword [esp + 0x34]
mov ecx, 1
mov dword [eax], esi
cmp esi, ecx
jl 0x1007b163
lea edx, [edi + 0x14]
mov ebx, eax
lea ecx, [ecx]
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, esi
jle 0x1007b150
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x14]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.100799f0
add esp, 4
mov dword [esp + 0x40], eax
jmp 0x1007b190
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x10]
mov edx, edi
mov dword [esi + 0x30], edi
push 0
mov ecx, dword [eax]
call fcn.1004fd70
mov ecx, dword [esp + 0x34]
add esp, 4
mov edi, dword [esp + 0x28]
mov dword [ecx + 0x30], eax
cmp edi, 0x85
jne 0x1007b1c5
mov dword [esp + 0x2c], 0
jmp 0x1007b2c2
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x10]
mov edi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x54], edi
lea edx, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x2c], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007b200
push 0
push edx
push 0
mov edx, 0x45
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
jmp 0x1007b233
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x45
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 ecx, dword [esp + 0x38]
mov edx, edi
push 1
call fcn.100782f0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x1007b2be
xor esi, esi
test edi, edi
jle 0x1007b2ba
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0xc], ecx
mov edi, edi
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x1007b27e
mov ecx, dword [esp + 0x10]
push esi
call fcn.100799a0
mov ecx, dword [esp + 0x10]
add esp, 4
test eax, eax
jne 0x1007b298
jmp 0x1007b280
xor eax, eax
mov edx, dword [ebx + 0x1c]
cmp esi, dword [edx]
jge 0x1007b298
mov edx, dword [edx + edi + 4]
mov ecx, dword [esp + 0x10]
call fcn.1004e730
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
add edi, 0x14
mov eax, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x54]
jl 0x1007b260
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov edx, esi
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x34], 0
push 0x100cc124
mov dword [eax + 0x38], 0
push dword [esi + 0x30]
call fcn.1004db60
mov eax, dword [esp + 0x38]
add esp, 8
cmp dword [eax + 0x34], 0
jne 0x1007b30a
mov ecx, dword [esp + 0x10]
mov edx, eax
push str.ORDER
push dword [eax + 0x30]
call fcn.1004db60
add esp, 8
push dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.10079860
add esp, 4
cmp dword [esi + 8], 0
je 0x1007b3ee
cmp edi, 0x85
jne 0x1007b3ee
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0x2c]
inc edi
lea eax, [edi + 1]
mov dword [ecx + 0x2c], eax
mov edx, dword [esi + 0xc]
mov dword [esp + 0xc], eax
test edx, edx
je 0x1007b34e
inc edx
jmp 0x1007b351
mov edx, dword [esi + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007b36e
push 0
push edi
push edx
mov edx, 0x4d
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
jmp 0x1007b39d
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007b3bd
push 0
push dword [esp + 0x10]
mov edx, 0x4d
mov ecx, ebx
push edi
call fcn.10039e80
add esp, 0xc
jmp 0x1007b3f8
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1007b3f8
mov dword [esp + 0xc], 0
xor edi, edi
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x1007b408
mov ecx, dword [esp + 0x38]
call fcn.1004f6f0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x3c], 0
mov byte [esp + 0x78], 0xd
mov dword [esp + 0x88], 0
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], 0
lea eax, [edx + 1]
mov dword [esp + 0x84], 0
mov dword [esp + 0x1c], eax
add eax, 2
mov dword [esp + 0x4c], eax
mov dword [ecx + 0x2c], eax
lea eax, [edx + 1]
mov dword [esp + 0x64], eax
movzx eax, byte [esi]
mov byte [esp + 0x60], 0xd
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
sub eax, 0x85
je 0x1007b4a1
dec eax
je 0x1007b49a
dec eax
je 0x1007b493
mov eax, str.UNION
jmp 0x1007b4a6
mov eax, str.INTERSECT
jmp 0x1007b4a6
mov eax, str.EXCEPT
jmp 0x1007b4a6
mov eax, 0x100cbee0
push eax
push str.MERGE___s_
push 1
push ecx
call fcn.1003a460
mov esi, dword [ebx + 0x6c]
add esp, 0x10
lea edx, [esi + 1]
cmp dword [ebx + 0x70], esi
jg 0x1007b4dc
push edx
push 0
push dword [esp + 0x28]
mov edx, 0xd
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
mov esi, eax
jmp 0x1007b50c
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov dword [ebx + 0x6c], edx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
push str.LEFT
push 1
mov dword [eax + 8], edi
mov edi, dword [esp + 0x18]
push edi
call fcn.1003a460
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x84]
add esp, 0xc
mov ecx, edi
push eax
call fcn.1007edd0
mov ecx, dword [ebx + 0x6c]
add esp, 4
cmp dword [ebx + 0x70], ecx
jg 0x1007b55e
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x42
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
jmp 0x1007b591
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x42
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 eax, dword [ebx + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov edx, dword [ebx + 0x6c]
test esi, esi
jns 0x1007b5ac
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x1007b5bb
mov eax, 0x100d03e4
jmp 0x1007b5c4
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x5c], eax
lea esi, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x1007b5f2
push esi
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x1007b61e
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], esi
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push str.RIGHT
push 1
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
push dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
call fcn.1003a460
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
call fcn.1007edd0
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], edi
mov edi, eax
mov dword [edi + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007b68b
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x42
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
jmp 0x1007b6be
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x42
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 eax, dword [ebx + 0xc]
mov edx, edi
push dword [esp + 0x24]
mov esi, dword [ebp + 8]
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x34]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x28]
inc eax
push eax
lea eax, [esp + 0x88]
push esi
push eax
call fcn.1007ab80
mov dword [esp + 0x24], eax
add esp, 0x18
mov eax, dword [esp + 0x28]
cmp eax, 0x85
je 0x1007b711
cmp eax, 0x84
jne 0x1007b739
push dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x64]
push dword [esp + 0x1c]
mov edx, edi
push dword [esp + 0x34]
push dword [esp + 0x58]
push esi
push eax
call fcn.1007ab80
add esp, 0x18
mov dword [esp + 0x48], eax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1007b7f9
dec dword [esi]
jne 0x1007b7f9
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1007b7a1
cmp dword [ecx + 0x1f8], 0
je 0x1007b769
mov edx, esi
call fcn.10019190
jmp 0x1007b7f9
cmp esi, dword [ecx + 0x14c]
jae 0x1007b7a1
cmp esi, dword [ecx + 0x144]
jb 0x1007b789
mov eax, dword [ecx + 0x140]
mov dword [esi], eax
mov dword [ecx + 0x140], esi
jmp 0x1007b7f9
cmp esi, dword [ecx + 0x148]
jb 0x1007b7a1
mov eax, dword [ecx + 0x138]
mov dword [esi], eax
mov dword [ecx + 0x138], esi
jmp 0x1007b7f9
cmp dword [0x100cecc8], 0
je 0x1007b7ef
mov eax, dword [0x100d0018]
test eax, eax
je 0x1007b7bd
push eax
call dword [0x100ced18]
add esp, 4
push esi
call dword [0x100cecf4]
sub dword [0x100d0050], eax
add esp, 4
dec dword [0x100d0074]
push esi
call dword [0x100cecec]
mov eax, dword [0x100d0018]
add esp, 4
test eax, eax
je 0x1007b7f9
push eax
call dword [0x100ced20]
jmp 0x1007b7f6
push esi
call dword [0x100cecec]
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, 0x86
je 0x1007b9dc
cmp eax, 0x87
je 0x1007b9dc
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x18], esi
cmp dword [ebx + 0x70], esi
jg 0x1007b840
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x54]
call fcn.10039e80
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
jmp 0x1007b873
mov edx, dword [esp + 0x4c]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x2c], edx
cmp dword [ebx + 0x70], edx
jg 0x1007b89e
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x24]
call fcn.10039e80
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x1007b8d1
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007b8ef
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
jmp 0x1007b91e
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
movzx edx, word [edi + 2]
movzx ecx, word [eax + 2]
cmp dx, cx
jl 0x1007b987
movsx esi, cx
movsx ecx, dx
lea eax, [esi + 0x31]
cmp ecx, eax
jle 0x1007b94f
mov esi, dword [esp + 0x18]
mov eax, edx
mov word [edi + 2], ax
mov eax, dword [esp + 0x28]
jmp 0x1007b9e6
lea eax, [esi + 0x1f]
cmp ecx, eax
jle 0x1007b96a
mov esi, dword [esp + 0x18]
lea eax, [edx + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x28]
jmp 0x1007b9e6
sub ecx, esi
mov esi, dword [esp + 0x18]
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x28]
jmp 0x1007b9e6
movsx esi, dx
movsx edx, cx
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x1007b9a4
mov esi, dword [esp + 0x18]
mov eax, ecx
mov word [edi + 2], ax
mov eax, dword [esp + 0x28]
jmp 0x1007b9e6
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x1007b9bf
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x28]
jmp 0x1007b9e6
sub edx, esi
mov esi, dword [esp + 0x18]
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x28]
jmp 0x1007b9e6
mov ecx, dword [esp + 0x24]
mov esi, ecx
mov dword [esp + 0x2c], ecx
cmp eax, 0x87
jne 0x1007ba35
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x1007b9ff
mov word [edi + 2], ax
mov edi, esi
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x18], edx
cmp dword [ebx + 0x70], edx
jg 0x1007bb3f
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x10]
inc eax
mov ecx, ebx
push eax
call fcn.10039e80
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x1007bb77
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jg 0x1007ba5c
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x10]
inc eax
mov ecx, ebx
push eax
call fcn.10039e80
add esp, 0xc
mov edi, eax
jmp 0x1007ba94
mov edx, dword [esp + 0x1c]
lea eax, [edi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 0x68]
inc edx
mov ebx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007bab7
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.10039e80
add esp, 0xc
jmp 0x1007baea
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007bb0b
push 0
push edi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
jmp 0x1007ba01
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1007ba01
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007bb97
push 0
push esi
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
jmp 0x1007bbc6
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007bbe7
push 0
push dword [esp + 0x40]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.10039e80
add esp, 0xc
jmp 0x1007bc1a
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 [esp + 0x28]
cmp eax, 0x85
jne 0x1007bc32
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
jmp 0x1007bcf6
cmp eax, 0x87
jne 0x1007bc4b
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
inc eax
mov dword [esp + 0x18], eax
jmp 0x1007bcf6
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0xc], edx
cmp dword [ebx + 0x70], edx
jg 0x1007bc73
push 0
push esi
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x1007bca2
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007bcc3
push 0
push dword [esp + 0x40]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.10039e80
add esp, 0xc
jmp 0x1007bcf6
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 [esp + 0x28]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x54], ecx
cmp eax, 0x85
je 0x1007bd0f
cmp eax, 0x84
jne 0x1007bd62
cmp dword [ebx + 0x70], ecx
jg 0x1007bd2f
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x54]
call fcn.10039e80
add esp, 0xc
jmp 0x1007bd62
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x1c]
cmp dword [ebx + 0x70], ecx
jg 0x1007bd83
push 0
push edi
push esi
mov edx, 0xe
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
jmp 0x1007bdae
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007bdcf
push 0
push dword [esp + 0x40]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.10039e80
add esp, 0xc
jmp 0x1007be02
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 ecx, dword [esp + 0x5c]
mov edx, dword [ebx + 0x6c]
test ecx, ecx
jns 0x1007be10
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x1007be1f
mov eax, 0x100d03e4
jmp 0x1007be28
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007be4f
mov edx, dword [esp + 0x2c]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x28]
mov edx, 0xe
call fcn.10039e80
add esp, 0xc
jmp 0x1007be82
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007be9f
push 0
push edi
push esi
mov edx, 0xe
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
jmp 0x1007beca
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007bee8
push edx
mov edx, ebx
call fcn.1003a710
add esp, 4
jmp 0x1007bef1
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x1007bf12
push 0
push 0
push 0
mov edx, 0x55
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
mov edx, eax
jmp 0x1007bf45
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], 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 [ebx]
cmp byte [ecx + 0x51], 0
je 0x1007bf60
push dword [esp + 0x50]
mov edx, 0xfffffff1
call fcn.1003aba0
add esp, 4
jmp 0x1007bf9b
test edx, edx
jns 0x1007bf68
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x1007bf8c
push 0xfffffffffffffff1
push dword [esp + 0x54]
mov edx, eax
mov ecx, ebx
call fcn.1003ad60
add esp, 8
jmp 0x1007bf9b
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1007bf9b
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf1
mov edx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x80]
cmp dword [ebx + 0x70], edx
jg 0x1007bfc7
push dword [esp + 0x34]
mov edx, 0x56
mov ecx, ebx
push esi
push edi
call fcn.10039e80
add esp, 0xc
mov edx, eax
jmp 0x1007bff6
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
je 0x1007c012
mov edx, dword [esp + 0x40]
push edx
mov edx, 0xfffffff7
call fcn.1003aba0
add esp, 4
jmp 0x1007c04a
test edx, edx
jns 0x1007c01a
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x40]
je 0x1007c03f
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, ebx
call fcn.1003ad60
add esp, 8
jmp 0x1007c04a
test edx, edx
je 0x1007c04a
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x1007c061
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1007c088
mov edx, dword [esp + 0x54]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x10]
push edx
push dword [esp + 0x20]
mov edx, 0x10
call fcn.10039e80
add esp, 0xc
jmp 0x1007c0bb
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007c0d9
push edx
mov edx, ebx
call fcn.1003a710
add esp, 4
jmp 0x1007c0e2
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x1007c0fb
mov ecx, dword [esp + 0x38]
push 1
call fcn.100764d0
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x34], eax
mov dword [eax + 0x38], ebx
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
jne 0x1007c117
xor eax, eax
jmp 0x1007c13d
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x1007c122
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x1007c131
mov eax, 0x100d03e4
jmp 0x1007c13a
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xd4], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret