Function at 0x410657
Capabilities:
Reference sql statements

Disassembly:
push 0x3c
mov eax, 0x4de43d
call fcn.004dc99a
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp + 8]
call fcn.0040ff35
and dword [ebp - 0x20], 0
and dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov ebx, dword [0x4ee494]
push 0x52a290
mov dword [ebp - 0x30], eax
call ebx
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x410c85
push 0x52a3c0
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x410c85
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
push edx
push 0
push 0
mov eax, dword [ecx]
push edi
push esi
push ecx
call dword [eax + 0x50]
push esi
mov esi, dword [0x4ee498]
mov dword [ebp - 0x30], eax
call esi
push edi
mov byte [ebp - 4], 0
call esi
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x410c6b
cmp dword [ebp - 0x30], 0
jl 0x410c6b
and dword [ebp - 0x48], 0
and dword [ebp - 0x44], 0
call fcn.0040e9d4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
call fcn.0040e9d4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
call fcn.00409016
push eax
lea ecx, [ebp - 0x30]
call fcn.00408e41
mov byte [ebp - 4], 5
call fcn.00409016
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408e41
and dword [ebp - 0x28], 0
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
xor esi, esi
push edx
lea edx, [ebp - 0x10]
inc esi
push edx
mov ecx, dword [eax]
push esi
push 0
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4108c0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41077a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, 0x52a3c8
lea ecx, [ebp - 0x1c]
call fcn.0041015f
mov ecx, esp
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41079f
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, 0x52a3d4
lea ecx, [ebp - 0x18]
call fcn.0041015f
mov ecx, esp
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4107c4
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, 0x52a3f0
lea ecx, [ebp - 0x14]
call fcn.0041015f
pop ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040e4f9
mov ecx, eax
call fcn.0040585f
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e4f9
mov ecx, eax
call fcn.0040585f
push 0x52a408
lea ecx, [ebp - 0x18]
call fcn.0040c8af
test eax, eax
jne 0x41082c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040585f
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.0040585f
push 0x52a40c
lea ecx, [ebp - 0x18]
call fcn.0040c8af
test eax, eax
je 0x41084e
push 0x52a418
lea ecx, [ebp - 0x18]
call fcn.0040c8af
test eax, eax
jne 0x410869
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040585f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebx + 0x84]
call fcn.0040585f
lea ecx, [ebp - 0x14]
call fcn.004090e7
lea ecx, [ebp - 0x18]
call fcn.004090e7
lea ecx, [ebp - 0x1c]
call fcn.004090e7
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410892
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x28], 0
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [eax]
push esi
push 0
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x410765
mov ebx, dword [0x4ee494]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4108d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0xb
push 0x52a420
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
call ebx
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x410c85
push 0x52a3c0
mov byte [ebp - 4], 0xc
call ebx
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x410c85
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push edi
mov byte [ebp - 4], 0xd
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x50]
push esi
mov esi, dword [0x4ee498]
mov ebx, eax
call esi
push edi
call esi
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x410c36
test ebx, ebx
js 0x410c36
and dword [ebp - 0x28], 0
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
mov eax, dword [ecx]
xor ebx, ebx
push edx
lea edx, [ebp - 0x10]
inc ebx
push edx
push ebx
push 0
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x410c20
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410986
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, 0x52a3c8
lea ecx, [ebp - 0x14]
call fcn.0041015f
mov ecx, esp
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4109ab
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, 0x52a564
lea ecx, [ebp - 0x1c]
call fcn.0041015f
mov ecx, esp
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4109d0
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, 0x52a574
lea ecx, [ebp - 0x18]
call fcn.0041015f
pop ecx
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x2c]
call fcn.0040c8af
test eax, eax
jne 0x410a92
mov ecx, dword [ebp - 0x14]
mov edx, 0x52a58c
push eax
call fcn.0041dd07
pop ecx
test eax, eax
je 0x410a92
push 0x52a598
lea ecx, [ebp - 0x18]
call fcn.0040c8af
test eax, eax
jne 0x410a4d
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410a35
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, esi
mov ecx, 0x52a5a4
call fcn.0041023d
pop ecx
mov dword [edi + 0x88], eax
jmp 0x410bcf
push 0x52a5b0
lea ecx, [ebp - 0x18]
call fcn.0040c8af
test eax, eax
jne 0x410bcf
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410a7a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, esi
mov ecx, 0x52a5a4
call fcn.0041023d
pop ecx
mov dword [edi + 0x8c], eax
jmp 0x410bcf
push 0x52a598
lea ecx, [ebp - 0x18]
call fcn.0040c8af
test eax, eax
jne 0x410b45
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
call fcn.0040c8af
test eax, eax
jne 0x410b45
mov ecx, dword [ebp - 0x14]
mov edx, 0x52a5b8
push eax
call fcn.0041dd07
pop ecx
test eax, eax
je 0x410b45
mov eax, dword [ebp - 0x14]
push 0x52a5c4
mov esi, dword [eax - 0xc]
call dword [0x4ee398]
cmp esi, eax
jg 0x410b45
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410afa
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, esi
mov ecx, 0x52a5d4
call fcn.0041023d
mov esi, eax
pop ecx
cmp esi, 0x1f
ja 0x410bcf
mov edi, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, esp
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410b2a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, edi
mov ecx, 0x52a5a4
call fcn.0041023d
pop ecx
mov ecx, dword [ebp + 8]
mov edi, ecx
mov dword [ecx + esi*4 + 4], eax
jmp 0x410bcf
push 0x52a5e0
lea ecx, [ebp - 0x18]
call fcn.0040c8af
test eax, eax
jne 0x410bcf
push 0x52a5e8
lea ecx, [ebp - 0x14]
call fcn.0040c8af
test eax, eax
jne 0x410bcf
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040e4f9
push 0x52a5f8
mov ecx, eax
call fcn.0040c8af
test eax, eax
jne 0x410bcf
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410b9b
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, esi
mov ecx, 0x52a5a4
call fcn.0041023d
mov esi, eax
pop ecx
cmp esi, 0x64
ja 0x410bcf
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e4f9
mov ecx, dword [ebp + 8]
push eax
lea ecx, [ecx + 0x90]
call fcn.00410d87
mov edi, dword [ebp + 8]
mov dword [eax], esi
lea ecx, [ebp - 0x18]
call fcn.004090e7
lea ecx, [ebp - 0x1c]
call fcn.004090e7
lea ecx, [ebp - 0x14]
call fcn.004090e7
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410bf8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x28], 0
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x24]
push edx
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [eax]
push ebx
push 0
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x410971
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410c31
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
jmp 0x410c38
xor ebx, ebx
mov byte [ebp - 4], 6
test ecx, ecx
je 0x410c46
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x2c]
call fcn.004090e7
lea ecx, [ebp - 0x30]
call fcn.004090e7
lea ecx, [ebp - 0x40]
call fcn.0040e4d7
lea ecx, [ebp - 0x48]
call fcn.0040e4d7
mov ecx, dword [ebp - 0x20]
jmp 0x410c6d
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x410c7b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
call fcn.004dc963
ret 4
push 0x8007000e
call fcn.004094ea
int3