Function at 0x4d2ae4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4d2aec
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404b1c
xor eax, eax
push ebp
push 0x4d34d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov byte [ebp - 0xa], 1
mov byte [ebp - 0xb], 1
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x14]
call fcn.0040466c
cmp dword [ebp - 8], 0
jne 0x4d2b58
lea eax, [ebp - 0x14]
mov edx, 0x4d34ec
call fcn.00404704
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x9c]
call fcn.00404704
mov byte [ebp - 9], 1
push dword [ebp - 0x14]
push 0x4d34f8
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00408f28
push dword [ebp - 0x24]
push 0x4d3514
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004b2cc4
lea edx, [ebp - 0x28]
call fcn.004092f4
push dword [ebp - 0x28]
push 0x4d3528
lea eax, [ebp - 0x14]
mov edx, 6
call fcn.004049ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14]
call fcn.0040466c
mov eax, dword [ebp - 4]
call fcn.004daa18
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4d3480
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, 0x4d3534
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.004b14fc
lea eax, [ebp - 0x14]
push eax
mov edx, 0x4d35b0
mov eax, dword [ebp - 0x18]
call fcn.004b1764
lea edx, [ebp - 0x34]
call fcn.004b083c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d35d0
call fcn.0040a3bc
cmp byte [ebp - 9], 0
je 0x4d2c29
lea eax, [ebp - 0x14]
mov edx, 0x4d35f4
call fcn.00404934
jmp 0x4d2c36
lea eax, [ebp - 0x14]
mov edx, 0x4d3600
call fcn.00404934
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
call fcn.004b13b0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, 0x4d360c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.004b14fc
jmp 0x4d2fb1
cmp byte [ebp - 0xa], 0
je 0x4d2c83
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x4d365c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebp - 0xa], 0
mov edx, 0x4d368c
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004afc88
test al, al
je 0x4d2c9d
xor ebx, ebx
jmp 0x4d2cb1
mov edx, 0x4d368c
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
mov ebx, eax
mov edx, 0x4d36a4
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004afc88
test al, al
je 0x4d2ccb
xor esi, esi
jmp 0x4d2cdf
mov edx, 0x4d36a4
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
mov esi, eax
mov edx, 0x4d36bc
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004afc88
test al, al
je 0x4d2cfc
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x4d2d11
mov edx, 0x4d36bc
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
mov dword [ebp - 0x1c], eax
mov edx, 0x4d36d8
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004afc88
test al, al
je 0x4d2d2e
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x4d2d43
mov edx, 0x4d36d8
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
mov dword [ebp - 0x20], eax
test ebx, ebx
jne 0x4d2df1
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4d3528
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov edx, 0x4d36f0
mov eax, dword [ebp - 0x18]
call fcn.004b1764
lea edx, [ebp - 0x48]
call fcn.004b083c
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x4d3708
call fcn.0040a3bc
cmp dword [ebp - 0x20], 0
je 0x4d2dba
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d3730
call fcn.0040a3bc
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
call fcn.00404934
test esi, esi
je 0x4d2de3
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d3748
call fcn.0040a3bc
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x14]
call fcn.00404934
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test bl, 8
je 0x4d2e4c
lea eax, [ebp - 0x54]
push eax
mov eax, 0x4d3528
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov edx, 0x4d36f0
mov eax, dword [ebp - 0x18]
call fcn.004b1764
lea edx, [ebp - 0x70]
call fcn.004b083c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x6c]
mov ecx, 2
mov eax, 0x4d375c
call fcn.0040a3bc
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14]
call fcn.0040466c
test bl, 1
je 0x4d2fa9
cmp dword [ebp - 0x1c], 0
je 0x4d2ea5
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x44], 9
mov byte [ebp - 0x40], 2
mov edx, 0x4d36f0
mov eax, dword [ebp - 0x18]
call fcn.004b1764
lea edx, [ebp - 0x74]
call fcn.004b083c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x4d3790
call fcn.0040a3bc
jmp 0x4d2f44
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4d3528
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov edx, 0x4d37a4
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
mov edx, 0x4d36f0
mov eax, dword [ebp - 0x18]
call fcn.004b1764
lea edx, [ebp - 0x78]
call fcn.004b083c
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 2
mov eax, 0x4d37c0
call fcn.0040a3bc
test bl, 2
je 0x4d2f11
lea eax, [ebp - 0x14]
mov edx, 0x4d37e4
call fcn.00404934
test bl, 4
je 0x4d2f25
lea eax, [ebp - 0x14]
mov edx, 0x4d37f8
call fcn.00404934
jmp 0x4d2f32
lea eax, [ebp - 0x14]
mov edx, 0x4d3808
call fcn.00404934
test bl, 0x10
je 0x4d2f44
lea eax, [ebp - 0x14]
mov edx, 0x4d3818
call fcn.00404934
test esi, esi
je 0x4d2f6d
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d3830
call fcn.0040a3bc
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x14]
call fcn.00404934
cmp dword [ebp - 0x20], 0
je 0x4d2f9b
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d3844
call fcn.0040a3bc
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.00404934
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
call fcn.004b18c4
mov eax, dword [ebp - 0x18]
call fcn.004b1750
test al, al
je 0x4d2c69
mov eax, dword [ebp - 0x18]
call fcn.004b13b0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, 0x4d385c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.004b14fc
jmp 0x4d323c
mov edx, 0x4d368c
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004afc88
test al, al
je 0x4d3000
xor ebx, ebx
jmp 0x4d3014
mov edx, 0x4d368c
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
mov ebx, eax
mov edx, 0x4d36a4
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004afc88
test al, al
je 0x4d302e
xor esi, esi
jmp 0x4d3042
mov edx, 0x4d36a4
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
mov esi, eax
lea eax, [ebp - 0x14]
call fcn.0040466c
mov byte [ebp - 0xc], 1
cmp byte [ebp - 0xa], 0
je 0x4d3085
cmp byte [ebp - 9], 0
je 0x4d3067
lea eax, [ebp - 0x14]
mov edx, 0x4d34ec
call fcn.00404704
push dword [ebp - 0x14]
push 0x4d3528
push 0x4d38ac
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004049ec
mov byte [ebp - 0xa], 0
cmp byte [ebp - 0xb], 0
je 0x4d3098
lea eax, [ebp - 0x14]
mov edx, 0x4d38c8
call fcn.00404934
test bl, 2
jne 0x4d31f7
test bl, 8
je 0x4d3103
lea eax, [ebp - 0x84]
push eax
mov eax, 0x4d3528
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov edx, 0x4d36f0
mov eax, dword [ebp - 0x18]
call fcn.004b1764
lea edx, [ebp - 0x88]
call fcn.004b083c
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x4d38dc
call fcn.0040a3bc
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x14]
call fcn.00404934
jmp 0x4d31f7
test bl, 1
je 0x4d3165
lea eax, [ebp - 0x8c]
push eax
mov eax, 0x4d3528
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov edx, 0x4d36f0
mov eax, dword [ebp - 0x18]
call fcn.004b1764
lea edx, [ebp - 0x90]
call fcn.004b083c
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x4d38f8
call fcn.0040a3bc
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x14]
call fcn.00404934
jmp 0x4d31f7
cmp byte [ebp - 0xb], 0
je 0x4d317a
lea eax, [ebp - 0x14]
mov edx, 0x4d3914
call fcn.00404934
jmp 0x4d31aa
lea eax, [ebp - 0x94]
push eax
mov eax, 0x4d3528
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d3920
call fcn.0040a3bc
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x14]
call fcn.00404934
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x98]
push eax
mov edx, 0x4d36f0
mov eax, dword [ebp - 0x18]
call fcn.004b1764
lea edx, [ebp - 0x9c]
call fcn.004b083c
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d3930
call fcn.0040a3bc
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x14]
call fcn.00404934
test esi, esi
je 0x4d3226
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d3940
call fcn.0040a3bc
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 0x14]
call fcn.00404934
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
call fcn.004b18c4
mov eax, dword [ebp - 0x18]
call fcn.004b1750
test al, al
je 0x4d2fe6
mov eax, dword [ebp - 0x18]
call fcn.004b13b0
lea eax, [ebp - 0x14]
call fcn.0040466c
cmp byte [ebp - 0xc], 0
je 0x4d33cc
lea ecx, [ebp - 0xa4]
lea edx, [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.004d7f5c
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0x14]
call fcn.00404934
lea eax, [ebp - 0xa8]
push eax
push ebp
mov eax, 0x26
call fcn.004d2a54
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d3954
call fcn.0040a3bc
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 0x14]
call fcn.00404934
lea ecx, [ebp - 0xac]
lea edx, [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.004d7f5c
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 0x14]
call fcn.00404934
lea eax, [ebp - 0xb0]
push eax
push ebp
mov eax, 0x27
call fcn.004d2a54
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d3974
call fcn.0040a3bc
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0x14]
call fcn.00404934
lea ecx, [ebp - 0xb4]
lea edx, [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.004d7f5c
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0x14]
call fcn.00404934
lea eax, [ebp - 0xb8]
push eax
push ebp
mov eax, 0x2f
call fcn.004d2a54
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d3994
call fcn.0040a3bc
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0x14]
call fcn.00404934
lea ecx, [ebp - 0xbc]
lea edx, [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.004d7f5c
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x14]
call fcn.00404934
lea eax, [ebp - 0xc0]
push eax
push ebp
mov eax, 0x28
call fcn.004d2a54
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4d39b8
call fcn.0040a3bc
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0x14]
call fcn.00404934
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp byte [ebp - 0xa], 0
jne 0x4d346a
cmp byte [ebp - 9], 0
je 0x4d3420
lea eax, [ebp - 0xc4]
push eax
mov eax, 0x4d3528
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, 0x4d3528
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x4d39d8
call fcn.0040a3bc
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d346a
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 0x6c], 0x3b
mov byte [ebp - 0x68], 2
mov eax, 0x4d3528
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4d3528
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 2
mov eax, 0x4d39e8
call fcn.0040a3bc
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3487
mov eax, dword [ebp - 0x18]
call fcn.0040381c
ret