Function at 0x4d5d4c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x4d5d54
push ecx
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 0x4d656b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 1
mov eax, dword [ebp - 4]
call fcn.004daa18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004daa18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.004daa18
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.004daa18
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4d6507
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x4d5dd0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4d6580
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4d5dfa
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4d65c0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004b1c44
mov edx, 0x4d6628
call fcn.004b0b3c
mov edx, dword [ebp - 8]
call fcn.004b07ec
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
mov edx, 0x4d6640
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, 0x4d66b8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x58]
mov edx, 0x4d674c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004b14fc
jmp 0x4d64c9
cmp byte [ebp - 0x19], 0
je 0x4d5e7d
lea eax, [ebp - 0x30]
push eax
mov eax, 0x4d67a8
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov eax, 0x4d67a8
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea edx, [ebp - 0x40]
mov ecx, 1
mov eax, 0x4d67b4
call fcn.0040a3bc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x44]
push eax
mov edx, 0x4d67e8
mov eax, dword [ebp - 0xc]
call fcn.004b1764
lea edx, [ebp - 0x50]
call fcn.004b083c
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x4d6804
call fcn.0040a3bc
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x28]
call fcn.0040466c
mov byte [ebp - 0x1a], 1
mov edx, 0x4d67e8
mov eax, dword [ebp - 0xc]
call fcn.004b1764
lea edx, [ebp - 0x54]
call fcn.004b083c
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004b1c44
mov edx, 0x4d682c
call fcn.004b0b3c
pop edx
call fcn.004b07ec
mov eax, dword [ebp - 0x10]
call fcn.004b14fc
jmp 0x4d63e1
xor ebx, ebx
mov edx, 0x4d6844
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
mov esi, eax
jmp 0x4d5f20
inc ebx
cmp esi, dword [ebx*8 + 0x4e8984]
jne 0x4d5f1f
mov eax, esi
sub eax, 0xe
je 0x4d5f3e
sub eax, 0x17
je 0x4d5f3e
sub eax, 3
jne 0x4d606c
mov byte [ebp - 0x1b], 0
mov edx, 0x4d685c
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
push eax
mov eax, dword [ebp - 0x14]
call fcn.004b1c44
mov edx, 0x4d687c
call fcn.004b0b3c
pop edx
call fcn.004aff78
mov eax, dword [ebp - 0x14]
call fcn.004b14fc
jmp 0x4d6008
mov byte [ebp - 0x1b], 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx*8 + 0x4e8988]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov edx, 0x4d6898
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
push eax
mov edx, 0x4d68b4
mov eax, dword [ebp - 0x14]
call fcn.004b1764
call fcn.004af698
mov edx, eax
mov eax, 1
call fcn.004bd3a0
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
mov edx, 0x4d68d4
mov eax, dword [ebp - 0x14]
call fcn.004b1764
lea edx, [ebp - 0x70]
call fcn.004b083c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 2
mov eax, 0x4d68f4
call fcn.0040a3bc
mov eax, dword [ebp - 0x14]
call fcn.004b18c4
mov eax, dword [ebp - 0x14]
call fcn.004b1750
test al, al
je 0x4d5f7a
mov eax, dword [ebp - 0x14]
call fcn.004b13b0
cmp byte [ebp - 0x1b], 0
jne 0x4d62d6
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx*8 + 0x4e8988]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov edx, 0x4d6898
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x40]
mov ecx, 1
mov eax, 0x4d6914
call fcn.0040a3bc
jmp 0x4d62d6
mov byte [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004b2cb8
cmp eax, 0xa
jl 0x4d61d9
mov eax, esi
add eax, 0xfffffff9
sub eax, 2
jb 0x4d6097
sub eax, 7
jne 0x4d61d9
mov edx, 0x4d67e8
mov eax, dword [ebp - 0x10]
call fcn.004b1764
lea edx, [ebp - 0x74]
call fcn.004b083c
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004b1c44
mov edx, 0x4d67e8
call fcn.004b0b3c
pop edx
call fcn.004b07ec
mov edx, 0x4d6924
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
push eax
mov eax, dword [ebp - 0x18]
call fcn.004b1c44
mov edx, 0x4d6924
call fcn.004b0b3c
pop edx
call fcn.004aff78
mov eax, dword [ebp - 0x18]
call fcn.004b14fc
jmp 0x4d61c1
mov edx, 0x4d6944
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004afc88
test al, al
jne 0x4d61b9
mov edx, 0x4d6960
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
test eax, eax
jle 0x4d61b9
mov edx, 0x4d6960
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
cmp eax, 2
jg 0x4d61b9
lea eax, [ebp - 0x24]
push eax
mov edx, 0x4d6960
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
mov eax, dword [eax*4 + 0x4e8a3c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov edx, 0x4d6944
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
mov edx, 0x4d697c
mov eax, dword [ebp - 0x18]
call fcn.004b1764
call fcn.004af698
neg eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x6c]
mov ecx, 2
mov eax, 0x4d6994
call fcn.0040a3bc
mov byte [ebp - 0x1c], 1
mov eax, dword [ebp - 0x18]
call fcn.004b18c4
mov eax, dword [ebp - 0x18]
call fcn.004b1750
test al, al
je 0x4d6100
mov eax, dword [ebp - 0x18]
call fcn.004b13b0
cmp byte [ebp - 0x1c], 0
jne 0x4d62d6
cmp esi, 7
jne 0x4d6231
mov edx, 0x4d697c
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
test eax, eax
jge 0x4d6231
lea eax, [ebp - 0x24]
push eax
mov edx, 0x4d697c
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
neg eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x4d69a8
call fcn.0040a3bc
jmp 0x4d62d6
cmp esi, 8
jne 0x4d627c
mov edx, 0x4d697c
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
test eax, eax
jge 0x4d627c
lea eax, [ebp - 0x24]
push eax
mov edx, 0x4d697c
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
neg eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x4d69c0
call fcn.0040a3bc
jmp 0x4d62d6
cmp esi, 0x1b
jne 0x4d62c7
mov edx, 0x4d697c
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
test eax, eax
jge 0x4d62c7
lea eax, [ebp - 0x24]
push eax
mov edx, 0x4d697c
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
neg eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x4d69d8
call fcn.0040a3bc
jmp 0x4d62d6
lea eax, [ebp - 0x24]
mov edx, dword [ebx*8 + 0x4e8988]
call fcn.00404704
mov byte [ebp - 0x29], 1
mov edx, 0x4d69f0
mov eax, dword [ebp - 0xc]
call fcn.004b1764
call fcn.004af698
mov ebx, eax
mov edx, 0x4d6924
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
cmp ebx, eax
jne 0x4d63a4
mov edx, 0x4d69f0
mov eax, dword [ebp - 0xc]
call fcn.004b1764
call fcn.004af698
test eax, eax
jne 0x4d6334
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x4d6a0c
call fcn.00404978
mov byte [ebp - 0x29], 0
jmp 0x4d635e
mov edx, 0x4d69f0
mov eax, dword [ebp - 0xc]
call fcn.004b1764
call fcn.004af698
lea edx, [ebp - 0x78]
call fcn.004092f4
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x20]
mov edx, 0x4d6a20
call fcn.00404978
mov edx, 0x4d6a3c
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
test eax, eax
jne 0x4d6381
lea eax, [ebp - 0x20]
mov edx, 0x4d6a54
call fcn.00404934
mov edx, 0x4d6a3c
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
test eax, eax
jge 0x4d63a4
lea eax, [ebp - 0x20]
mov edx, 0x4d6a68
call fcn.00404934
cmp byte [ebp - 0x29], 0
je 0x4d63d9
cmp byte [ebp - 0x1a], 0
je 0x4d63c1
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00404934
mov byte [ebp - 0x1a], 0
jmp 0x4d63d9
push dword [ebp - 0x28]
push 0x4d6a7c
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004049ec
mov eax, dword [ebp - 0x10]
call fcn.004b18c4
mov eax, dword [ebp - 0x10]
call fcn.004b1750
test al, al
je 0x4d5f07
mov eax, dword [ebp - 0x10]
call fcn.004b13b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x7c]
push eax
mov edx, 0x4d6a88
mov eax, dword [ebp - 0xc]
call fcn.004b1764
lea edx, [ebp - 0xa8]
call fcn.004b083c
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0xb
mov edx, 0x4d6aa0
mov eax, dword [ebp - 0xc]
call fcn.004b1764
lea edx, [ebp - 0xac]
call fcn.004b083c
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0xb
mov byte [ebp - 0x94], 0x3b
mov byte [ebp - 0x90], 2
mov eax, 0x4d67a8
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0xb
mov eax, 0x4d67a8
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0xa4]
mov ecx, 4
mov eax, 0x4d6ab8
call fcn.0040a3bc
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004b18c4
mov eax, dword [ebp - 0xc]
call fcn.004b1750
test al, al
je 0x4d5e37
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d650e
mov eax, dword [ebp - 0xc]
call fcn.0040381c
mov eax, dword [ebp - 0x10]
call fcn.0040381c
mov eax, dword [ebp - 0x14]
call fcn.0040381c
mov eax, dword [ebp - 0x18]
call fcn.0040381c
ret