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

Disassembly:
sub esp, 0xb0
push ebx
mov ebx, dword [esp + 0xbc]
push ebp
push edi
mov edi, dword [esp + 0xc0]
mov eax, dword [edi]
xor ebp, ebp
mov dword [esp + 0x38], 1
mov dword [esp + 0x10], eax
cmp ebx, ebp
je 0x1006e8a9
cmp byte [eax + 0x1e], 0
jne 0x1006e8a9
cmp dword [edi + 0x40], ebp
jne 0x1006e8a9
push ebp
push ebp
push ebp
push 0x15
mov eax, edi
call fcn.10056670
add esp, 0x10
test eax, eax
je 0x1006e8b8
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0xb0
ret
push esi
push 0x2c
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.1007f650
mov ecx, dword [esp + 0xd8]
mov esi, dword [ebx + 0x1c]
add esp, 0xc
cmp byte [ecx], 4
mov dword [esp + 0x28], esi
ja 0x1006e8e3
mov dword [ebx + 0x1c], ebp
mov byte [ebx + 5], 0
push ebp
push ebx
push edi
call fcn.1006a560
add esp, 0xc
test eax, eax
jne 0x1006f4de
mov dword [ebx + 0x1c], esi
cmp dword [ebx + 0x20], ebp
je 0x1006e96c
cmp dword [ebx + 0x28], ebp
jne 0x1006e947
xor ecx, ecx
xor edx, edx
mov eax, ebx
lea esp, [esp]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ebx
mov ecx, eax
mov eax, dword [eax + 0x20]
inc edx
cmp eax, ebp
jne 0x1006e910
cmp edx, 0x1f4
jle 0x1006e947
push str.too_many_terms_in_compound_SELECT
mov esi, edi
call fcn.10054d60
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0xb0
ret
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xcc]
push edx
push eax
push ebx
push edi
call fcn.10069d10
add esp, 0x10
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xb0
ret
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
movzx eax, byte [ebx + 5]
mov dword [esp + 0x38], edx
movzx edx, byte [ebx + 7]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
cmp eax, ebp
je 0x1006f4de
cmp dword [edi + 0x40], ebp
jg 0x1006f4de
mov ecx, dword [eax]
mov eax, dword [esp + 0xcc]
push ecx
mov esi, edi
call fcn.10058140
add esp, 4
test eax, eax
jne 0x1006f4de
mov edx, dword [esp + 0xcc]
cmp byte [edx], 4
ja 0x1006e9db
mov dword [esp + 0x28], ebp
call fcn.10052ce0
mov ebp, eax
test ebp, ebp
je 0x1006f4de
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ax, word [ecx]
mov dword [esp + 0x30], 0
jge 0x1006eb1a
xor edx, edx
xor esi, esi
jmp 0x1006ea12
xor edx, edx
mov eax, dword [esp + 0x2c]
lea ecx, [esi + eax + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], ecx
cmp dword [ecx], edx
je 0x1006eb03
cmp byte [esi + eax + 0x1c], 0
jne 0x1006eb03
mov eax, dword [esi + eax + 0xc]
cmp eax, edx
je 0x1006ea57
mov edx, dword [edi + 0xe0]
mov dword [esp + 0x20], edx
mov dword [edi + 0xe0], eax
mov dword [esp + 0x18], 1
jmp 0x1006ea5b
mov dword [esp + 0x18], edx
mov eax, ebx
call fcn.10048ff0
add dword [edi + 0xf4], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esi + eax + 0x20]
push 9
lea eax, [esp + 0xb8]
call fcn.10049fb0
mov edx, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [ecx]
push ebx
push eax
push edx
push edi
call fcn.1006e860
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp byte [eax + 0x1e], 0
jne 0x1006f4de
mov eax, ebx
call fcn.10048ff0
sub dword [edi + 0xf4], eax
cmp dword [esp + 0x18], 0
je 0x1006eac8
mov ecx, dword [esp + 0x20]
mov dword [edi + 0xe0], ecx
mov ecx, dword [esp + 0xcc]
cmp byte [ecx], 4
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], eax
jbe 0x1006eae9
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x28], edx
mov eax, dword [ebx + 0x14]
movzx edx, byte [ebx + 5]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x30]
movsx eax, word [eax]
inc ecx
add esi, 0x30
cmp ecx, eax
mov dword [esp + 0x30], ecx
jl 0x1006ea10
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x1006eb68
mov esi, dword [esp + 0xd8]
test esi, esi
je 0x1006eb68
mov ecx, dword [esp + 0x44]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0xd8]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push eax
push edx
call fcn.100582c0
add esp, 0x14
test eax, eax
je 0x1006eb68
cmp dword [esp + 0x44], 0
je 0x1006f4de
mov dword [esi], 1
jmp 0x1006f4de
cmp byte [ebx + 5], 0
je 0x1006eb9d
cmp byte [ebx + 7], 0
jne 0x1006eb9d
cmp dword [ebx + 0x14], 0
jne 0x1006eb9d
mov esi, ebx
mov eax, dword [esi]
mov ebx, dword [esp + 0x14]
push eax
call fcn.1004e5c0
add esp, 4
mov dword [esi + 0x14], eax
mov dword [esp + 0x10], eax
xor eax, eax
mov byte [esi + 5], al
mov dword [esp + 0x1c], eax
mov ebx, esi
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1006ebd6
push esi
push edi
call fcn.100651f0
mov ecx, dword [edi + 0x44]
mov dword [esi + 8], ecx
inc dword [edi + 0x44]
mov ecx, dword [esi]
mov edx, dword [esi + 8]
push 0xfffffffffffffff7
push eax
push 0x6f
add ecx, 2
push ebp
xor eax, eax
call fcn.100517a0
add esp, 0x18
mov dword [esp + 0x20], eax
mov dword [ebx + 0x44], eax
jmp 0x1006ebde
mov dword [esp + 0x20], 0xffffffff
mov edx, dword [esp + 0xcc]
cmp byte [edx], 9
jne 0x1006ec01
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov ecx, edx
mov ecx, dword [ecx + 4]
mov edx, 0x6f
mov esi, ebp
call fcn.1004dda0
mov eax, ebp
call fcn.1004ddb0
push eax
mov dword [esp + 0x88], eax
push ebx
mov eax, edi
call fcn.10069c00
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x1006ec4e
mov esi, dword [edi + 0x44]
lea edx, [esi + 1]
mov dword [edi + 0x44], edx
mov eax, dword [ebx]
push eax
push edi
mov dword [esp + 0x38], esi
call fcn.100651f0
push 0xfffffffffffffff7
push eax
push 0x6f
push ebp
xor eax, eax
xor ecx, ecx
mov edx, esi
call fcn.100517a0
add esp, 0x18
jmp 0x1006ec56
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x44], 0
mov esi, dword [esp + 0x10]
jne 0x1006ecf2
test esi, esi
jne 0x1006ecf2
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
push esi
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
push edi
call fcn.1006b140
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1006f4de
cmp dword [esp + 0x20], 0
jl 0x1006ecb5
cmp dword [esp + 0x28], 0
jne 0x1006ecb5
mov ecx, dword [esp + 0x20]
mov edx, 1
mov eax, ebp
call fcn.1004e090
mov dword [ebx + 0x44], 0xffffffff
mov ecx, dword [esp + 0xdc]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esp + 0xd0]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
push eax
push ebx
push edi
call fcn.10069220
push esi
call fcn.1004f920
add esp, 0x30
jmp 0x1006f466
mov eax, ebp
call fcn.1004ddb0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
xor eax, eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], ecx
mov dword [esp + 0xac], edx
cmp esi, eax
je 0x1006ed62
mov eax, dword [esi]
inc eax
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x40]
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
call fcn.100561f0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x94]
push eax
call fcn.100561f0
mov ecx, dword [esp + 0x20]
add esp, 8
test ecx, ecx
je 0x1006eda7
lea eax, [esp + 0x90]
call fcn.100561e0
mov ecx, dword [esp + 0x60]
xor esi, esi
cmp dword [esp + 0x70], esi
mov dword [esp + 0x68], ecx
jle 0x1006ede4
xor edi, edi
lea esp, [esp]
mov edx, dword [esp + 0x6c]
mov eax, dword [edi + edx]
mov ebx, dword [eax + 0x10]
lea ecx, [esp + 0x90]
push ecx
call fcn.100561f0
inc esi
add esp, 4
add edi, 0x10
cmp esi, dword [esp + 0x70]
jl 0x1006edc0
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x1e], 0
jne 0x1006f4de
mov esi, dword [esp + 0x10]
xor edi, edi
cmp esi, edi
je 0x1006f315
mov eax, ebp
call fcn.1004ddb0
mov dword [esp + 0x14], eax
mov eax, ebp
call fcn.1004ddb0
mov dword [esp + 0x7c], eax
mov eax, ebp
call fcn.1004ddb0
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x50], eax
inc eax
push esi
push edi
mov dword [edi + 0x44], eax
call fcn.100651f0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
push 0xfffffffffffffff7
push eax
mov dword [esp + 0x58], eax
push 0x6f
push ebp
xor eax, eax
call fcn.100517a0
mov dword [esp + 0xa4], eax
mov eax, dword [edi + 0x48]
lea ebx, [eax + 1]
mov dword [esp + 0x3c], ebx
inc ebx
mov dword [edi + 0x48], ebx
mov eax, dword [esi]
add eax, ebx
mov dword [edi + 0x48], eax
mov edx, dword [esi]
lea ecx, [eax + 1]
add edx, eax
mov dword [esp + 0x90], ecx
xor ecx, ecx
mov dword [edi + 0x48], edx
add esp, 0x18
mov eax, ebx
lea edx, [ecx + 0x2e]
mov esi, ebp
call fcn.1004dda0
mov eax, dword [esp + 0x24]
xor ecx, ecx
lea edx, [ecx + 0x2e]
call fcn.1004dda0
mov eax, dword [esp + 0x14]
xor ecx, ecx
lea edx, [ecx + 0x5a]
call fcn.1004dda0
mov eax, ebp
call fcn.10048690
mov ecx, 1
mov dword [esp + 0x34], eax
mov eax, ebx
lea edx, [ecx + 0x2d]
call fcn.1004dda0
xor eax, eax
xor ecx, ecx
lea edx, [eax + 0x17]
call fcn.1004dda0
mov eax, ebp
call fcn.10048690
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
add eax, 2
mov edx, 0x7a
call fcn.1004dda0
xor eax, eax
xor ecx, ecx
lea edx, [eax + 0x17]
call fcn.1004dda0
lea ebx, [esp + 0x4c]
mov eax, edi
call fcn.10052d10
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006ef23
mov ecx, dword [esp + 0x1c]
push 8
inc ecx
push ecx
push eax
push edi
call fcn.10063f50
add esp, 0x10
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0xd0]
push eax
mov eax, dword [esp + 0x38]
inc ecx
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
mov eax, dword [esp + 0xdc]
mov edx, dword [eax]
push ecx
push 0
push 0
push edx
push eax
push edi
call fcn.10069220
xor eax, eax
xor ecx, ecx
lea edx, [eax + 0x17]
call fcn.1004dda0
mov eax, ebp
call fcn.10048690
mov ebx, eax
lea eax, [esp + 0x78]
push eax
push edi
mov dword [esp + 0xbc], ebx
call fcn.100652d0
xor eax, eax
xor ecx, ecx
lea edx, [eax + 0x17]
call fcn.1004dda0
mov edx, dword [esp + 0x48]
mov ecx, ebp
call fcn.10048670
xor ecx, ecx
mov eax, ebx
lea edx, [ecx + 0x2d]
call fcn.1004dda0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x60]
push 0
lea ecx, [esp + 0x48]
push ecx
push edx
push eax
push edi
call fcn.1006b140
add esp, 0x48
mov dword [esp + 0x34], eax
test eax, eax
je 0x1006f4de
cmp dword [esp + 0x10], 0
jne 0x1006efef
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0x38], 0
jmp 0x1006f12d
mov eax, dword [esp + 0x10]
mov ebx, dword [eax]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], ebx
inc ebx
mov dword [esp + 0x38], 1
mov esi, ebx
mov dword [esp + 0x18], ebx
mov eax, ebx
test ecx, ecx
jle 0x1006f032
mov edx, dword [esp + 0x5c]
add edx, 0xc
lea esp, [esp]
cmp dword [edx], eax
jl 0x1006f026
inc esi
inc eax
add edx, 0x18
sub ecx, 1
jne 0x1006f020
mov dword [esp + 0x18], esi
mov ecx, edi
call fcn.10049390
mov edi, eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, edi
mov dword [esp + 0x40], edi
call fcn.100491e0
mov ecx, dword [esp + 0x18]
lea eax, [edi + ecx]
mov ecx, dword [esp + 0x54]
add esp, 4
mov edx, 4
mov esi, ebp
call fcn.1004dda0
cmp dword [esp + 0x60], 0
mov ecx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], 0
jle 0x1006f0c3
mov eax, dword [esp + 0x5c]
xor esi, esi
cmp dword [esi + eax + 0xc], ecx
jl 0x1006f0b2
mov edx, dword [esp + 0x3c]
mov edi, dword [esi + eax + 8]
mov ebx, dword [esi + eax]
add edx, ecx
mov ecx, dword [esi + eax + 4]
push edx
mov eax, ebp
call fcn.10067210
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x40]
add esp, 4
inc dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
inc dword [esp + 0x30]
mov edx, dword [esp + 0x60]
add esi, 0x18
cmp dword [esp + 0x30], edx
jl 0x1006f080
mov eax, dword [esp + 0xc4]
call fcn.10049350
mov ebx, eax
mov eax, dword [esp + 0x18]
push ebx
push eax
push edi
push 0x54
mov esi, ebp
call fcn.1004dd10
mov ecx, dword [esp + 0x60]
mov eax, ebx
mov edx, 0x67
call fcn.1004dda0
mov eax, dword [esp + 0xd4]
mov edx, ebx
call fcn.10049370
mov ecx, dword [esp + 0x28]
push edi
call fcn.100493c0
mov ecx, dword [esp + 0x48]
push ecx
call fcn.1004f920
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
add esp, 0x18
mov edx, 0x11
call fcn.1004dda0
mov byte [esp + 0x4d], 1
mov eax, ebp
call fcn.10048690
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x78]
xor edi, edi
cmp dword [edx], edi
mov dword [esp + 0x3c], eax
jle 0x1006f1a1
mov dword [esp + 0x18], edi
mov esi, edx
lea esp, [esp]
cmp dword [esp + 0x38], 0
je 0x1006f173
mov ecx, dword [esp + 0x50]
lea eax, [edi + ebx]
push eax
push edi
push ecx
push 2
mov esi, ebp
call fcn.1004dd10
mov esi, dword [esp + 0x20]
add esp, 0x10
jmp 0x1006f197
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x4c], 1
mov eax, dword [esi + 0xc]
lea edx, [edi + ebx]
push edx
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0xc8]
push edx
push eax
call fcn.10067d70
add esp, 0xc
add dword [esp + 0x18], 0xc
inc edi
cmp edi, dword [esi]
jl 0x1006f150
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
sub edi, 1
js 0x1006f211
lea esp, [esp]
mov esi, ebp
test edi, edi
jne 0x1006f1cb
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x24]
push ebx
push edx
add eax, 2
push eax
push 0x44
jmp 0x1006f1e1
mov ecx, dword [esp + 0x7c]
lea eax, [edi + ebx]
push eax
mov eax, dword [esp + 0x28]
add eax, 2
push ecx
lea edx, [edi + eax]
push edx
push 0x43
call fcn.1004dd10
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edi*4 + 0x10]
add esp, 0x10
push ecx
push ebp
mov ecx, 0xfffffffc
or eax, 0xffffffff
call fcn.1004e0e0
add esp, 8
mov dl, 0x10
mov eax, ebp
call fcn.10048700
sub edi, 1
jns 0x1006f1b0
mov edx, dword [esp + 0x7c]
mov ecx, ebp
call fcn.10048670
mov edx, dword [esp + 0x10]
cmp dword [edx], 0
mov dword [esp + 0x14], 0
jle 0x1006f25e
mov eax, dword [esp + 0x24]
add eax, 2
sub eax, ebx
mov edi, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
add eax, edi
mov ecx, edi
mov edx, 0x71
mov esi, ebp
call fcn.1004dda0
mov ecx, dword [esp + 0x10]
inc ebx
inc edi
cmp ebx, dword [ecx]
jl 0x1006f240
mov eax, dword [esp + 0x1c]
xor ecx, ecx
lea edx, [ecx + 0x2d]
mov esi, ebp
call fcn.1004dda0
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
lea ecx, [ebx + 1]
mov edx, 0x7a
call fcn.1004dda0
mov eax, dword [esp + 0x88]
xor ecx, ecx
lea edx, [ecx + 0x2d]
call fcn.1004dda0
mov edx, dword [esp + 0x80]
mov ecx, ebp
call fcn.10048670
mov edi, dword [esp + 0xc4]
lea edx, [esp + 0x4c]
push edx
call fcn.1006a750
mov ecx, 1
add esp, 4
mov eax, ebx
lea edx, [ecx + 0x2d]
call fcn.1004dda0
cmp dword [esp + 0x38], 0
je 0x1006f2e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, 0x66
call fcn.1004dda0
jmp 0x1006f300
mov eax, dword [esp + 0x34]
push eax
call fcn.1004f920
mov ecx, dword [esp + 0x90]
add esp, 4
mov edx, 1
mov eax, ebp
call fcn.1004e090
mov eax, dword [esp + 0x1c]
xor ecx, ecx
lea edx, [ecx + 0x2d]
mov esi, ebp
call fcn.1004dda0
jmp 0x1006f44d
mov esi, dword [esp + 0xc8]
mov eax, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], edi
call fcn.1004a2f0
mov byte [esp + 0x24], al
test al, al
je 0x1006f374
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov ebx, dword [esp + 0x14]
push ecx
call fcn.1004e5c0
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], edi
test eax, eax
je 0x1006f374
cmp byte [ebx + 0x1e], 0
jne 0x1006f374
cmp byte [esp + 0x24], 1
mov ecx, dword [eax + 0xc]
setne dl
mov byte [ecx + 8], dl
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov byte [eax], 0x95
mov esi, dword [esp + 0xc4]
lea ecx, [esp + 0x4c]
push ecx
push esi
call fcn.100652d0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x28]
push eax
push ecx
push edx
push esi
call fcn.1006b140
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x1006f3b5
mov ebx, edi
call fcn.1004e750
jmp 0x1006f4de
lea eax, [esp + 0x4c]
push eax
mov edi, esi
call fcn.1006a750
add esp, 4
cmp dword [esp + 0x1c], 0
jne 0x1006f3e1
cmp byte [esp + 0x24], 0
je 0x1006f3e1
mov eax, dword [ebx + 0x10]
xor ecx, ecx
lea edx, [ecx + 0x5a]
mov esi, ebp
call fcn.1004dda0
push ebx
call fcn.1004f920
add esp, 4
lea ebx, [esp + 0x4c]
mov eax, edi
call fcn.10052d10
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x28], 0
test eax, eax
je 0x1006f416
push 8
push esi
push eax
push edi
call fcn.10063f50
add esp, 0x10
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
push ecx
mov ecx, dword [eax]
push esi
push esi
push edx
push 0xffffffffffffffff
push 0
push 0
push 0
push ecx
push eax
push edi
call fcn.10069220
mov ebx, dword [esp + 0x60]
add esp, 0x2c
call fcn.1004e750
mov edx, dword [esp + 0x20]
mov ecx, ebp
call fcn.10048670
mov ebx, dword [esp + 0xc8]
mov edi, dword [esp + 0xc4]
cmp dword [esp + 0x28], 0
je 0x1006f488
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push edx
push ecx
push ebx
push edi
mov eax, ebp
call fcn.10052a60
add esp, 0x10
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x1006f4a8
mov ecx, dword [esp + 0xd4]
mov eax, dword [eax + 0xc]
lea edx, [ecx + ecx*2]
shl edx, 4
mov byte [edx + eax + 0x1c], 1
mov edx, dword [esp + 0x84]
mov ecx, ebp
call fcn.10048670
mov ecx, dword [esp + 0xcc]
cmp byte [ecx], 5
mov dword [esp + 0x3c], 0
jne 0x1006f4de
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
push edx
push eax
mov ecx, edi
call fcn.10060770
add esp, 8
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.1004bdf0
mov edx, dword [esp + 0x70]
push edx
call fcn.1004bdf0
mov eax, dword [esp + 0x44]
add esp, 8
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xb0
ret