Function at 0x66fd90
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x670977
sub esp, 0x128
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov edx, dword [0x913264]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x12c]
test byte [eax], al
lea ecx, [eax + 0x7c]
mov dword [esp + 0x124], ecx
mov dword [esp], ecx
call fcn.004868a0
mov eax, dword [esp + 0x12c]
inc dword [eax + 0x84]
mov ecx, dword [eax + 0x9c]
mov dword [esp + 0x7c], ecx
mov ebx, dword [esp + 0x124]
mov dword [esp], ebx
call fcn.00486c20
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x66fe73
mov eax, dword [esp + 0x130]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x66fe69
call fcn.00466d70
mov eax, dword [0x93f150]
mov ecx, dword [esp]
test eax, eax
jne 0x66fe4e
mov eax, dword [esp + 0x130]
jmp 0x66fe62
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [esp + 0x130]
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x7c]
mov ecx, dword [edx]
mov ebx, dword [eax + 4]
mov dword [esp], ebx
call ecx
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 8]
movzx ecx, byte [ecx + 0x89]
test cl, cl
je 0x66fe8c
xor ecx, ecx
jmp 0x66fefd
mov eax, dword [esp + 0x130]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ecx
lea ecx, [0x71e63a]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf
call fcn.0061e470
mov eax, dword [esp + 0x10]
test eax, eax
je 0x66fec5
mov eax, dword [esp + 0x12c]
xor ecx, ecx
jmp 0x66fefd
mov eax, dword [esp + 0x130]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ecx
lea ecx, [0x71b64e]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.0061e470
mov eax, dword [esp + 0x10]
test eax, eax
sete al
mov ecx, eax
mov eax, dword [esp + 0x12c]
test cl, cl
je 0x670033
mov ecx, dword [esp + 0x130]
mov edx, dword [ecx]
cmp dword [edx + 4], 4
jne 0x66ff22
mov edx, dword [edx]
cmp dword [edx], 0x44414548
je 0x67002f
mov edx, dword [ecx + 4]
nop
test edx, edx
jne 0x66ff5e
call fcn.00466d70
mov eax, dword [0x93f150]
mov ecx, dword [esp]
test eax, eax
jne 0x66ff45
mov eax, dword [esp + 0x130]
jmp 0x66ff59
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [esp + 0x130]
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
mov ecx, eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x64], eax
nop
lea edx, [0x71e63a]
mov dword [esp], edx
mov dword [esp + 4], 0xf
call fcn.0061f4e0
mov eax, dword [esp + 8]
mov dword [esp + 0x120], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
lea edx, [0x6d7980]
mov dword [esp], edx
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x11c], eax
mov dword [eax + 4], 4
lea ecx, [0x71b4a4]
mov dword [eax], ecx
lea ecx, [0x705280]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x120]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xc], edx
call fcn.00469050
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x670005
mov ecx, dword [esp + 0x11c]
jmp 0x670018
call fcn.00471840
mov ecx, dword [esp + 0x11c]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
mov edx, 1
jmp 0x67003c
xor edx, edx
jmp 0x67003c
mov ecx, dword [esp + 0x130]
xor edx, edx
mov byte [esp + 0x23], dl
mov ebx, dword [ecx]
mov ebp, dword [ebx + 0x14]
cmp ebp, 1
jg 0x670053
jne 0x6700bb
mov ebp, dword [ebx + 0x18]
test ebp, ebp
jle 0x6700b7
mov ebp, dword [ebx + 0x20]
test ebp, ebp
jne 0x67005e
xor ebx, ebx
jmp 0x6700bd
mov dword [esp], ebx
call fcn.0065c750
movzx eax, byte [esp + 4]
test al, al
jne 0x670086
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
xor ebx, ebx
jmp 0x6700bd
lea eax, [0x6d49e0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00405070
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
mov ebx, eax
mov eax, dword [esp + 0x12c]
jmp 0x6700bd
xor ebx, ebx
jmp 0x6700bd
xor ebx, ebx
mov dword [esp + 0x8c], ebx
mov ebp, dword [eax + 8]
movzx ebp, byte [ebp + 0x88]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x6700d8
xor ebp, ebp
jmp 0x670141
mov eax, dword [ecx]
mov dword [esp], eax
call fcn.0065c7e0
movzx eax, byte [esp + 4]
test al, al
je 0x670109
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
mov ebx, dword [esp + 0x8c]
xor ebp, ebp
jmp 0x670141
mov eax, dword [esp + 0x130]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ecx
call fcn.0065d150
movzx eax, byte [esp + 4]
xor eax, 1
mov ecx, dword [esp + 0x130]
movzx edx, byte [esp + 0x23]
mov ebx, dword [esp + 0x8c]
mov ebp, eax
mov eax, dword [esp + 0x12c]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x670244
mov ebp, dword [ecx + 4]
nop
test ebp, ebp
jne 0x670187
call fcn.00466d70
mov eax, dword [0x93f150]
mov ecx, dword [esp]
test eax, eax
jne 0x67016e
mov eax, dword [esp + 0x130]
jmp 0x670182
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [esp + 0x130]
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
mov ecx, eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x60], eax
nop
nop
lea edx, [0x71c5b4]
mov dword [esp], edx
mov dword [esp + 4], 0xa
call fcn.0061f4e0
mov eax, dword [esp + 8]
mov dword [esp + 0x120], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
lea edx, [0x6d7980]
mov dword [esp], edx
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x11c], eax
mov dword [eax + 4], 5
lea ecx, [0x71b65d]
mov dword [eax], ecx
lea ecx, [0x705280]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x120]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
call fcn.00469050
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x67022f
mov ecx, dword [esp + 0x11c]
jmp 0x670242
call fcn.00471840
mov ecx, dword [esp + 0x11c]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
lea eax, [0x6d49e0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405070
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
lea ecx, [0x670b10]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
lea ecx, [esp + 0xcc]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.00435390
test eax, eax
jne 0x6703ff
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x3c], edx
lea ebx, [0x6d4920]
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.00405070
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x118], edx
mov ebx, dword [esp + 0x12c]
mov ebp, dword [ebx + 0x48]
mov dword [esp], ebp
lea ebp, [esp + 0x110]
mov dword [esp + 4], ebp
call fcn.00405240
lea eax, [0x6d4f20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405070
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
lea edi, [esp + 0xfc]
xor eax, eax
call fcn.00471acb
mov ecx, dword [esp + 0x130]
mov dword [esp + 0xfc], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x100], edx
movzx ebx, byte [esp + 0x23]
mov byte [esp + 0x104], bl
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x108], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x10c], ebx
mov ebx, dword [esp + 0x12c]
mov ebp, dword [ebx + 0x44]
mov dword [esp], ebp
lea ebp, [esp + 0xfc]
mov dword [esp + 4], ebp
call fcn.00405240
lea eax, [0x6709f0]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x130]
mov dword [esp + 0xc0], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc4], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc8], ebx
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov ebp, dword [ebp + 0x10]
mov dword [esp], esi
call ebp
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x12c]
mov edx, dword [ecx + 0x4c]
mov dword [esp + 0x78], edx
xor ebx, ebx
jmp 0x67040b
call fcn.004358b0
add esp, 0x128
ret
mov dword [esp + 0x70], ebx
mov edx, dword [0x913268]
mov eax, dword [edx]
call eax
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00471ac6
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xb0], ecx
lea ebx, [esp + 0xf4]
mov dword [esp + 0xb4], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0xa8], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 0xa0], ebp
mov esi, dword [esp + 0x74]
mov dword [esp + 0x98], esi
lea edi, [esp + 0xe8]
mov dword [esp + 0x9c], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x90], edi
lea edi, [esp + 0x90]
mov dword [esp], edi
lea edi, [esp + 0x24]
mov dword [esp + 4], edi
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 5
mov byte [esp + 0x14], 1
call fcn.00449a50
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6705d5
cmp eax, 1
je 0x6708bd
cmp eax, 2
je 0x670869
cmp eax, 3
je 0x670760
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
test eax, eax
jne 0x67066e
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 8]
mov ebx, dword [ecx + 0xa0]
mov ecx, dword [ecx + 0xa4]
test ecx, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
test ebx, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
and ebp, edi
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x670567
mov ebx, dword [esp + 0x70]
jmp 0x67040b
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004adc60
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
lea ecx, [0x6e5b00]
mov dword [esp], ecx
call fcn.0040bb90
mov eax, dword [esp + 4]
lea ecx, [0x670990]
mov dword [eax], ecx
mov edx, dword [0x93f150]
test edx, edx
jne 0x6705a5
mov edx, dword [esp + 0x6c]
jmp 0x6705b0
call fcn.00471830
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov dword [eax + 4], edx
mov dword [esp], eax
call fcn.00435200
test eax, eax
jne 0x670662
mov eax, dword [esp + 0x6c]
mov ebx, dword [eax]
mov eax, dword [esp + 0x12c]
jmp 0x67040b
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
lea eax, [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.004065d0
movzx eax, byte [esp + 8]
test al, al
jne 0x67091a
mov eax, dword [esp + 0x130]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004ed460
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0066d900
mov eax, dword [esp + 0x12c]
mov ebx, dword [esp + 0x70]
jmp 0x67040b
call fcn.004358b0
add esp, 0x128
ret
mov dword [esp + 0x40], eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
je 0x67068f
mov edx, dword [eax + 4]
jmp 0x670691
mov edx, eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], ecx
lea eax, [0x71e6d0]
mov dword [esp], eax
mov dword [esp + 4], 0xf
lea eax, [esp + 0xe0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c2050
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00670ba0
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
call fcn.0066db50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
call fcn.004358b0
add esp, 0x128
ret
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
lea eax, [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.004065d0
movzx eax, byte [esp + 8]
test al, al
je 0x6707fe
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
lea edx, [esp + 0xb8]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], ebx
call fcn.004358b0
add esp, 0x128
ret
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0066db50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
call fcn.004358b0
add esp, 0x128
ret
mov eax, dword [0x913750]
mov ecx, dword [0x913754]
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00670ba0
mov eax, dword [0x913750]
mov ecx, dword [0x913754]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
call fcn.004358b0
add esp, 0x128
ret
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov ebx, dword [esp + 0xf0]
mov ebp, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
lea edx, [esp + 0xb8]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], ebx
call fcn.004358b0
add esp, 0x128
ret
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
lea edx, [esp + 0xb8]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], ebx
call fcn.004358b0
add esp, 0x128
ret
call fcn.00470430
jmp fcn.0066fd90