Function at 0x595090
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x595098
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f18
mov eax, dword [ebp - 8]
call fcn.00405f18
lea ebx, [ebp - 0x20]
xor eax, eax
push ebp
push 0x5954d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c748]
call fcn.00404b08
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x41c748]
call fcn.00404b08
mov dword [ebp - 0x28], eax
mov dl, 1
mov eax, dword [0x41c748]
call fcn.00404b08
mov dword [ebp - 0x2c], eax
mov eax, 0x2800
call fcn.00402fc0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5954a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405f28
push eax
call fcn.00540bf0
test eax, eax
je 0x595133
call fcn.00405498
jmp 0x5954af
lea eax, [ebp - 0x1c]
push eax
push 0x5954e8
mov eax, dword [ebp - 0x18]
push eax
call fcn.005408ec
test eax, eax
je 0x59515c
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
call fcn.00405498
jmp 0x5954af
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540944
test eax, eax
je 0x5951bf
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
jmp 0x5951bf
mov dword [ebp - 0x14], 0x2800
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
mov eax, dword [ebx]
push eax
call fcn.00540d94
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00405c90
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
push eax
call fcn.005405ac
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540994
cmp eax, 0x103
jne 0x595188
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jbe 0x5953ba
mov dword [ebp - 0x30], eax
mov esi, 1
lea eax, [ebp - 0x1c]
push eax
push 0x595510
lea ecx, [ebp - 0x3c]
mov edx, esi
dec edx
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x3c]
push 0x595554
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00405e2c
mov eax, dword [ebp - 0x38]
call fcn.00405f28
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.005408ec
test eax, eax
je 0x59524f
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
call fcn.00405498
jmp 0x5954af
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540944
test eax, eax
je 0x5952b2
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
jmp 0x5952b2
mov dword [ebp - 0x14], 0x2800
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
mov eax, dword [ebx]
push eax
call fcn.00540d94
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x10]
call fcn.00405c90
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
push eax
call fcn.005405ac
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540994
cmp eax, 0x103
jne 0x59527b
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
lea eax, [ebp - 0x1c]
push eax
push 0x595510
lea ecx, [ebp - 0x48]
mov edx, esi
dec edx
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x48]
push 0x595570
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405e2c
mov eax, dword [ebp - 0x44]
call fcn.00405f28
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.005408ec
test eax, eax
je 0x59532a
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
call fcn.00405498
jmp 0x5954af
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540944
test eax, eax
je 0x59538d
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
jmp 0x59538d
mov dword [ebp - 0x14], 0x2800
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
mov eax, dword [ebx]
push eax
call fcn.00540d94
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
call fcn.00405c90
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
push eax
call fcn.005405ac
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540994
cmp eax, 0x103
jne 0x595356
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
inc esi
dec dword [ebp - 0x30]
jne 0x5951fa
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
je 0x5953e3
call fcn.00405498
jmp 0x5954af
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x5953f9
call fcn.00405498
jmp 0x5954af
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jbe 0x59547a
mov dword [ebp - 0x30], eax
mov esi, 1
push 0
push 1
push 0x595590
lea ecx, [ebp - 0x54]
mov ebx, esi
dec ebx
mov edx, ebx
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x54]
push 0x59559c
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.00405e2c
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 8]
call fcn.0040bbcc
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00589dcc
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 8]
pop edx
call fcn.00589c00
mov dword [ebp - 0xc], eax
inc esi
dec dword [ebp - 0x30]
jne 0x59540d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5954af
mov eax, dword [ebp - 0x2c]
call fcn.00404b38
mov eax, dword [ebp - 0x28]
call fcn.00404b38
mov eax, dword [ebp - 0x24]
call fcn.00404b38
mov eax, dword [ebp - 0x10]
call fcn.00402fdc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5954de
lea eax, [ebp - 0x60]
mov edx, 0xc
call fcn.00405abc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405abc
ret