Function at 0x4c39c0
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, 0xc8
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4031f8
mov eax, dword [0x4d11bc]
xor edi, edi
push eax
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb8], edi
call dword [fcn.004010cc]
push eax
lea edx, [ebp - 0x30]
push edx
push 0x429af4
call fcn.004c5320
lea ecx, [ebp - 0x40]
call dword [fcn.004012f8]
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x4c3a77
lea eax, [ebp - 0x1c]
push eax
push 0x41f588
call dword [fcn.0040122c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x30]
push edx
push eax
mov esi, eax
call dword [ecx + 0x24]
fnclex
cmp eax, edi
jge 0x4c3a9c
push 0x24
push 0x41f598
push esi
push eax
call dword [fcn.00401088]
mov edx, dword [ebp - 0x38]
mov ebx, dword [fcn.004012c8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x38], edi
call ebx
push 1
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x18]
push edx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 0x4008
call dword [0x4012d0]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0x98], 0x4134b8
mov dword [ebp - 0xa0], 0x8008
call dword [0x40126c]
lea ecx, [ebp - 0x50]
mov si, ax
call dword [fcn.0040102c]
cmp si, di
je 0x4c3b1f
mov edx, dword [ebp - 0x18]
push edx
push 0x4134b8
call dword [fcn.0040106c]
mov edx, eax
lea ecx, [ebp - 0x18]
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x4c3b38
lea eax, [ebp - 0x1c]
push eax
push 0x41f588
call dword [fcn.0040122c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0xb4]
push edx
mov edx, dword [ebp - 0x18]
push edx
push eax
mov esi, eax
call dword [ecx + 0x40]
fnclex
cmp eax, edi
jge 0x4c3b60
push 0x40
push 0x41f598
push esi
push eax
call dword [fcn.00401088]
cmp word [ebp - 0xb4], di
jne 0x4c41a9
lea eax, [ebp - 0x50]
push eax
push 0xff
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x50], 2
call dword [0x4011d0]
mov esi, dword [fcn.0040103c]
lea edx, [ebp - 0x60]
push edx
call esi
mov edx, eax
lea ecx, [ebp - 0x20]
call ebx
mov edi, dword [fcn.00401040]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 2
call edi
add esp, 0xc
mov edx, 0x410198
lea ecx, [ebp - 0x24]
call dword [fcn.00401240]
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x38]
push eax
call dword [fcn.00401298]
push eax
push 0xff
call fcn.00411414
call dword [fcn.0040107c]
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [fcn.004011b8]
lea ecx, [ebp - 0x38]
call dword [fcn.004012f4]
mov eax, dword [ebp - 0x20]
push 0
push 0xffffffffffffffff
push 0x4134b8
push eax
call dword [0x401100]
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x20]
push 1
lea eax, [ebp - 0x90]
mov dword [ebp - 0x88], ecx
push eax
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x50], 3
mov dword [ebp - 0x90], 0x4008
call dword [0x401114]
lea edx, [ebp - 0x60]
push edx
call esi
mov edx, eax
lea ecx, [ebp - 0x20]
call ebx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 2
call edi
add esp, 0xc
xor esi, esi
push esi
lea edx, [ebp - 0x50]
push edx
call dword [fcn.004011d8]
push esi
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x50]
push eax
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x4011b4]
lea eax, [ebp - 0x60]
push eax
push 0x2008
call dword [0x401098]
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0xb8], eax
call dword [0x4012c0]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 2
call edi
mov edx, dword [ebp - 0x28]
add esp, 0xc
push edx
push 1
mov dword [ebp - 0x2c], esi
call dword [0x4011f0]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0xd0]
jg 0x4c4113
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4c3d02
cmp word [ecx], 1
jne 0x4c3d02
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4c3cf6
call dword [0x40112c]
mov ecx, dword [ebp - 0x28]
lea eax, [esi*4]
mov esi, dword [ebp - 0x14]
jmp 0x4c3d0b
call dword [0x40112c]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
push edx
lea eax, [ebp - 0x38]
push eax
call dword [fcn.00401298]
push eax
call fcn.0041145c
mov dword [ebp - 0xb8], eax
call dword [fcn.0040107c]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4c3d5c
cmp word [ecx], 1
jne 0x4c3d5c
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4c3d50
call dword [0x40112c]
mov ecx, dword [ebp - 0x28]
lea eax, [esi*4]
mov esi, dword [ebp - 0x14]
jmp 0x4c3d65
call dword [0x40112c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0xc]
push edx
add ecx, eax
push ecx
call dword [fcn.004011b8]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x28]
xor edx, edx
cmp ecx, 3
sete dl
push eax
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0xb0], 0xb
neg edx
mov word [ebp - 0xa8], dx
call dword [0x401284]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4c3dcf
cmp word [ecx], 1
jne 0x4c3dcf
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4c3dc6
call dword [0x40112c]
mov ecx, dword [ebp - 0x34]
lea eax, [esi*4]
jmp 0x4c3dd8
call dword [0x40112c]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
add edx, eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x90], 0x4008
call dword [0x4010e8]
lea edx, [ebp - 0x34]
push edx
call dword [0x4012e8]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x60]
push edx
mov dword [ebp - 0x98], 0
mov dword [ebp - 0xa0], 0x8002
call dword [0x401090]
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x70]
push ecx
call dword [0x401110]
push eax
lea edx, [ebp - 0x80]
push edx
call dword [0x4011a0]
push eax
call dword [0x4010f4]
lea ecx, [ebp - 0x38]
mov esi, eax
call dword [fcn.004012f4]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 2
call edi
add esp, 0xc
test si, si
je 0x4c3f53
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x34]
push eax
call dword [0x401284]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4c3eb7
cmp word [ecx], 1
jne 0x4c3eb7
mov esi, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4c3eae
call dword [0x40112c]
mov ecx, dword [ebp - 0x34]
lea eax, [esi*4]
jmp 0x4c3ec0
call dword [0x40112c]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0xc]
add ecx, eax
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], 0x4008
call dword [0x4010e8]
lea ecx, [ebp - 0x34]
push ecx
call dword [0x4012e8]
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xa0]
push eax
push 1
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x98], 0x429b7c
mov dword [ebp - 0xa0], 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xb0], 0x8002
call dword [0x4011e0]
push eax
lea edx, [ebp - 0xb0]
push edx
call dword [0x40126c]
lea ecx, [ebp - 0x50]
mov esi, eax
lea eax, [ebp - 0x60]
push eax
push ecx
push 2
call edi
add esp, 0xc
test si, si
jne 0x4c3f6d
mov ecx, dword [ebp - 0x14]
mov eax, 1
add eax, ecx
jo 0x4c4255
mov dword [ebp - 0x14], eax
mov esi, eax
jmp 0x4c3cc8
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x34]
push eax
call dword [0x401284]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4c3fa9
cmp word [ecx], 1
jne 0x4c3fa9
mov esi, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x4c3fa0
call dword [0x40112c]
mov ecx, dword [ebp - 0x34]
lea eax, [esi*4]
jmp 0x4c3fb2
call dword [0x40112c]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0xc]
mov esi, dword [0x4010e8]
add ecx, eax
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], 0x4008
call esi
mov edi, dword [0x4012e8]
lea ecx, [ebp - 0x34]
push ecx
call edi
lea edx, [ebp - 0x50]
push edx
call dword [fcn.0040103c]
mov edx, eax
lea ecx, [ebp - 0x24]
call ebx
lea ecx, [ebp - 0x50]
call dword [fcn.0040102c]
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
push ecx
call dword [0x401284]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4c4042
cmp word [ecx], 1
jne 0x4c4042
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
sub eax, edx
cmp eax, dword [ecx + 0x10]
mov dword [ebp - 0xbc], eax
jb 0x4c403d
call dword [0x40112c]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xbc]
shl eax, 2
jmp 0x4c404b
call dword [0x40112c]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
add edx, eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x90], 0x4008
call esi
lea edx, [ebp - 0x34]
push edx
call edi
push 0
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [fcn.004011f4]
mov edx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x30]
push edx
push eax
call dword [fcn.004011bc]
mov edx, eax
lea ecx, [ebp - 0x30]
call ebx
lea ecx, [ebp - 0x38]
call dword [fcn.004012f4]
lea ecx, [ebp - 0x50]
call dword [fcn.0040102c]
mov ecx, dword [0x4d11bc]
push 0xffffffffffffffff
push ecx
lea edx, [ebp - 0x40]
push edx
call dword [fcn.004010cc]
mov esi, dword [fcn.0040106c]
push eax
mov eax, dword [ebp - 0x30]
push 0x41329c
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x38]
call ebx
push eax
push 0x429b88
call esi
mov edx, eax
lea ecx, [ebp - 0x3c]
call ebx
push eax
call fcn.004c5b50
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
push 2
call dword [fcn.00401250]
add esp, 0xc
lea ecx, [ebp - 0x40]
call dword [fcn.004012f8]
mov dword [ebp - 0x2c], 0xffffffff
cmp word [ebp - 0x2c], 0
jne 0x4c41a7
mov edx, 0x429b7c
lea ecx, [ebp - 0x24]
call dword [fcn.00401240]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
push 0
push 0xffffffffffffffff
push 1
push eax
push ecx
push edx
call dword [fcn.004011bc]
mov edx, eax
lea ecx, [ebp - 0x30]
call ebx
mov eax, dword [0x4d11bc]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [fcn.004010cc]
mov edx, dword [ebp - 0x30]
mov esi, dword [fcn.0040106c]
push eax
push 0x41329c
push edx
call esi
mov edx, eax
lea ecx, [ebp - 0x38]
call ebx
push eax
push 0x429b88
call esi
mov edx, eax
lea ecx, [ebp - 0x3c]
call ebx
push eax
call fcn.004c5b50
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 2
call dword [fcn.00401250]
add esp, 0xc
lea ecx, [ebp - 0x40]
call dword [fcn.004012f8]
xor edi, edi
lea edx, [ebp - 0x28]
push edx
push edi
call dword [0x401104]
push 0x41f578
push edi
call dword [fcn.004012c4]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [fcn.004010c0]
push 0x4c4244
jmp 0x4c4214
mov esi, dword [fcn.004012f4]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call dword [fcn.004012f8]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x24]
call esi
lea edx, [ebp - 0x28]
push edx
push 0
call dword [0x4010a0]
lea ecx, [ebp - 0x30]
call esi
ret
call dword [fcn.0040121c]
nop
nop
nop
nop
nop