Function at 0x4bb6a0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18c]
cmp eax, dword [ecx + 8]
jbe 0x4bc3d0
sub esp, 0x20c
mov ebx, dword [ecx + 0x10]
test ebx, ebx
jne 0x4bc3da
movzx ecx, byte [0x7f8aa5]
test cl, cl
je 0x4bb6de
call fcn.00416710
mov ecx, dword [esp + 0x210]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x120], edx
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x124], ebx
lea edi, [esp + 0x1b0]
xor eax, eax
call fcn.004645b9
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.004b8630
lea edi, [esp + 0x1b0]
lea esi, [esp + 0x10]
call fcn.004649fa
lea edi, [esp + 0x154]
lea esi, [esp + 0x1b0]
call fcn.004649fa
mov ecx, dword [esp + 0x120]
movzx edx, word [ecx + 0x20]
lea ebx, [0x61a0c0]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0044b240
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x120]
movzx ebx, word [edx + 0x20]
movzx ebp, byte [edx + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x4bb780
mov eax, 0x34
jmp 0x4bb785
mov eax, 0x24
movzx ebp, bx
test bx, bx
jne 0x4bb795
mov eax, ebp
xor ebx, ebx
xor ebp, ebp
jmp 0x4bb7a8
mov ebx, ebp
lea ebp, [eax + edx]
cmp ebx, 0x100000
ja 0x4bc3c3
mov eax, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x108], ebp
mov esi, dword [esp + 0x214]
xor edi, edi
xor edi, edi
mov dword [esp + 0x94], edi
xor edi, edi
jmp 0x4bb7fe
mov eax, dword [esp + 0xa0]
inc eax
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x214]
mov ebp, dword [esp + 0x108]
mov ecx, esi
mov dword [esp + 0x94], edi
mov esi, dword [esp + 0x214]
mov edi, eax
mov eax, edx
mov edx, dword [esp + 0x120]
cmp ebx, edi
jle 0x4bbb0f
mov dword [esp + 0xa0], edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x11c], ecx
mov ebp, dword [ebp + edi*4]
mov ebx, dword [ebp]
test ebx, ebx
je 0x4bba09
mov dword [esp + 0x114], ebp
nop
nop
movzx ebx, byte [ebp + 0xf]
mov byte [esp + 0x6f], bl
mov ebp, dword [esp + 0x164]
mov ebx, dword [esp + 0x160]
cmp edi, ebp
jae 0x4bc3ba
mov dword [esp + 0x144], ebx
mov ebx, dword [ebx + edi*4]
mov dword [esp + 0x88], ebx
lea ebx, [ebp - 1]
cmp edi, ebx
jne 0x4bb872
mov ebx, dword [esp + 0x158]
jmp 0x4bb888
lea ebx, [edi + 1]
cmp ebp, ebx
jbe 0x4bc3b1
mov ebp, dword [esp + 0x144]
mov ebx, dword [ebp + edi*4 + 4]
mov ebp, dword [esp + 0x154]
mov dword [esp + 0x140], ebp
mov ebp, dword [esp + 0x15c]
cmp ebx, ebp
ja 0x4bc3a8
mov dword [esp + 0xb4], ebp
mov ebp, dword [esp + 0x88]
cmp ebx, ebp
jb 0x4bc39f
sub ebx, ebp
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0xb4]
sub ebx, ebp
lea ebp, [ebp + ebp*2]
neg ebx
shl ebp, 3
sar ebx, 0x1f
and ebx, ebp
mov dword [esp + 0xb4], ebx
mov ebp, dword [esp + 0x140]
add ebx, ebp
mov ebp, dword [esp + 0x78]
test ebp, ebp
jbe 0x4bc396
lea edi, [esp + 0xe8]
mov esi, ebx
call fcn.00464aa4
movzx ecx, byte [esp + 0x6f]
and ecx, 0x1f
mov dword [esp + 0x80], ecx
cmp dword [esp + 0xe8], 1
jne 0x4bb9c0
mov ebx, dword [esp + 0x114]
movzx ebp, byte [ebx + 0xf]
xchg ebp, eax
test al, 0x20
xchg ebp, eax
je 0x4bb949
mov ebp, dword [esp + 0xf4]
mov esi, ebx
mov ebx, dword [esp + 0x214]
mov ebp, dword [ebx + ebp]
jmp 0x4bc11b
mov dword [esp], ebx
call fcn.0045f670
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx]
test edx, edx
jbe 0x4bb993
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], ecx
mov edx, dword [esp + 0x214]
add eax, edx
mov dword [esp + 8], eax
call fcn.0045fa90
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x114]
mov ebx, dword [esp + 0x80]
or ebx, 0x80
mov edx, dword [esp + 0x120]
mov esi, ecx
mov ecx, ebx
mov ebp, eax
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x214]
jmp 0x4bc11b
mov esi, dword [esp + 0x114]
movzx edi, byte [esi + 0xf]
xchg edi, eax
test al, 0x20
xchg edi, eax
jne 0x4bc2ae
mov dword [esp + 0x104], ebx
mov dword [esp], esi
call fcn.0045f670
mov eax, dword [esp + 4]
mov dword [esp + 0x13c], eax
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x21c]
mov ebx, dword [esp + 0x78]
xor ebp, ebp
jmp 0x4bc0ab
lea eax, [0x66f350]
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.004c3100
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x94]
inc ebx
mov ebp, dword [esp + 0x98]
cmp ebp, ebx
jb 0x4bba43
mov esi, dword [esp + 0x11c]
jmp 0x4bbaa6
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x138], eax
mov dword [esp + 0xb0], edx
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x61a0c0]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xb0]
mov esi, ecx
mov ebp, eax
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
mov edi, ebx
lea ebx, [ebx + ebx*2]
mov dword [esi + ebx*4 - 4], edx
mov edx, ebp
mov ebp, dword [0x7f8db0]
mov dword [esp + 0xac], ebp
lea ebp, [esi + ebx*4 - 0xc]
mov dword [esp + 0x134], ebp
lea ebp, [esi + ebx*4 - 8]
mov dword [esp + 0x130], ebp
mov ebp, dword [esp + 0xac]
test ebp, ebp
jne 0x4bbaec
mov dword [esi + ebx*4 - 0xc], eax
mov dword [esi + ebx*4 - 8], ecx
jmp 0x4bb7c9
mov ebx, edi
mov edi, dword [esp + 0x134]
call fcn.00464380
mov edi, dword [esp + 0x130]
mov eax, ecx
call fcn.00464380
mov edi, ebx
jmp 0x4bb7c9
mov edx, dword [esp + 0x124]
mov ebx, dword [edx]
mov dword [esp], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x118], ecx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x90], ebx
mov ebp, dword [esp + 0x120]
mov dword [esp], ebp
call fcn.004af910
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x8c]
cmp ecx, eax
jne 0x4bc032
test eax, eax
jle 0x4bbbf0
mov ebp, dword [esp + 0x120]
movzx esi, byte [ebp + 0xc]
xchg esi, eax
test al, 1
xchg esi, eax
je 0x4bbb8c
mov eax, 0x34
jmp 0x4bbb91
mov eax, 0x24
movzx esi, word [ebp + 0x22]
and esi, 0x7fff
test si, si
jne 0x4bbba6
xor ebx, ebx
xor edx, edx
jmp 0x4bbbda
movzx edi, word [ebp + 0x20]
add esi, edi
movzx edx, si
add ebp, eax
cmp edx, 0x100000
ja 0x4bc028
movzx eax, di
cmp eax, edx
ja 0x4bc021
sub edx, eax
mov ebx, edx
neg edx
shl eax, 2
sar edx, 0x1f
and eax, edx
lea edx, [ebp + eax]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x100], edx
mov ebp, dword [esp + 0x118]
xor eax, eax
jmp 0x4bbc30
mov eax, dword [esp + 0x218]
mov byte [eax], 1
mov eax, dword [esp + 0x118]
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x150], eax
add esp, 0x20c
ret
inc eax
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x100]
cmp eax, ebx
jge 0x4bbbf0
mov esi, dword [edx + eax*4]
cmp eax, ecx
jae 0x4bc01c
lea edi, [eax + eax*2]
mov edx, dword [ebp + edi*4]
mov ebx, dword [ebp + edi*4 + 8]
mov edi, dword [ebp + edi*4 + 4]
test edx, edx
je 0x4bbfa3
test ebx, 0x60
jne 0x4bbf2a
mov dword [esp + 0x110], esi
mov esi, dword [esi]
test esi, esi
je 0x4bbc24
mov dword [esp + 0x9c], eax
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
lea eax, [0x61e7be]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x10
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
call fcn.004c32b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x188]
mov ebx, dword [esp + 0x184]
mov ebp, dword [esp + 0x9c]
cmp ebp, edx
jae 0x4bbf21
mov esi, ebx
mov ebx, dword [ebx + ebp*4]
mov edi, ebx
lea ebx, [edx - 1]
cmp ebp, ebx
jne 0x4bbce7
mov ebx, dword [esp + 0x17c]
jmp 0x4bbcf6
lea ebx, [ebp + 1]
cmp edx, ebx
jbe 0x4bbf18
mov ebx, dword [esi + ebp*4 + 4]
mov edx, dword [esp + 0x180]
mov esi, ebp
mov ebp, dword [esp + 0x178]
cmp ebx, edx
ja 0x4bbf11
cmp ebx, edi
jb 0x4bbf08
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xb0], eax
mov dword [esp + 0x13c], ecx
sub edx, edi
lea ebx, [edi + edi*2]
neg edx
shl ebx, 3
sar edx, 0x1f
and edx, ebx
add edx, ebp
mov ebx, dword [esp + 0xa4]
sub ebx, edi
mov dword [esp + 0x70], ebx
mov ebp, dword [esp + 0x21c]
xor edi, edi
jmp 0x4bbe37
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x214]
lea esi, [edx + ebx]
test eax, 0x80
jne 0x4bbd7b
mov esi, dword [esp + 0x13c]
mov dword [ebx + edx], esi
jmp 0x4bbdb0
mov eax, dword [esp + 0xc0]
mov dword [esp], esi
mov ecx, dword [esp + 0x13c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004619d0
mov ebx, dword [esp + 0x214]
mov ebp, dword [esp + 0x21c]
jmp 0x4bbdb0
mov ebx, dword [esp + 0x214]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x118]
jmp 0x4bbc24
mov dword [esp + 0x12c], edx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x13c]
add eax, ecx
mov dword [esp + 0xc], eax
call fcn.004ab990
mov eax, dword [esp + 0x12c]
lea edx, [eax + 0x18]
mov eax, dword [esp + 0xb4]
lea edi, [eax + 1]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x21c]
mov esi, dword [esp + 0x9c]
cmp edi, ebx
jge 0x4bbda9
mov dword [esp + 0xb4], edi
lea edi, [esp + 0xb8]
mov esi, edx
call fcn.00464aa4
mov ecx, dword [esp + 0xb8]
cmp ecx, 1
je 0x4bbd57
lea esi, [ecx - 2]
cmp esi, 1
ja 0x4bbe88
test eax, 0x80
jne 0x4bbdca
test byte [ebp], al
mov eax, dword [esp + 0xc8]
xor ecx, ecx
call fcn.00464400
cmp ecx, 4
jne 0x4bbef0
test eax, 0x80
je 0x4bbed8
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0xc0]
cmp edx, 4
je 0x4bbece
cmp edx, 8
jne 0x4bbeb6
test byte [ebp], al
xor ecx, ecx
call fcn.00464400
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e0cc]
mov dword [esp + 4], eax
call fcn.00436760
test byte [ebp], al
xor ecx, ecx
call fcn.00464400
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e2ac]
mov dword [esp + 4], eax
call fcn.00436760
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e2b4]
mov dword [esp + 4], eax
call fcn.00436760
mov eax, edi
mov ecx, ebx
call fcn.00464460
mov ecx, ebx
call fcn.00464440
mov eax, ebx
mov ecx, edx
call fcn.00464400
mov eax, ebp
mov ecx, edx
call fcn.00464400
mov eax, dword [esp + 0x124]
mov dword [esp], eax
call fcn.004bd1a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x628de2]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x6291bc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x2e
call fcn.0044ed30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436760
mov eax, dword [esp + 0x124]
mov dword [esp], eax
call fcn.004bd1a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x628de2]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x61ff14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x14
call fcn.0044ed30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436760
call fcn.00464400
mov ecx, edx
call fcn.004644b0
mov ebx, 0x100000
call fcn.00464480
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e2d4]
mov dword [esp + 4], eax
call fcn.00436760
mov dword [esp + 0xb4], ebp
mov ecx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xd8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
add ecx, eax
mov dword [esp + 0xc], ecx
call fcn.004ab930
mov eax, dword [esp + 0x12c]
lea ecx, [eax + 0x18]
mov eax, dword [esp + 0xb4]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x21c]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x78]
mov eax, edx
mov edx, dword [esp + 0x21c]
cmp ebp, ebx
jge 0x4bc0eb
mov dword [esp + 0x12c], ecx
lea edi, [esp + 0xd0]
mov esi, ecx
call fcn.00464aa4
mov ecx, dword [esp + 0xd0]
cmp ecx, 2
jg 0x4bc255
cmp ecx, 1
je 0x4bc23d
cmp ecx, 2
je 0x4bc04a
jmp 0x4bc225
mov ecx, dword [esp + 0x80]
or ecx, 0x80
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x120]
mov ebx, dword [esp + 0x214]
mov esi, dword [esp + 0x114]
mov ebp, dword [esp + 0x13c]
mov dword [esp + 0x13c], ebp
mov edi, ebx
mov ebx, dword [esp + 0x94]
inc ebx
cmp eax, ebx
jae 0x4bc196
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x61a0c0]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x120]
mov ebp, dword [esp + 0x13c]
mov esi, dword [esp + 0x114]
mov edi, dword [esp + 0x214]
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x94], ebx
lea ebx, [ebx + ebx*2]
mov ebp, dword [esp + 0x11c]
mov dword [ebp + ebx*4 - 4], ecx
mov ecx, ebx
mov ebx, dword [0x7f8db0]
mov dword [esp + 0xac], ebx
lea ebx, [ebp + ecx*4 - 0xc]
mov dword [esp + 0x134], ebx
lea ebx, [ebp + ecx*4 - 8]
mov dword [esp + 0x130], ebx
mov ebx, dword [esp + 0xac]
test ebx, ebx
jne 0x4bc1ec
mov dword [ebp + ecx*4 - 0xc], esi
mov ebx, dword [esp + 0x13c]
mov dword [ebp + ecx*4 - 8], ebx
jmp 0x4bc215
mov ecx, edi
mov edi, dword [esp + 0x134]
mov ebx, eax
mov eax, esi
call fcn.00464380
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x13c]
call fcn.00464380
mov eax, ebx
mov edi, ecx
mov edx, eax
mov edi, dword [esp + 0x94]
mov esi, ebp
jmp 0x4bb7c9
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e2b4]
mov dword [esp + 4], eax
call fcn.00436760
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e2c4]
mov dword [esp + 4], eax
call fcn.00436760
cmp ecx, 3
je 0x4bc2a3
cmp ecx, 4
jne 0x4bc225
mov eax, dword [esp + 0xe4]
mov ebx, dword [esp + 0xd8]
cmp ebx, 4
je 0x4bc298
cmp ebx, 8
jne 0x4bc280
test byte [edx], al
xor ecx, ecx
call fcn.00464400
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e0cc]
mov dword [esp + 4], eax
call fcn.00436760
test byte [edx], al
xor eax, eax
mov ecx, eax
call fcn.00464400
test byte [edx], al
xor eax, eax
mov ecx, eax
call fcn.00464400
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x140]
lea ebp, [ebx + edx]
cmp dword [ebp], 3
je 0x4bc384
mov dword [esp], esi
call fcn.004ae0f0
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x140]
mov eax, dword [ecx + eax]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x128], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0xb4], edx
call fcn.004388b0
lea eax, [0x61ae7f]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004391b0
mov eax, dword [esp + 0xa8]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00438fb0
lea eax, [0x61b34a]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.004391b0
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
call fcn.004391b0
call fcn.00438ad0
call fcn.00438920
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e2bc]
mov dword [esp + 4], eax
call fcn.00436760
mov edx, dword [esp + 0x21c]
test byte [edx], al
xor eax, eax
mov ecx, eax
call fcn.00464400
xor eax, eax
mov ecx, eax
call fcn.00464400
mov eax, ebp
mov ecx, ebx
call fcn.00464460
mov ecx, ebx
mov edx, ebp
call fcn.00464440
mov eax, ebx
mov ecx, ebp
call fcn.00464400
mov eax, edi
mov ecx, ebp
call fcn.00464400
mov edx, ebx
mov ebx, 0x100000
call fcn.00464480
nop
call fcn.00462f70
jmp fcn.004bb6a0
lea edi, [esp + 0x210]
cmp dword [ebx], edi
jne 0x4bb6ce
mov dword [ebx], esp
jmp 0x4bb6ce