Function at 0x432b30
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x432fe2
sub esp, 0x40
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x432b76
add eax, 0x48
mov dword [esp], eax
call fcn.00401e40
cmp dword [esp + 4], 2
je 0x432fcb
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x1c], edx
jmp 0x432bae
mov edx, dword [esp + 0x2c]
lea esi, [edx + 1]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov edi, ecx
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x12]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
mov byte [esp + 0x12], al
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x44]
test byte [edi], al
lea esi, [edi + 0x48]
mov dword [esp], esi
call fcn.00401e40
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x432dde
cmp eax, 1
je 0x432dd4
cmp eax, 2
jne 0x432dc5
mov eax, dword [esp + 0x44]
movzx ecx, byte [eax + 0x66]
test cl, cl
je 0x432c5b
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x432c53
cmp dword [eax + 8], 0xfffffade
jne 0x432c4b
mov ecx, dword [esp + 0x38]
cmp dword [eax + 0x18], ecx
je 0x432c24
xor edx, edx
jmp 0x432c61
test byte [ecx], al
lea eax, [ecx + 0x1bc]
mov dword [esp], eax
call fcn.00401e40
mov eax, dword [esp + 0x30]
cmp dword [esp + 4], eax
sete cl
mov eax, dword [esp + 0x44]
mov edx, ecx
mov ecx, dword [esp + 0x38]
jmp 0x432c61
mov ecx, dword [esp + 0x38]
xor edx, edx
jmp 0x432c61
mov ecx, dword [esp + 0x38]
xor edx, edx
jmp 0x432c61
mov ecx, dword [esp + 0x38]
xor edx, edx
test dl, dl
je 0x432c7b
movzx edx, byte [esp + 0x12]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x432ec5
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 0x1002
call fcn.00435f10
movzx eax, byte [esp + 0xc]
test al, al
jne 0x432cba
mov eax, dword [esp + 0x44]
movzx edx, byte [esp + 0x12]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x432ec5
mov eax, dword [esp + 0x44]
mov word [eax + 0x65], 0x101
mov dword [eax + 8], 0xfffffade
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x3c], ecx
test byte [ecx], al
lea edx, [ecx + 0x1bc]
mov dword [esp], edx
call fcn.00401e40
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
je 0x432cfd
mov ecx, 1
jmp 0x432d06
mov ecx, dword [esp + 0x30]
cmp ecx, eax
setne cl
mov byte [esp + 0x13], cl
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], 0x1002
mov dword [esp + 8], 2
call fcn.00435d40
mov eax, dword [0x7e84f8]
test eax, eax
jne 0x432da3
movzx eax, byte [esp + 0x13]
test al, al
je 0x432da3
nop
call fcn.0045ae20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
setl dl
mov ebx, dword [esp]
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
xchg esi, ebx
setbe bl
xchg esi, ebx
cmp ecx, eax
xchg edi, ebx
sete bl
xchg edi, ebx
and esi, edi
or edx, esi
test dl, dl
je 0x432dab
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
add ebx, 0x1388
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.0042f040
mov eax, dword [esp + 0x14]
add eax, 0x1388
mov ebx, dword [esp + 0x18]
adc ebx, 0
mov ecx, ebx
mov ebp, dword [esp + 0x24]
jmp 0x432dab
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
movzx edx, byte [esp + 0x12]
mov ebx, dword [esp + 0x34]
mov esi, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x3c]
jmp 0x432ec5
cmp eax, 3
jb 0x432e0f
movzx ecx, byte [esp + 0x12]
jmp 0x432e82
movzx ecx, byte [esp + 0x12]
jmp 0x432e82
cmp eax, 6
je 0x432f96
cmp eax, 8
jne 0x432e0a
mov eax, dword [esp + 0x44]
movzx edx, byte [esp + 0x12]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x432ec5
cmp eax, 9
je 0x432e38
test eax, 0x1000
je 0x432fa9
mov eax, dword [esp + 0x44]
movzx edx, byte [esp + 0x12]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x432ec5
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], 9
mov dword [esp + 8], 4
call fcn.004363d0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x432e78
mov eax, dword [esp + 0x44]
movzx edx, byte [esp + 0x12]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x432ec5
mov eax, 4
mov ecx, 1
mov byte [esp + 0x12], cl
mov edx, dword [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
or eax, 0x1000
mov dword [esp + 8], eax
call fcn.00435f10
movzx eax, byte [esp + 0xc]
test al, al
jne 0x432f6b
mov eax, dword [esp + 0x44]
movzx edx, byte [esp + 0x12]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ecx
mov byte [esp + 0x12], dl
mov edi, dword [esp + 0x2c]
test edi, edi
jne 0x432efd
call fcn.0045ae20
mov eax, dword [esp]
add eax, 0x2710
mov edi, dword [esp + 4]
adc edi, 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
call fcn.0045ae20
mov eax, dword [esp + 0x1c]
cmp dword [esp], eax
setb cl
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x20]
cmp ebx, edx
sete dl
xchg ebp, ebx
setg bl
xchg ebp, ebx
and ecx, edx
or ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x432f43
mov dword [esp], 0xa
call fcn.00459be0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
jmp 0x432b8c
nop
lea eax, [0x4f1fb4]
mov dword [esp], eax
call fcn.00458a60
call fcn.0045ae20
mov eax, dword [esp]
add eax, 0x1388
mov ecx, dword [esp + 4]
adc ecx, 0
jmp 0x432b8c
mov eax, dword [esp + 0x44]
mov word [eax + 0x65], 0
mov ecx, dword [eax]
add ecx, 0xba0
mov dword [eax + 8], ecx
mov dword [esp + 0x48], eax
mov byte [esp + 0x4c], 0
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x4d], al
add esp, 0x40
ret
mov dword [esp + 0x48], 0
mov word [esp + 0x4c], 1
add esp, 0x40
ret
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004356b0
lea eax, [0x4e8bcf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00432150
lea eax, [0x4ef181]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00432150
nop
call fcn.004576d0
jmp fcn.00432b30