Function at 0x5de230
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x404046
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x403638
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x74], edi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call dword [fcn.00401248]
push 1
call dword [fcn.004010b4]
call dword [0x401260]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [0x4010b8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
lea ecx, [ebp - 0x38]
call dword [0x4012f8]
push 0x4734e0
mov edx, dword [ebp - 0x2c]
push edx
mov ebx, dword [0x40106c]
call ebx
mov edx, eax
lea ecx, [ebp - 0x30]
mov esi, dword [0x4012c8]
call esi
push eax
push 0x469a78
call ebx
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x30]
call dword [fcn.004012fc]
push 1
push 3
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0x60d024
call fcn.005d5650
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
mov edx, dword [ebp - 0x20]
push edx
call dword [0x401034]
test eax, eax
jne 0x5de60f
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x74]
push ecx
call dword [fcn.004010c8]
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [edx + 0x54]
fnclex
cmp eax, edi
jge 0x5de34e
push 0x54
push 0x469410
mov edx, dword [ebp - 0x74]
push edx
push eax
call dword [0x40107c]
mov eax, dword [ebp - 0x38]
mov esi, eax
mov ecx, 0x46ade4
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x3c]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x58]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x28]
fnclex
test eax, eax
jge 0x5de396
push 0x28
push 0x469430
push esi
push eax
mov edi, dword [0x40107c]
call edi
jmp 0x5de39c
mov edi, dword [0x40107c]
mov eax, dword [ebp - 0x3c]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [edx + 0x34]
fnclex
test eax, eax
jge 0x5de3bc
push 0x34
push 0x469440
push esi
push eax
call edi
lea edx, [ebp - 0x4c]
push edx
call dword [fcn.0040126c]
push eax
call fcn.005dc070
mov edx, eax
mov ecx, dword [ebp + 0xc]
call dword [0x4012c8]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 2
call dword [fcn.00401050]
add esp, 0xc
lea ecx, [ebp - 0x4c]
call dword [fcn.00401024]
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [edx + 0x54]
fnclex
test eax, eax
jge 0x5de414
push 0x54
push 0x469410
mov edx, dword [ebp - 0x74]
push edx
push eax
call edi
mov eax, dword [ebp - 0x38]
mov esi, eax
mov ecx, 0x46ae04
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x3c]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x58]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x28]
fnclex
test eax, eax
jge 0x5de45c
push 0x28
push 0x469430
push esi
push eax
mov edi, dword [0x40107c]
call edi
jmp 0x5de462
mov edi, dword [0x40107c]
mov eax, dword [ebp - 0x3c]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [edx + 0x34]
fnclex
test eax, eax
jge 0x5de482
push 0x34
push 0x469440
push esi
push eax
call edi
lea edx, [ebp - 0x4c]
push edx
call dword [0x401174]
mov eax, dword [ebp + 0x10]
fstp dword [eax]
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
push 2
call dword [fcn.00401050]
add esp, 0xc
lea ecx, [ebp - 0x4c]
call dword [fcn.00401024]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
call dword [ecx + 0x54]
fnclex
test eax, eax
jge 0x5de4ce
push 0x54
push 0x469410
mov ecx, dword [ebp - 0x74]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x38]
mov esi, eax
mov ecx, 0x46adf4
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x3c]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x58]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x28]
fnclex
test eax, eax
jge 0x5de512
push 0x28
push 0x469430
push esi
push eax
call dword [0x40107c]
mov eax, dword [ebp - 0x3c]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [edx + 0x34]
fnclex
test eax, eax
jge 0x5de536
push 0x34
push 0x469440
push esi
push eax
call dword [0x40107c]
lea edx, [ebp - 0x4c]
push edx
call dword [0x401038]
mov edx, eax
mov ecx, dword [ebp + 0x14]
call dword [0x4012c8]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 2
call dword [fcn.00401050]
add esp, 0xc
lea ecx, [ebp - 0x4c]
call dword [fcn.00401024]
push 0
lea edx, [ebp - 0x74]
push edx
call dword [fcn.004010c8]
push 0
call dword [fcn.004010b4]
call dword [fcn.004010ac]
wait
push 0x5de67a
jmp 0x5de659
call dword [fcn.004010ac]
wait
push 0x5de67a
jmp 0x5de659
lea ecx, [ebp - 0x74]
mov esi, dword [0x4012f8]
call esi
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x28]
mov esi, dword [fcn.004012fc]
call esi
lea ecx, [ebp - 0x2c]
call esi
ret