Function at 0x4d8494
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4d849d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404b1c
mov eax, dword [ebp - 8]
call fcn.00404b1c
xor eax, eax
push ebp
push 0x4d8ce3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4d8c8e
mov byte [ebp - 0x35], 1
mov dword [ebp - 0x30], 0xffffffff
lea eax, [ebp - 0xc]
call fcn.0040466c
lea eax, [ebp - 0x18]
call fcn.0040466c
lea eax, [ebp - 0x1c]
call fcn.0040466c
lea eax, [ebp - 0x14]
call fcn.0040466c
xor eax, eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x36], 0
lea eax, [ebp - 0x10]
call fcn.0040466c
mov eax, ebx
call fcn.004daa18
mov dword [ebp - 0x3c], eax
xor eax, eax
push ebp
push 0x4d8c87
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x58]
mov edx, 0x4d8cfc
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x3c]
call fcn.004b1c44
mov edx, 0x4d8e80
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
mov eax, dword [ebp - 0x3c]
call fcn.004b14fc
jmp 0x4d889a
mov edx, 0x4d8e94
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
call fcn.004afc88
test al, al
je 0x4d857f
xor esi, esi
jmp 0x4d8593
mov edx, 0x4d8e94
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
call fcn.004af698
mov esi, eax
mov edx, 0x4d8eb0
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
call fcn.004afc88
test al, al
je 0x4d85b3
lea eax, [ebp - 0x24]
call fcn.0040466c
jmp 0x4d85c8
mov edx, 0x4d8eb0
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
lea edx, [ebp - 0x24]
call fcn.004b083c
mov edx, 0x4d8ec8
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
lea edx, [ebp - 0x40]
call fcn.004b083c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x28]
call fcn.00408ea4
cmp dword [ebp - 0xc], 0
je 0x4d85fb
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
call fcn.00404a78
jne 0x4d863e
cmp byte [ebp - 0x35], 0
jne 0x4d8618
mov edx, 0x4d8eb0
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
call fcn.004afc88
cmp al, byte [ebp - 0x36]
jne 0x4d863e
cmp byte [ebp - 0x36], 0
jne 0x4d862b
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
call fcn.00404a78
jne 0x4d863e
cmp dword [ebp - 0x30], 0xffffffff
je 0x4d86df
cmp esi, dword [ebp - 0x30]
je 0x4d86df
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.004d8444
mov byte [ebp - 0x35], 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebx + 0x30]
call fcn.004b562c
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x30]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea edx, [ebp - 0x74]
mov ecx, 5
mov eax, 0x4d8edc
call fcn.0040a3bc
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x18]
call fcn.0040466c
lea eax, [ebp - 0x14]
call fcn.0040466c
lea eax, [ebp - 0x1c]
call fcn.0040466c
xor eax, eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x28]
call fcn.00404704
mov dword [ebp - 0x30], esi
mov edx, 0x4d8eb0
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
call fcn.004afc88
mov byte [ebp - 0x36], al
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x24]
call fcn.00404704
mov edx, 0x4d8f00
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
call fcn.004af698
sub eax, 3
jb 0x4d872e
sub eax, 2
je 0x4d872e
sub eax, 8
jne 0x4d8748
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x30]
call fcn.004b562c
mov edx, eax
mov ecx, dword [ebp - 0x28]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x30]
jmp 0x4d8753
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x28]
call fcn.00404704
mov edx, 0x4d8f00
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
call fcn.004af698
dec eax
je 0x4d8772
dec eax
je 0x4d8784
sub eax, 3
je 0x4d8796
jmp 0x4d87a6
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4d8f18
call fcn.00404978
jmp 0x4d87a6
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4d8f28
call fcn.00404978
jmp 0x4d87a6
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4d8f3c
call fcn.00404978
mov edx, 0x4d8f50
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
lea edx, [ebp - 0x7c]
call fcn.004b083c
mov eax, dword [ebp - 0x7c]
mov al, byte [eax]
mov byte [ebp - 0x29], al
xor eax, eax
mov al, byte [ebp - 0x29]
add eax, 0xffffffbc
cmp eax, 0x14
ja case.0x4d87d6.68
mov al, byte [eax + 0x4d87dd]
jmp dword [eax*4 + 0x4d87f2]
or dword [ebp - 0x34], 2
jmp case.0x4d87d6.74
or dword [ebp - 0x34], 4
jmp case.0x4d87d6.74
or dword [ebp - 0x34], 8
jmp case.0x4d87d6.74
or dword [ebp - 0x34], 0x10
jmp case.0x4d87d6.74
or dword [ebp - 0x34], 0x40
jmp case.0x4d87d6.74
or dword [ebp - 0x34], 1
cmp dword [ebp - 0x24], 0
jne 0x4d8840
lea eax, [ebp - 0x1c]
call fcn.0040466c
jmp 0x4d8881
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebx + 0x30]
call fcn.004b562c
mov edx, eax
mov ecx, dword [ebp - 0x24]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x30]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0x84]
xor ecx, ecx
mov eax, 0x4d8f68
call fcn.0040a3bc
test esi, esi
je 0x4d8892
lea eax, [ebp - 0x14]
mov edx, 0x4d8f78
call fcn.00404704
mov eax, dword [ebp - 0x3c]
call fcn.004b18c4
mov eax, dword [ebp - 0x3c]
call fcn.004b1750
test al, al
je 0x4d8565
cmp dword [ebp - 0x30], 0xffffffff
je 0x4d8944
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x34]
call fcn.004d8444
mov byte [ebp - 0x35], 0
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebx + 0x30]
call fcn.004b562c
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x30]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea edx, [ebp - 0x74]
mov ecx, 5
mov eax, 0x4d8edc
call fcn.0040a3bc
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.004b13b0
cmp byte [ebp - 0x35], 0
je 0x4d8b24
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x58]
mov edx, 0x4d8f94
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x3c]
call fcn.004b1c44
mov edx, 0x4d8e80
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
mov eax, dword [ebp - 0x3c]
call fcn.004b14fc
jmp 0x4d8b0c
mov byte [ebp - 0x35], 0
mov edx, 0x4d8ec8
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
lea edx, [ebp - 0x94]
call fcn.004b083c
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x28]
call fcn.00408ea4
mov edx, 0x4d8f00
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
call fcn.004af698
sub eax, 3
jb 0x4d89d8
sub eax, 2
je 0x4d89d8
sub eax, 8
jne 0x4d89f2
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x30]
call fcn.004b562c
mov edx, eax
mov ecx, dword [ebp - 0x28]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x30]
jmp 0x4d89fd
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x28]
call fcn.00404704
mov edx, 0x4d8f00
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
call fcn.004af698
dec eax
je 0x4d8a1c
dec eax
je 0x4d8a2e
sub eax, 3
je 0x4d8a40
jmp 0x4d8a50
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4d8f18
call fcn.00404978
jmp 0x4d8a50
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4d8f28
call fcn.00404978
jmp 0x4d8a50
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x4d8f3c
call fcn.00404978
mov edx, 0x4d8e94
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
call fcn.004af698
dec eax
jne 0x4d8a74
lea eax, [ebp - 0x14]
mov edx, 0x4d8f78
call fcn.00404704
jmp 0x4d8a7c
lea eax, [ebp - 0x14]
call fcn.0040466c
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebx + 0x30]
call fcn.004b562c
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x30]
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0xb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xa4], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0xb
lea edx, [ebp - 0xb8]
mov ecx, 3
mov eax, 0x4d914c
call fcn.0040a3bc
mov edx, dword [ebp - 0x98]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.004b18c4
mov eax, dword [ebp - 0x3c]
call fcn.004b1750
test al, al
je 0x4d898d
mov eax, dword [ebp - 0x3c]
call fcn.004b13b0
cmp byte [ebp - 0x35], 0
je 0x4d8c69
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x58]
mov edx, 0x4d917c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x3c]
call fcn.004b1c44
mov edx, 0x4d8e80
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
mov eax, dword [ebp - 0x3c]
call fcn.004b14fc
jmp 0x4d8c59
mov edx, 0x4d8e94
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
call fcn.004af698
dec eax
jne 0x4d8b89
lea eax, [ebp - 0x14]
mov edx, 0x4d9230
call fcn.00404704
jmp 0x4d8b91
lea eax, [ebp - 0x14]
call fcn.0040466c
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xc4]
push eax
mov edx, 0x4d924c
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
lea edx, [ebp - 0xc8]
call fcn.004b083c
mov eax, dword [ebp - 0xc8]
push eax
mov eax, dword [ebx + 0x30]
call fcn.004b562c
mov edx, eax
mov eax, ebx
pop ecx
mov esi, dword [eax]
call dword [esi + 0x30]
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0xb
mov edx, 0x4d9268
mov eax, dword [ebp - 0x3c]
call fcn.004b1764
lea edx, [ebp - 0xcc]
call fcn.004b083c
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xa4], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0xb
lea edx, [ebp - 0xb8]
mov ecx, 3
mov eax, 0x4d9280
call fcn.0040a3bc
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.004b18c4
mov eax, dword [ebp - 0x3c]
call fcn.004b1750
test al, al
je 0x4d8b65
mov eax, dword [ebp - 0x3c]
call fcn.004b13b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8c8e
mov eax, dword [ebp - 0x3c]
call fcn.0040381c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8cea
lea eax, [ebp - 0xcc]
mov edx, 5
call fcn.00404690
lea eax, [ebp - 0x98]
mov edx, 5
call fcn.00404690
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00404690
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404690
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404690
ret