Function at 0x422ccb
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e82f
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4b2d60]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor esi, esi
push 0x497dd0
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], esi
call fcn.004012e2
push esi
lea eax, [esp + 0x44]
push eax
push 2
mov dword [esp + 0x64], esi
call fcn.00411806
or dword [esp + 0x64], 0xffffffff
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
lea eax, [esp + 0x28]
push eax
mov eax, 0x4b7950
call fcn.00401c90
push esi
push 0x80
push 3
push esi
xor eax, eax
inc eax
push eax
mov dword [esp + 0x6c], eax
mov esi, dword [esp + 0x3c]
push 0x80000000
push esi
call dword [0x4713e0]
mov edi, eax
inc edi
neg edi
sbb edi, edi
and edi, eax
mov dword [esp + 0x3c], edi
mov byte [esp + 0x58], 2
je 0x4233c6
mov ebx, 0x4941c0
or edi, 0xffffffff
call fcn.00421f01
test eax, eax
jne 0x42338b
mov edi, dword [ebp + 8]
add edi, 4
mov eax, dword [edi]
xor ebx, ebx
cmp eax, ebx
je 0x422da1
push eax
call fcn.0043ef12
push edi
push ebx
push dword [esp + 0x30]
mov dword [edi], ebx
call fcn.0043ef18
mov esi, eax
cmp esi, ebx
jne 0x423375
call fcn.0043f3c0
push eax
lea ecx, [esp + 0x3c]
call fcn.004013a1
lea eax, [esp + 0x38]
push eax
push 0x4b7c0c
mov byte [esp + 0x60], 3
call fcn.00416054
push 0x497e08
lea ecx, [esp + 0x24]
call fcn.004012e2
mov byte [esp + 0x58], 4
mov esi, dword [esp + 0x38]
push dword [esi - 0xc]
lea ecx, [esp + 0x24]
push esi
call fcn.00401163
push 0x497b98
lea eax, [esp + 0x24]
push eax
call fcn.00407162
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 6
mov eax, dword [edi]
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x24], ebx
push eax
call fcn.0043ef1e
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x422ed0
push 0x497b9c
lea ecx, [esp + 0x44]
call fcn.004012e2
mov byte [esp + 0x58], 7
push dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
push 1
call fcn.00411806
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [esp + 0x18], ebx
je 0x422e79
push dword [esp + 0x18]
call fcn.0043ef12
cmp dword [esp + 0x1c], ebx
je 0x422e88
push dword [esp + 0x1c]
call fcn.0043ef12
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [esi - 0x10]
call fcn.004017df
mov byte [esp + 0x58], 1
push dword [esp + 0x3c]
call dword [0x4713dc]
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
push dword [esp + 0x20]
call fcn.0043ef24
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x422f70
push 0x497ba8
lea ecx, [esp + 0x44]
call fcn.004012e2
mov byte [esp + 0x58], 8
push dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
push 1
call fcn.00411806
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [esp + 0x18], ebx
je 0x422f27
push dword [esp + 0x18]
call fcn.0043ef12
cmp dword [esp + 0x1c], ebx
je 0x422f36
push dword [esp + 0x1c]
call fcn.0043ef12
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [esi - 0x10]
call fcn.004017df
mov esi, dword [esp + 0x24]
mov byte [esp + 0x58], 1
push dword [esp + 0x3c]
call dword [0x4713dc]
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, esi
jmp 0x422ebb
cmp dword [esp + 0x18], ebx
je 0x422f7f
push dword [esp + 0x18]
call fcn.0043ef12
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x20], ebx
call fcn.0043ef2a
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x423349
call fcn.0043f3c0
push eax
lea ecx, [esp + 0x38]
call fcn.004013a1
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x5c], 9
push 2
push dword [esp + 0x20]
call fcn.0043a023
mov esi, dword [esp + 0x40]
add esp, 0xc
cmp dword [esi - 0xc], ebx
jne 0x423043
push 0x497e64
lea ecx, [esp + 0x34]
call fcn.004012e2
push 0xd
lea eax, [esp + 0x34]
push eax
push 1
mov byte [esp + 0x64], 0xa
call fcn.00411806
mov ecx, dword [esp + 0x3c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [esi - 0x10]
call fcn.004017df
cmp dword [esp + 0x18], ebx
je 0x423014
push dword [esp + 0x18]
call fcn.0043ef12
cmp dword [esp + 0x1c], ebx
je 0x423023
push dword [esp + 0x1c]
call fcn.0043ef12
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.004017df
push 0xd
pop esi
jmp 0x422f4e
call fcn.0043f3c0
push eax
lea ecx, [esp + 0x30]
call fcn.004013a1
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x5c], 0xb
push 3
push dword [esp + 0x20]
call fcn.0043a023
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jne 0x4230b5
push 0x497e98
lea ecx, [esp + 0x44]
call fcn.004012e2
push ebx
lea eax, [esp + 0x44]
push eax
push 2
mov byte [esp + 0x64], 0xc
call fcn.00411806
mov byte [esp + 0x64], 0xb
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push 0x497ec0
lea ecx, [esp + 0x30]
call fcn.00401356
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x4b7834
call fcn.004077b3
call fcn.0043f3c0
push eax
lea ecx, [esp + 0x34]
call fcn.004013a1
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x5c], 0xd
push 4
push dword [esp + 0x20]
call fcn.0043a023
add esp, 0xc
lea eax, [esp + 0x30]
push eax
mov ecx, 0x4b785c
call fcn.004077b3
lea eax, [esp + 0x30]
push eax
mov ecx, 0x4b782c
call fcn.004077b3
call fcn.0043f3c0
push eax
lea ecx, [esp + 0x44]
call fcn.004013a1
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x5c], 0xe
push 5
push dword [esp + 0x20]
call fcn.0043a023
add esp, 0xc
lea eax, [esp + 0x40]
push eax
mov ecx, 0x4b78c8
call fcn.004077b3
call fcn.0043f3c0
push eax
lea ecx, [esp + 0x28]
call fcn.004013a1
push 0x497ee4
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 0xf
call fcn.004012e2
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x5c], 0x10
mov eax, dword [edi]
lea ecx, [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x54], 1
call fcn.00439e90
add esp, 0xc
test eax, eax
jne 0x42319e
push 0x4771e4
lea ecx, [esp + 0x28]
call fcn.004074fe
mov byte [esp + 0x17], 1
test eax, eax
je 0x4231a2
mov byte [esp + 0x17], bl
push 0xf
pop esi
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004017df
cmp byte [esp + 0x17], bl
je 0x4231f5
push 0x497f10
lea ecx, [esp + 0x48]
call fcn.004012e2
push ebx
lea eax, [esp + 0x48]
push eax
push 2
mov byte [esp + 0x64], 0x11
call fcn.00411806
mov byte [esp + 0x64], 0xf
mov ecx, dword [esp + 0x50]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov dword [0x4b78e0], ebx
lea ecx, [esp + 0x24]
call fcn.00401547
push 0x497f58
lea ecx, [esp + 0x48]
call fcn.004012e2
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x5c], 0x12
mov edi, dword [edi]
lea eax, [esp + 0x48]
push eax
push edi
mov dword [esp + 0x54], 2
call fcn.00439e90
mov edi, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x423240
mov byte [esp + 0x17], 1
cmp dword [edi - 0xc], ebx
jne 0x423244
mov byte [esp + 0x17], bl
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004017df
cmp byte [esp + 0x17], bl
je 0x4232a2
push 0x497f70
lea ecx, [esp + 0x4c]
call fcn.004012e2
push ebx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
push 2
mov byte [esp + 0x68], 0x13
call fcn.00411336
mov byte [esp + 0x68], 0xf
mov ecx, dword [esp + 0x58]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
lea eax, [esp + 0x24]
push eax
mov ecx, 0x4b78f4
call fcn.004077b3
call fcn.0043f3c0
push eax
lea ecx, [esp + 0x4c]
call fcn.004013a1
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x38]
push eax
push dword [ebp + 8]
mov byte [esp + 0x64], 0x14
call fcn.00423ad8
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017df
lea ecx, [edi - 0x10]
call fcn.004017df
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [esp + 0x18], ebx
je 0x42331d
push dword [esp + 0x18]
call fcn.0043ef12
cmp dword [esp + 0x1c], ebx
je 0x42332c
push dword [esp + 0x1c]
call fcn.0043ef12
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x422f4e
push 0x497ba8
lea ecx, [esp + 0x4c]
call fcn.004012e2
mov byte [esp + 0x58], 0x15
push dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
push 1
call fcn.00411806
mov ecx, dword [esp + 0x54]
jmp 0x422f0d
push 0x497f8c
lea ecx, [esp + 0x4c]
call fcn.004012e2
mov byte [esp + 0x58], 0x16
push esi
jmp 0x4233a0
push 0x497f9c
lea ecx, [esp + 0x4c]
call fcn.004012e2
mov byte [esp + 0x58], 0x17
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x50]
push eax
push 2
call fcn.00411336
mov ecx, dword [esp + 0x58]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov edi, dword [esp + 0x3c]
jmp 0x4233fe
push 0x497fd0
lea ecx, [esp + 0x48]
call fcn.004012e2
push 0x186a0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
push 2
mov byte [esp + 0x68], 0x18
call fcn.00411336
mov ecx, dword [esp + 0x54]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov byte [esp + 0x58], 1
test edi, edi
je 0x42340e
push edi
call dword [0x4713dc]
push 0xd
pop esi
jmp 0x422f5d