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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x34]
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, 7
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [eax + 8]
mov dword [esp + 0x20], edx
test edi, edi
je 0x10079394
mov dword [esp + 0x1c], edi
jmp 0x100793b8
cmp dword [eax + 0x7c], 0
jne 0x100793a4
test byte [edx + 0x50], 8
jne 0x100793a4
mov byte [eax + 0x17], 1
mov edx, eax
push edx
call fcn.1002f4f0
mov dword [esp + 0x20], eax
mov edi, eax
mov eax, dword [ebp + 8]
add esp, 4
cmp byte [esp + 0x2c], 0xc
jne 0x1007940d
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax]
mov eax, dword [edi + 0x6c]
mov edx, dword [esp + 0x30]
cmp dword [edi + 0x70], eax
jg 0x100793e2
push 0
push ecx
push edx
push 0x76
mov eax, edi
call fcn.1002f760
add esp, 0x10
jmp 0x10079405
lea esi, [eax + 1]
mov dword [edi + 0x6c], esi
mov esi, dword [edi + 0x68]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x76
mov eax, dword [ebp + 8]
mov byte [esp + 0x2c], 0xe
test dword [ebx + 4], 0x400
je 0x10079440
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov eax, ebx
call fcn.100792b0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jns 0x10079d99
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov edx, 0x2000
test dword [ebx + 4], edx
je 0x1007945c
mov ecx, ebx
lea esp, [esp]
test dword [ecx + 4], edx
je 0x1007947a
mov ecx, dword [ecx + 0x34]
test ecx, ecx
jne 0x10079450
cmp dword [ebx + 0x30], 0
je 0x10079491
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push edx
push ebx
push eax
call fcn.1007a340
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x2c]
push eax
push ebx
push ecx
call fcn.10078bd0
add esp, 0xc
jmp 0x10079c21
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x34], 0
jne 0x100794c0
mov esi, dword [ebp + 8]
push str.COMPOUND_QUERY
push 1
push esi
call fcn.1002fd50
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push esi
call fcn.1002fd50
add esp, 0xc
mov eax, esi
movzx ecx, byte [ebx]
sub ecx, 0x86
je 0x10079980
dec ecx
je 0x10079854
dec ecx
je 0x10079980
mov esi, dword [eax + 0x28]
lea edx, [esi + 2]
mov dword [eax + 0x28], edx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x18], esi
cmp dword [edi + 0x70], ecx
jg 0x10079505
push 0
push 0
push esi
push 0x76
mov eax, edi
call fcn.1002f760
add esp, 0x10
jmp 0x1007952d
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov word [eax + 2], dx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x76
mov eax, ecx
mov dword [ebx + 0x14], eax
mov ecx, dword [ebx + 0x38]
mov eax, ebx
test ecx, ecx
je 0x10079549
lea esp, [esp]
mov eax, ecx
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x10079540
or dword [eax + 4], 0x20
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push eax
push ecx
push edx
mov byte [esp + 0x54], 1
mov dword [esp + 0x58], esi
call fcn.1007f6c0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10079d99
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x100795a6
push eax
push eax
lea eax, [esi + 1]
push eax
push 0x76
mov eax, edi
call fcn.1002f760
add esp, 0x10
jmp 0x100795d3
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov word [eax + 2], dx
lea edx, [esi + 1]
mov dword [eax + 4], edx
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x76
mov eax, ecx
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x3c], eax
lea eax, [esi + 1]
mov dword [esp + 0x4c], eax
movzx eax, byte [ebx]
mov dword [esp + 0x28], ecx
call fcn.100770e0
mov edx, dword [ebp + 8]
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edx
call fcn.1002fd50
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x58]
push eax
push ebx
push ecx
call fcn.1007f6c0
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x34], eax
movzx eax, word [eax + 2]
add esp, 0x1c
mov dword [esp + 0x24], edx
cmp word [ebx + 2], ax
jle 0x10079637
mov word [ebx + 2], ax
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x1007964c
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.10047e40
add esp, 8
cmp dword [esp + 0x14], 0
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x3c], ecx
jne 0x10079c13
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x38]
dec eax
push eax
lea edx, [eax - 1]
push ebx
push ecx
mov dword [esp + 0x1c], eax
mov dword [ecx + 0x38], edx
call fcn.10078860
mov eax, dword [edi + 0x6c]
add esp, 0xc
cmp dword [edi + 0x70], eax
jg 0x1007969a
mov edx, dword [esp + 0x10]
push 0
push edx
push esi
push 0x24
mov eax, edi
call fcn.1002f760
add esp, 0x10
xor edx, edx
jmp 0x100796c1
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x6c], ecx
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax + 4], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x24
mov ecx, dword [ebp + 8]
call fcn.10050240
mov ecx, dword [edi + 0x6c]
mov ebx, eax
cmp dword [edi + 0x70], ecx
jg 0x100796ec
push 0
push ebx
push esi
push 0x86
mov eax, edi
call fcn.1002f760
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x10079711
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
mov edi, dword [edi + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x86
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
inc eax
push eax
push 0x1c
xor edi, edi
dec ecx
mov eax, esi
call fcn.1002f8e0
mov eax, dword [ebp + 8]
mov edx, ebx
call fcn.10050260
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push ecx
lea edi, [ecx - 1]
push edi
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push ebx
push edx
push ecx
push eax
call fcn.10076440
add esp, 0x28
mov eax, edi
mov ecx, esi
call fcn.100300b0
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 0x18]
cmp dword [esi + 0x70], eax
jg 0x10079783
mov edx, dword [esp + 0x28]
push ebx
push edx
push edi
push 0x27
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100797b1
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x27
mov eax, dword [esp + 0x10]
mov ecx, esi
call fcn.100300b0
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x100797d8
push ebx
push ebx
lea eax, [edi + 1]
push eax
push 0x7a
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100797fc
mov ecx, dword [esi + 0x68]
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
lea ecx, [edi + 1]
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], 0x7a
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10079823
mov eax, dword [esp + 0x18]
push ebx
push ebx
push eax
push 0x7a
mov eax, esi
call fcn.1002f760
mov edi, dword [esp + 0x2c]
mov ebx, dword [ebp + 0xc]
add esp, 0x10
jmp 0x10079c13
mov edi, dword [esp + 0x1c]
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x6c], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov ebx, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov dword [eax], 0x7a
jmp 0x10079c13
mov esi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x2c]
push eax
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x3c]
push esi
push ecx
mov dword [esi + 0x3c], edx
call fcn.1007f6c0
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esi + 0x3c], 0
test eax, eax
jne 0x10079d99
mov dword [ebx + 0x34], eax
mov eax, esi
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
mov eax, dword [eax + 0xc]
mov esi, edx
mov dword [ebx + 0xc], eax
test esi, esi
je 0x100798e8
mov ebx, 0x11
mov ecx, edi
call fcn.1002f820
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x100798e6
push eax
inc eax
push eax
mov edx, ecx
mov eax, dword [edx + 8]
push eax
push 0xa0
push edi
call fcn.1002f870
mov ebx, dword [ebp + 0xc]
add esp, 0x14
jmp 0x100798e8
mov ebx, ecx
mov esi, dword [ebp + 8]
push str.UNION_ALL
push 1
push esi
call fcn.1002fd50
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push ebx
push esi
call fcn.1007f6c0
mov edx, dword [ebx + 0x34]
mov cx, word [ebx + 2]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x34], eax
mov ax, word [eax + 2]
add esp, 0xc
mov dword [esp + 0x24], edx
call fcn.1000ff70
mov si, ax
mov eax, dword [ebx + 0x3c]
mov word [ebx + 2], si
test eax, eax
je 0x10079968
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.10049660
add esp, 8
test eax, eax
je 0x10079968
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x10079968
cdq
push edx
push eax
call fcn.1000ffc0
add esp, 8
cmp si, ax
jle 0x10079968
mov word [ebx + 2], ax
mov edx, dword [esp + 0x28]
test edx, edx
je 0x10079c13
mov eax, edi
call fcn.10030370
jmp 0x10079c13
cmp byte [esp + 0x2c], 1
jne 0x1007998d
mov esi, dword [esp + 0x30]
jmp 0x100799f2
mov esi, dword [eax + 0x28]
lea ecx, [esi + 1]
mov dword [eax + 0x28], ecx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x100799b1
push 0
push 0
push esi
push 0x76
mov eax, edi
call fcn.1002f760
add esp, 0x10
jmp 0x100799d9
lea edx, [ecx + 1]
mov dword [edi + 0x6c], edx
mov edx, dword [edi + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x76
mov eax, ecx
mov dword [ebx + 0x14], eax
mov ecx, dword [ebx + 0x38]
mov eax, ebx
test ecx, ecx
je 0x100799ee
mov eax, ecx
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x100799e5
or dword [eax + 4], 0x20
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x64]
push eax
push ecx
push edx
mov byte [esp + 0x70], 1
mov dword [esp + 0x74], esi
call fcn.1007f6c0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10079d99
mov cl, byte [ebx]
mov edx, dword [ebx + 0x3c]
cmp cl, 0x88
sete al
inc al
mov byte [esp + 0x64], al
movzx eax, cl
mov dword [ebx + 0x34], 0
mov dword [esp + 0x28], edx
mov dword [ebx + 0x3c], 0
call fcn.100770e0
push eax
mov eax, dword [ebp + 8]
push str._s_USING_TEMP_B_TREE
push 1
push eax
call fcn.1002fd50
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x74]
push ecx
push ebx
push edx
call fcn.1007f6c0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x34]
add esp, 0x1c
cmp byte [ebx], 0x86
mov dword [esp + 0x24], eax
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x30], 0
jne 0x10079aae
mov edx, ecx
mov ax, word [edx + 2]
mov cx, word [ebx + 2]
call fcn.1000ff70
mov word [ebx + 2], ax
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x10079ac3
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.10047e40
add esp, 8
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp byte [esp + 0x2c], 1
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
je 0x10079c13
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x57], al
jne 0x10079c13
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x38]
dec eax
push eax
lea edx, [eax - 1]
push ebx
push ecx
mov dword [esp + 0x1c], eax
mov dword [ecx + 0x38], edx
call fcn.10078860
mov eax, dword [edi + 0x6c]
add esp, 0xc
cmp dword [edi + 0x70], eax
jg 0x10079b24
mov eax, dword [esp + 0x10]
push 0
push eax
push esi
push 0x24
mov eax, edi
call fcn.1002f760
add esp, 0x10
jmp 0x10079b4e
lea ecx, [eax + 1]
mov dword [edi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x24
mov eax, dword [edi + 0x6c]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
push eax
dec eax
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push esi
push ebx
push edx
call fcn.10076440
mov eax, dword [esp + 0x30]
add esp, 0x20
dec eax
mov ecx, edi
call fcn.100300b0
mov eax, dword [edi + 0x6c]
cmp dword [edi + 0x70], eax
jg 0x10079b9d
mov eax, dword [esp + 0x28]
push 0
push eax
push esi
push 0x27
mov eax, edi
call fcn.1002f760
add esp, 0x10
jmp 0x10079bc7
lea ecx, [eax + 1]
mov dword [edi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x27
mov eax, dword [esp + 0x10]
mov ecx, edi
call fcn.100300b0
mov eax, dword [edi + 0x6c]
cmp dword [edi + 0x70], eax
jg 0x10079bed
push 0
push 0
push esi
push 0x7a
mov eax, edi
call fcn.1002f760
add esp, 0x10
jmp 0x10079c13
lea ecx, [eax + 1]
mov dword [edi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + edx*4]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x7a
cmp dword [ebx + 0x38], 0
jne 0x10079c21
mov ecx, dword [ebp + 8]
call fcn.1002fe40
mov edx, dword [ebp + 8]
cmp dword [edx + 0x24], 0
jne 0x10079d99
test byte [ebx + 4], 0x20
je 0x10079d99
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov ebx, dword [esp + 0x20]
push 1
push eax
mov dword [esp + 0x24], eax
call fcn.10076fd0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10079c63
mov dword [esp + 0x14], 7
jmp 0x10079d99
xor esi, esi
lea ecx, [ebx + 0x14]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x1c], esi
jle 0x10079cda
mov dword [esp + 0x28], esi
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x34]
test eax, eax
je 0x10079d09
push esi
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10078a20
add esp, 0xc
test eax, eax
jne 0x10079cb4
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x1c]
cmp esi, dword [ecx]
jge 0x10079cb4
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x28]
mov ecx, dword [ecx + eax + 8]
push edx
call fcn.100467c0
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x10079cc7
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
mov dword [ecx], eax
add dword [esp + 0x28], 0x14
inc esi
add ecx, 4
mov dword [esp + 0x10], ecx
cmp esi, dword [esp + 0x1c]
jl 0x10079c76
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], 0
add esi, 0x14
mov eax, dword [esi]
test eax, eax
js 0x10079d78
mov edx, dword [edi]
cmp byte [edx + 0x57], 0
je 0x10079d0d
mov ecx, 0x1013ace8
jmp 0x10079d16
xor eax, eax
jmp 0x10079c96
mov edx, dword [edi + 0x68]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], edx
inc dword [ebx]
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x10079d35
mov eax, ebx
mov edx, 0xfffffff8
call fcn.100304a0
jmp 0x10079d5d
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
je 0x10079d56
push ebx
push edi
mov eax, 0xfffffff8
call fcn.100305a0
add esp, 8
jmp 0x10079d5d
mov dword [ecx + 0x10], ebx
mov byte [ecx + 1], 0xf8
mov eax, dword [esp + 0x20]
inc eax
mov dword [esi], 0xffffffff
add esi, 4
mov dword [esp + 0x20], eax
cmp eax, 2
jl 0x10079cf0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x34]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x10079ce1
dec dword [ebx]
jne 0x10079d99
mov ecx, dword [ebx + 0xc]
mov eax, ebx
call fcn.1000a7e0
cmp dword [esp + 0x24], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
je 0x10079dc2
mov edi, dword [esp + 0x24]
mov esi, dword [ebp + 8]
mov ebx, fcn.10075200
call fcn.10074550
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret