Function at 0xaedf51
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0xa6
mov dword [ebp - 0x44], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0xaee04d
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
and eax, 6
test eax, eax
je 0xaedfc9
mov dword [ebp + 0xc], 0
jmp 0xaee04d
mov dword [ebp - 0x1c], 0
jmp 0xaee00c
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x1c]
shl edx, 4
add eax, edx
mov eax, dword [eax]
push dword [ebp + 0xc]
push eax
call fcn.00aaed6e
add esp, 8
test eax, eax
jne 0xaee008
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x1c]
shl edx, 4
add eax, edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x3c], eax
jmp 0xaee017
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x14]
cmp dword [ebp - 0x1c], eax
jl 0xaedfd2
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x14]
cmp dword [ebp - 0x1c], eax
jne 0xaee04d
push dword [ebp + 0xc]
push str.main
call fcn.00aaed6e
add esp, 8
test eax, eax
jne 0xaee04d
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0xaee2ec
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x58]
add eax, 8
mov dword [ebp - 0x30], eax
jmp 0xaee290
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
test eax, eax
je 0xaee12f
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
and eax, 0x800
test eax, eax
je 0xaee12f
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x20], 0
jmp 0xaee111
mov edx, dword [ebp - 0x20]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 2
mov edx, dword [ebp - 0x5c]
add eax, edx
add eax, 8
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push eax
call fcn.00aedc8a
add esp, 0x10
test eax, eax
je 0xaee10d
add dword [ebp - 0x24], 1
mov dword [ebp - 0x28], 2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov word [eax + 0x20], dx
mov dword [ebp - 0x4c], 1
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jl 0xaee0be
cmp dword [ebp - 0x4c], 0
jne 0xaee281
cmp dword [ebp + 0x10], 0
je 0xaee281
cmp dword [ebp + 0xc], 0
je 0xaee144
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x48]
cmp dword [ebp - 0x3c], eax
jne 0xaee284
cmp dword [ebp + 0x10], 0
je 0xaee1a9
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
test eax, eax
je 0xaee15c
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
jmp 0xaee161
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
push dword [ebp + 0x10]
push dword [ebp - 0x60]
call fcn.00aaed6e
add esp, 8
test eax, eax
jne 0xaee287
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xc8]
cmp al, 1
jbe 0xaee1a9
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
test eax, eax
je 0xaee1a9
mov eax, dword [ebp + 0x1c]
add eax, 0x2c
sub esp, 4
push eax
push 0
push dword [ebp + 8]
call fcn.00afa745
add esp, 0x10
mov eax, dword [ebp - 0x28]
lea edx, [eax + 1]
mov dword [ebp - 0x28], edx
test eax, eax
jne 0xaee1bc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
sub esp, 0xc
push dword [ebp + 0x14]
call fcn.00aaee85
add esp, 0x10
mov byte [ebp - 0x61], al
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
jmp 0xaee26e
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax + 0xf]
cmp byte [ebp - 0x61], al
jne 0xaee266
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
sub esp, 8
push dword [ebp + 0x14]
push eax
call fcn.00aaed6e
add esp, 0x10
test eax, eax
jne 0xaee266
cmp dword [ebp - 0x24], 1
jne 0xaee236
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax + 0x24]
movzx eax, al
and eax, 4
test eax, eax
jne 0xaee262
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x34]
sub esp, 8
push dword [ebp + 0x14]
push eax
call fcn.00aedc39
add esp, 0x10
test eax, eax
jne 0xaee265
add dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x28]
cwde
cmp dword [ebp - 0x20], eax
je 0xaee254
mov eax, dword [ebp - 0x20]
mov edx, eax
jmp 0xaee259
mov edx, 0xffffffff
mov eax, dword [ebp + 0x1c]
mov word [eax + 0x20], dx
jmp 0xaee288
nop
jmp 0xaee266
nop
add dword [ebp - 0x20], 1
add dword [ebp - 0x48], 0x14
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x2a]
cwde
cmp dword [ebp - 0x20], eax
jl 0xaee1e2
jmp 0xaee288
nop
jmp 0xaee288
nop
jmp 0xaee288
nop
add dword [ebp - 0x1c], 1
add dword [ebp - 0x30], 0x48
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jl 0xaee075
cmp dword [ebp - 0x34], 0
je 0xaee2ec
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax + 0x24]
movzx eax, al
and eax, 8
test eax, eax
je 0xaee2e0
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
or eax, 0x100000
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x24], 0
jne 0xaee679
cmp dword [ebp + 0xc], 0
jne 0xaee679
mov dword [ebp - 0x44], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x78]
test eax, eax
je 0xaee3f4
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x90]
movzx eax, al
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x91]
test al, al
je 0xaee386
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
and eax, 0x400
test eax, eax
je 0xaee3f4
cmp dword [ebp + 0x10], 0
je 0xaee36b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x78]
mov eax, dword [eax]
sub esp, 8
push eax
push dword [ebp + 0x10]
call fcn.00aaed6e
add esp, 0x10
test eax, eax
jne 0xaee3f4
cmp dword [ebp - 0x68], 0x7f
setne al
movzx edx, al
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x44], eax
jmp 0xaee3f4
cmp dword [ebp - 0x68], 0x7f
je 0xaee3be
cmp dword [ebp + 0x10], 0
je 0xaee3be
sub esp, 8
push dword [ebp + 0x10]
push 0x1428431
call fcn.00aaed6e
add esp, 0x10
test eax, eax
jne 0xaee3be
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x44], eax
jmp 0xaee3f4
cmp dword [ebp - 0x68], 0x7e
je 0xaee3f4
cmp dword [ebp + 0x10], 0
je 0xaee3f4
sub esp, 8
push dword [ebp + 0x10]
push 0x1428435
call fcn.00aaed6e
add esp, 0x10
test eax, eax
jne 0xaee3f4
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
and eax, 0x200
test eax, eax
je 0xaee445
cmp dword [ebp + 0x10], 0
je 0xaee445
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0xaee445
sub esp, 8
push dword [ebp + 0x10]
push str.excluded
call fcn.00aaed6e
add esp, 0x10
test eax, eax
jne 0xaee445
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 2
cmp dword [ebp - 0x44], 0
je 0xaee679
sub esp, 0xc
push dword [ebp + 0x14]
call fcn.00aaee85
add esp, 0x10
mov byte [ebp - 0x6d], al
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x3c], eax
add dword [ebp - 0x28], 1
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
jmp 0xaee4c1
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax + 0xf]
cmp byte [ebp - 0x6d], al
jne 0xaee4b9
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
sub esp, 8
push dword [ebp + 0x14]
push eax
call fcn.00aaed6e
add esp, 0x10
test eax, eax
jne 0xaee4b9
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x28]
cwde
cmp dword [ebp - 0x50], eax
jne 0xaee4d0
mov dword [ebp - 0x50], 0xffffffff
jmp 0xaee4d0
add dword [ebp - 0x50], 1
add dword [ebp - 0x48], 0x14
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x2a]
cwde
cmp dword [ebp - 0x50], eax
jl 0xaee47f
jmp 0xaee4d1
nop
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x2a]
cwde
cmp dword [ebp - 0x50], eax
jl 0xaee506
sub esp, 0xc
push dword [ebp + 0x14]
call fcn.00af3dbf
add esp, 0x10
test eax, eax
je 0xaee506
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x24]
and eax, 0x200
test eax, eax
jne 0xaee506
mov dword [ebp - 0x50], 0xffffffff
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x2a]
cwde
cmp dword [ebp - 0x50], eax
jge 0xaee679
add dword [ebp - 0x24], 1
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x1c]
cmp eax, 2
jne 0xaee58e
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xc8]
cmp al, 1
jbe 0xaee55c
mov eax, dword [ebp - 0x50]
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov word [eax + 0x20], dx
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0x2c], edx
mov dword [ebp - 0x40], 0xa6
jmp 0xaee679
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
mov edi, dword [eax + 0x24]
mov eax, dword [ebp - 0x50]
cwde
sub esp, 8
push eax
push dword [ebp - 0x44]
call fcn.00b013c9
add esp, 0x10
cwde
lea edx, [edi + eax]
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], edx
mov dword [ebp - 0x40], 0xaf
jmp 0xaee679
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x91]
test al, al
je 0xaee5ed
mov dword [ebp - 0x40], 0xaf
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x2a]
cwde
lea ecx, [eax + 1]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x1c]
imul eax, ecx
lea edi, [edx + eax]
mov eax, dword [ebp - 0x50]
cwde
sub esp, 8
push eax
push dword [ebp - 0x44]
call fcn.00b013c9
add esp, 0x10
cwde
add eax, edi
lea edx, [eax + 1]
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], edx
jmp 0xaee679
mov eax, dword [ebp - 0x50]
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov word [eax + 0x20], dx
mov dword [ebp - 0x40], 0x4d
cmp dword [ebp - 0x50], 0
jns 0xaee60f
mov eax, dword [ebp + 0x1c]
mov byte [eax + 1], 0x44
jmp 0xaee679
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0xaee64a
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x88]
cmp dword [ebp - 0x50], 0x1f
jg 0xaee638
mov eax, dword [ebp - 0x50]
mov edi, 1
mov ecx, eax
shl edi, cl
mov eax, edi
jmp 0xaee63d
mov eax, 0xffffffff
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x88], edx
jmp 0xaee679
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x8c]
cmp dword [ebp - 0x50], 0x1f
jg 0xaee669
mov eax, dword [ebp - 0x50]
mov edi, 1
mov ecx, eax
shl edi, cl
mov eax, edi
jmp 0xaee66e
mov eax, 0xffffffff
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x8c], edx
cmp dword [ebp - 0x24], 0
jne 0xaee6d3
cmp dword [ebp - 0x28], 1
jne 0xaee6d3
cmp dword [ebp - 0x34], 0
je 0xaee6d3
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
and eax, 0x28
test eax, eax
jne 0xaee6d3
sub esp, 0xc
push dword [ebp + 0x14]
call fcn.00af3dbf
add esp, 0x10
test eax, eax
je 0xaee6d3
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x24]
and eax, 0x200
test eax, eax
jne 0xaee6d3
mov dword [ebp - 0x24], 1
mov eax, dword [ebp + 0x1c]
mov word [eax + 0x20], 0xffff
mov eax, dword [ebp + 0x1c]
mov byte [eax + 1], 0x44
cmp dword [ebp - 0x24], 0
jne 0xaee891
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
and eax, 0x80
test eax, eax
je 0xaee891
cmp dword [ebp + 0x10], 0
jne 0xaee891
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x20], 0
jmp 0xaee883
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 2
add eax, ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 2
add eax, ecx
movzx eax, byte [eax + 0x14]
and eax, 3
test al, al
jne 0xaee87f
sub esp, 8
push dword [ebp + 0x14]
push dword [ebp - 0x74]
call fcn.00aaed2e
add esp, 0x10
test eax, eax
jne 0xaee87f
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 2
add eax, ecx
add eax, 8
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
and eax, 1
test eax, eax
jne 0xaee7b7
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
and eax, 0x10
test eax, eax
je 0xaee7b7
sub esp, 4
push dword [ebp - 0x74]
push str.misuse_of_aliased_aggregate__s
push dword [ebp + 8]
call fcn.00aaeb3c
add esp, 0x10
mov eax, 2
jmp 0xaeeaef
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
and eax, 0x8000
test eax, eax
je 0xaee7fd
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
and eax, 0x4000
test eax, eax
je 0xaee7dd
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp - 0x38]
je 0xaee7fd
sub esp, 4
push dword [ebp - 0x74]
push str.misuse_of_aliased_window_function__s
push dword [ebp + 8]
call fcn.00aaeb3c
add esp, 0x10
mov eax, 2
jmp 0xaeeaef
sub esp, 0xc
push dword [ebp - 0x78]
call fcn.00af122c
add esp, 0x10
cmp eax, 1
je 0xaee82d
sub esp, 8
push str.row_value_misused
push dword [ebp + 8]
call fcn.00aaeb3c
add esp, 0x10
mov eax, 2
jmp 0xaeeaef
sub esp, 0xc
push dword [ebp - 0x2c]
push dword [ebp + 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x5c]
push dword [ebp + 8]
call fcn.00aedae4
add esp, 0x20
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xc8]
cmp al, 1
jbe 0xaeea7e
sub esp, 4
push dword [ebp + 0x1c]
push 0
push dword [ebp + 8]
call fcn.00afa745
add esp, 0x10
jmp 0xaeea7e
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jl 0xaee70f
cmp dword [ebp - 0x24], 0
jne 0xaee8b0
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x18], eax
add dword [ebp - 0x2c], 1
cmp dword [ebp + 0x18], 0
jne 0xaee04d
jmp 0xaee8b1
nop
cmp dword [ebp - 0x24], 0
jne 0xaee92a
cmp dword [ebp + 0x10], 0
jne 0xaee92a
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
and eax, 0x40
test eax, eax
je 0xaee90e
sub esp, 8
push dword [ebp - 0x38]
push dword [ebp - 0x54]
call fcn.00aedda4
add esp, 0x10
test eax, eax
je 0xaee90e
sub esp, 4
push dword [ebp + 0x14]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.00aad8e2
add esp, 0x10
mov eax, dword [ebp + 0x1c]
mov byte [eax], 0x74
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x2c], 0
mov eax, 1
jmp 0xaeeaef
sub esp, 0xc
push dword [ebp + 0x1c]
call fcn.00af36dd
add esp, 0x10
test eax, eax
je 0xaee92a
mov eax, 1
jmp 0xaeeaef
cmp dword [ebp - 0x24], 1
je 0xaee9c0
cmp dword [ebp - 0x24], 0
jne 0xaee941
mov eax, str.no_such_column
jmp 0xaee946
mov eax, str.ambiguous_column_name
mov dword [ebp - 0x7c], eax
cmp dword [ebp + 0xc], 0
je 0xaee970
sub esp, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x7c]
push str._s:__s._s._s
push dword [ebp + 8]
call fcn.00aaeb3c
add esp, 0x20
jmp 0xaee9aa
cmp dword [ebp + 0x10], 0
je 0xaee994
sub esp, 0xc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x7c]
push str._s:__s._s
push dword [ebp + 8]
call fcn.00aaeb3c
add esp, 0x20
jmp 0xaee9aa
push dword [ebp + 0x14]
push dword [ebp - 0x7c]
push str._s:__s
push dword [ebp + 8]
call fcn.00aaeb3c
add esp, 0x10
mov eax, dword [ebp + 8]
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 0x1c]
movzx eax, word [eax + 0x20]
test ax, ax
js 0xaeea12
cmp dword [ebp - 0x34], 0
je 0xaeea12
sub esp, 0xc
push dword [ebp + 0x1c]
call fcn.00aede87
add esp, 0x10
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov ecx, dword [ebp - 0x90]
or ecx, eax
mov ebx, ecx
mov edi, dword [ebp - 0x8c]
or edi, edx
mov esi, edi
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], esi
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
and eax, 0x804000
test eax, eax
jne 0xaeea5f
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0xc]
sub esp, 8
push eax
push dword [ebp - 0x54]
call fcn.00af21bc
add esp, 0x10
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0xc], 0
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x10]
sub esp, 8
push eax
push dword [ebp - 0x54]
call fcn.00af21bc
add esp, 0x10
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x40]
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov byte [eax], dl
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
or eax, 0x800000
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov dword [eax + 4], edx
jmp 0xaeea7f
nop
cmp dword [ebp - 0x24], 1
jne 0xaeeaea
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x150]
test eax, eax
je 0xaeeac0
mov eax, dword [ebp + 0x1c]
movzx eax, byte [eax]
cmp al, 0xa6
je 0xaeeaa8
mov eax, dword [ebp + 0x1c]
movzx eax, byte [eax]
cmp al, 0x4d
jne 0xaeeac0
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x3c]
push dword [ebp + 0x1c]
push dword [ebp + 8]
call fcn.00affa56
add esp, 0x10
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp + 0x18]
je 0xaeeae2
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x38], eax
jmp 0xaeeac0
nop
mov eax, 1
jmp 0xaeeaef
mov eax, 2
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret