Function at 0x4c7640
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, 0x80
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403458
mov eax, dword [0x4d11bc]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x14], 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 - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
call dword [fcn.004010cc]
push eax
lea edx, [ebp - 0x28]
push edx
push 0x413398
call fcn.004c46e0
lea ecx, [ebp - 0x38]
call dword [fcn.004012f8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4c76d9
lea eax, [ebp - 0x20]
push eax
push 0x420f50
call dword [fcn.0040122c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x420ef8
push eax
mov esi, eax
call dword [ecx + 0x78]
fnclex
cmp eax, ebx
jge 0x4c7703
mov edi, dword [fcn.00401088]
push 0x78
push 0x420f40
push esi
push eax
call edi
jmp 0x4c7709
mov edi, dword [fcn.00401088]
push 1
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x28]
push edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], 0x4008
call dword [0x4012d0]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x78]
push ecx
mov dword [ebp - 0x70], 0x41341c
mov dword [ebp - 0x78], 0x8008
call dword [0x40126c]
lea ecx, [ebp - 0x48]
mov si, ax
call dword [fcn.0040102c]
cmp si, bx
je 0x4c776d
mov edx, dword [ebp - 0x28]
push edx
push 0x41341c
call dword [fcn.0040106c]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [fcn.004012c8]
mov eax, dword [ebp - 0x28]
push eax
push 0x429ca4
call dword [fcn.0040106c]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [fcn.004012c8]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x4c77a0
lea ecx, [ebp - 0x30]
push ecx
push 0x426be0
call dword [fcn.0040122c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [0x4d12a8]
push ecx
push 0x426bc0
push 0xffffffffffffffff
push eax
mov esi, eax
call dword [edx + 0xd8]
fnclex
cmp eax, ebx
jge 0x4c77d1
push 0xd8
push 0x422d20
push esi
push eax
call edi
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x4c77ea
lea edx, [ebp - 0x30]
push edx
push 0x426be0
call dword [fcn.0040122c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
mov edx, dword [0x4d12c0]
push edx
push 0x426bf4
push 0xffffffffffffffff
push eax
mov esi, eax
call dword [ecx + 0xd8]
fnclex
cmp eax, ebx
jge 0x4c781b
push 0xd8
push 0x422d20
push esi
push eax
call edi
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x4c7834
lea eax, [ebp - 0x30]
push eax
push 0x426be0
call dword [fcn.0040122c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
mov esi, eax
call dword [ecx + 0xa0]
fnclex
cmp eax, ebx
jge 0x4c7857
push 0xa0
push 0x422d20
push esi
push eax
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x4c7870
lea eax, [ebp - 0x1c]
push eax
push 0x426cd4
call dword [fcn.0040122c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x28]
push 0x426c90
push edx
push eax
mov esi, eax
call dword [ecx + 0x354]
fnclex
cmp eax, ebx
jge 0x4c78a0
push 0x354
push 0x426cc4
push esi
push eax
call edi
mov eax, dword [ebp - 0x38]
mov edi, dword [fcn.004012c4]
push 0x426ae8
push eax
call edi
mov ebx, dword [fcn.004010c0]
push eax
lea ecx, [ebp - 0x14]
push ecx
call ebx
lea ecx, [ebp - 0x34]
call dword [fcn.004012f4]
lea ecx, [ebp - 0x38]
call dword [fcn.004012f8]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4c78e9
lea edx, [ebp - 0x1c]
push edx
push 0x426cd4
call dword [fcn.0040122c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push eax
mov esi, eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x4c790a
push 0x40
push 0x426cc4
push esi
push eax
call dword [fcn.00401088]
cmp dword [ebp - 0x7c], 1
jne 0x4c7a53
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4c792a
lea eax, [ebp - 0x18]
push eax
push 0x426b08
call dword [fcn.0040122c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
push 0x422ce0
push eax
call edi
push eax
lea ecx, [ebp - 0x38]
push ecx
call ebx
mov edx, dword [ebp - 0x14]
push eax
push edx
call dword [esi + 0xcc]
fnclex
test eax, eax
jge 0x4c796b
mov ecx, dword [ebp - 0x14]
push 0xcc
push 0x426ae8
push ecx
push eax
call dword [fcn.00401088]
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x38]
call dword [fcn.004012f8]
cmp esi, 1
jne 0x4c7a53
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4c7996
lea edx, [ebp - 0x24]
push edx
push 0x426be0
call dword [fcn.0040122c]
mov eax, dword [ebp - 0x18]
test eax, eax
mov esi, dword [ebp - 0x24]
jne 0x4c79af
lea eax, [ebp - 0x18]
push eax
push 0x426b08
call dword [fcn.0040122c]
mov edx, dword [ebp - 0x18]
mov ebx, dword [esi]
lea ecx, [ebp - 0x7c]
push ecx
push 0x422ce0
push edx
call edi
push eax
lea eax, [ebp - 0x38]
push eax
call dword [fcn.004010c0]
push eax
push esi
call dword [ebx + 0x150]
fnclex
test eax, eax
jge 0x4c79eb
push 0x150
push 0x422d20
push esi
push eax
call dword [fcn.00401088]
lea ecx, [ebp - 0x38]
call dword [fcn.004012f8]
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4c7a0d
lea ecx, [ebp - 0x24]
push ecx
push 0x426be0
call dword [fcn.0040122c]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push 0x426570
push eax
mov esi, eax
call dword [edx + 0x78]
fnclex
test eax, eax
jge 0x4c7a33
push 0x78
push 0x422d20
push esi
push eax
call dword [fcn.00401088]
mov edx, dword [ebp - 0x34]
push edx
push 0x426b1c
push 0
call dword [0x401290]
lea ecx, [ebp - 0x34]
call dword [fcn.004012f4]
mov ebx, dword [fcn.004010c0]
push 0x422d20
push 0
call edi
push eax
lea eax, [ebp - 0x30]
push eax
call ebx
push 0x422d20
push 0
call edi
push eax
lea ecx, [ebp - 0x24]
push ecx
call ebx
push 0x4c7ace
jmp 0x4c7aa0
mov esi, dword [fcn.004012f8]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x28]
call dword [fcn.004012f4]
lea ecx, [ebp - 0x30]
call esi
ret