Function at 0x4c7ae0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x403926
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403468
mov eax, dword [0x4d13fc]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xb0], ebx
jne 0x4c7b6b
push 0x4d13fc
push 0x4042f4
call dword [fcn.0040122c]
mov eax, dword [0x4d13fc]
mov ecx, dword [eax]
push ebx
push 0xe
push eax
call dword [ecx + 0x2fc]
mov edi, dword [fcn.004010c0]
push eax
lea edx, [ebp - 0x3c]
push edx
call edi
push eax
call dword [fcn.00401038]
add esp, 0xc
lea ecx, [ebp - 0x3c]
call dword [fcn.004012f8]
mov edx, 0x410198
mov ecx, 0x4d1380
call dword [fcn.00401240]
push ebx
push ebx
push 1
push 8
push 0x4d1384
push 4
push 0x180
call dword [0x401180]
add esp, 0x1c
call fcn.0041a278
mov esi, eax
call dword [fcn.0040107c]
cmp esi, ebx
je 0x4c839d
call fcn.0041a3d8
mov esi, dword [fcn.004012c8]
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
call dword [fcn.0040107c]
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [fcn.004011b8]
mov edx, eax
lea ecx, [ebp - 0x18]
call dword [fcn.00401240]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
push 2
call dword [fcn.00401250]
add esp, 0xc
push 0x40
call dword [0x40110c]
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
mov dword [ebp - 0x14], ebx
mov ebx, dword [fcn.0040106c]
mov word [0x4d1388], 0xffff
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [fcn.00401298]
push eax
call fcn.0041a2c8
mov dword [ebp - 0xc4], eax
call dword [fcn.0040107c]
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call dword [fcn.004011b8]
lea ecx, [ebp - 0x20]
call dword [fcn.004012f4]
mov eax, dword [ebp - 0xc4]
xor edx, edx
test eax, eax
setne dl
neg edx
test dx, dx
je 0x4c7f1e
mov eax, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 8
call dword [fcn.004011d8]
push 1
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0xa8], edx
push 0
lea edx, [ebp - 0x60]
push edx
mov dword [ebp - 0x98], 1
mov dword [ebp - 0xa0], 2
mov dword [ebp - 0xb0], 0x4008
call dword [0x4011e4]
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x70]
push ecx
call dword [0x401004]
push eax
call dword [fcn.00401270]
push eax
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0x80]
push eax
call dword [fcn.004012b0]
lea ecx, [ebp - 0x80]
push ecx
call dword [fcn.0040103c]
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 3
call dword [fcn.00401040]
mov edx, dword [ebp - 0x1c]
add esp, 0x10
push 3
push edx
call dword [0x4012a8]
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
push 0x429d0c
push 0
call dword [0x401290]
xor edi, edi
mov di, ax
neg di
lea ecx, [ebp - 0x20]
sbb edi, edi
neg edi
neg edi
call dword [fcn.004012f4]
test di, di
je 0x4c7f04
mov edi, dword [ebp - 0x14]
push 0
add edi, 1
jo 0x4c8416
push edi
push 1
push 8
push 0x4d1384
push 4
push 0x180
mov dword [ebp - 0x14], edi
call dword [0x401160]
add esp, 0x1c
push 0x429d2c
push 0x429d9c
call ebx
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
push 0x429dfc
call ebx
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
push 0x429f00
call ebx
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
push eax
push 0x429fc8
call ebx
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
push 0x42a044
call ebx
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
mov eax, dword [ebp - 0x1c]
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
push 0x423364
call ebx
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
push eax
push 0x429e5c
call ebx
mov dword [ebp - 0x48], eax
mov eax, dword [0x4d13fc]
test eax, eax
mov dword [ebp - 0x50], 8
jne 0x4c7e45
push 0x4d13fc
push 0x4042f4
call dword [fcn.0040122c]
mov eax, dword [0x4d13fc]
mov edx, dword [ebp - 0x50]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebp - 0x4c]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x48]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x44]
push 1
push 0xd
mov dword [ecx + 0xc], edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2fc]
push eax
lea edx, [ebp - 0x3c]
push edx
call dword [fcn.004010c0]
push eax
call dword [fcn.00401038]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
push 7
call dword [fcn.00401250]
add esp, 0x3c
lea ecx, [ebp - 0x3c]
call dword [fcn.004012f8]
lea ecx, [ebp - 0x50]
call dword [fcn.0040102c]
mov ecx, dword [0x4d1384]
test ecx, ecx
je 0x4c7eea
cmp word [ecx], 1
jne 0x4c7eea
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub edi, edx
cmp edi, eax
jb 0x4c7ee1
call dword [0x40112c]
mov ecx, dword [0x4d1384]
lea eax, [edi*4]
jmp 0x4c7ef6
call dword [0x40112c]
mov ecx, dword [0x4d1384]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebp - 0x1c]
add ecx, eax
call dword [fcn.00401240]
push 0x40
call dword [0x40110c]
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
mov edi, dword [fcn.004010c0]
jmp 0x4c7c3c
mov eax, dword [0x4d13fc]
test eax, eax
jne 0x4c7f55
push 0x4d13fc
push 0x4042f4
call dword [fcn.0040122c]
mov eax, dword [0x4d13fc]
test eax, eax
jne 0x4c7f55
push 0x4d13fc
push 0x4042f4
call dword [fcn.0040122c]
mov eax, dword [0x4d13fc]
mov ecx, dword [eax]
push 0
push 0xfffffdf2
push eax
call dword [ecx + 0x2fc]
push eax
lea edx, [ebp - 0x40]
push edx
call edi
mov ebx, dword [fcn.00401170]
push eax
lea eax, [ebp - 0x60]
push eax
call ebx
add esp, 0x10
push eax
call dword [fcn.00401270]
mov esi, eax
mov eax, dword [0x4d13fc]
mov ecx, dword [eax]
inc esi
neg esi
push 0
sbb esi, esi
push 0xc
inc esi
push eax
neg esi
call dword [ecx + 0x2fc]
push eax
lea edx, [ebp - 0x3c]
push edx
call edi
push eax
lea eax, [ebp - 0x50]
push eax
call ebx
add esp, 0x10
push eax
call dword [fcn.00401270]
xor ecx, ecx
test eax, eax
setg cl
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x3c]
push eax
push 2
neg ecx
and esi, ecx
call dword [fcn.00401054]
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
push 2
call dword [fcn.00401040]
add esp, 0x18
test si, si
je 0x4c8069
mov eax, dword [0x4d13fc]
test eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x90], 2
jne 0x4c801c
push 0x4d13fc
push 0x4042f4
call dword [fcn.0040122c]
mov eax, dword [0x4d13fc]
mov edx, dword [ebp - 0x90]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebp - 0x8c]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x88]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x84]
push 0xfffffdf2
mov dword [ecx + 0xc], edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2fc]
push eax
lea edx, [ebp - 0x3c]
push edx
call edi
push eax
call dword [fcn.004012dc]
lea ecx, [ebp - 0x3c]
call dword [fcn.004012f8]
mov eax, dword [0x4d13fc]
test eax, eax
mov word [0x4d1388], 0
jne 0x4c8090
push 0x4d13fc
push 0x4042f4
call dword [fcn.0040122c]
mov eax, dword [0x4d13fc]
mov ecx, dword [eax]
push 0
push 0xc
push eax
call dword [ecx + 0x2fc]
push eax
lea edx, [ebp - 0x3c]
push edx
call edi
push eax
lea eax, [ebp - 0x50]
push eax
call ebx
add esp, 0x10
push eax
call dword [fcn.00401270]
mov esi, eax
dec esi
neg esi
sbb esi, esi
inc esi
lea ecx, [ebp - 0x3c]
neg esi
call dword [fcn.004012f8]
lea ecx, [ebp - 0x50]
call dword [fcn.0040102c]
test si, si
je 0x4c8133
mov ecx, dword [0x4d1384]
test ecx, ecx
je 0x4c810c
cmp word [ecx], 1
jne 0x4c810c
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov esi, 1
sub esi, edx
cmp esi, eax
jb 0x4c8103
call dword [0x40112c]
mov ecx, dword [0x4d1384]
lea eax, [esi*4]
jmp 0x4c8118
call dword [0x40112c]
mov ecx, dword [0x4d1384]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
mov ecx, 0x4d1380
call dword [fcn.00401240]
push 0x4c8405
jmp 0x4c83f4
mov eax, dword [0x4d13fc]
test eax, eax
jne 0x4c8155
mov esi, dword [fcn.0040122c]
push 0x4d13fc
push 0x4042f4
call esi
mov eax, dword [0x4d13fc]
jmp 0x4c815b
mov esi, dword [fcn.0040122c]
mov edx, dword [eax]
push 0
push 0xc
push eax
call dword [edx + 0x2fc]
push eax
lea eax, [ebp - 0x3c]
push eax
call edi
push eax
lea ecx, [ebp - 0x50]
push ecx
call ebx
add esp, 0x10
push eax
call dword [fcn.00401270]
xor edx, edx
cmp eax, 1
setg dl
lea ecx, [ebp - 0x3c]
neg edx
mov di, dx
call dword [fcn.004012f8]
lea ecx, [ebp - 0x50]
call dword [fcn.0040102c]
test di, di
je 0x4c825b
mov eax, dword [0x4d13fc]
test eax, eax
jne 0x4c81bd
push 0x4d13fc
push 0x4042f4
call esi
mov esi, dword [0x4d13fc]
sub esp, 0x10
mov ebx, esp
mov ecx, 0xa
mov dword [ebx], ecx
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0x9c]
mov dword [ebx + 4], ecx
mov eax, 0x80020004
mov dword [ebx + 8], eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x94]
mov dword [ebx + 0xc], eax
sub esp, 0x10
mov dword [ebp - 0x90], 3
mov eax, dword [ebp - 0x90]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x8c]
mov edx, 1
mov dword [ecx + 4], eax
mov dword [ebp - 0x88], edx
mov edi, dword [esi]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x84]
push esi
mov dword [ecx + 0xc], edx
call dword [edi + 0x2b0]
fnclex
test eax, eax
jge 0x4c839d
push 0x2b0
push 0x41f4f4
push esi
push eax
call dword [fcn.00401088]
push 0x4c8405
jmp 0x4c83f4
mov ecx, 0x80020004
mov eax, 0xa
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x58], ecx
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x88], 0x429e9c
mov dword [ebp - 0x90], 8
call dword [fcn.00401294]
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0x10
lea eax, [ebp - 0x50]
push eax
call dword [0x4010c4]
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 4
call dword [fcn.00401040]
mov eax, dword [0x4d3e14]
add esp, 0x14
test eax, eax
jne 0x4c82e2
push 0x4d3e14
push 0x410f44
call esi
mov eax, dword [0x4d130c]
test eax, eax
mov edi, dword [0x4d3e14]
jne 0x4c82fd
push 0x4d130c
push 0x408484
call esi
mov edx, dword [0x4d130c]
mov ebx, dword [edi]
push edx
lea eax, [ebp - 0x3c]
push eax
call dword [fcn.004010cc]
push eax
push edi
call dword [ebx + 0x10]
fnclex
test eax, eax
jge 0x4c832a
push 0x10
push 0x410f34
push edi
push eax
call dword [fcn.00401088]
mov ebx, dword [fcn.004012f8]
lea ecx, [ebp - 0x3c]
call ebx
mov eax, dword [0x4d3e14]
test eax, eax
jne 0x4c834a
push 0x4d3e14
push 0x410f44
call esi
mov eax, dword [0x4d1010]
test eax, eax
mov edi, dword [0x4d3e14]
jne 0x4c8365
push 0x4d1010
push 0x4054c4
call esi
mov ecx, dword [0x4d1010]
mov esi, dword [edi]
push ecx
lea edx, [ebp - 0x3c]
push edx
call dword [fcn.004010cc]
push eax
push edi
call dword [esi + 0x10]
fnclex
test eax, eax
jge 0x4c8392
push 0x10
push 0x410f34
push edi
push eax
call dword [fcn.00401088]
lea ecx, [ebp - 0x3c]
call ebx
call dword [0x401044]
push 0x4c8405
jmp 0x4c83f4
mov esi, dword [fcn.004012f4]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call esi
ret
call dword [fcn.0040121c]
nop
nop
nop
nop