Function at 0x44e9d0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x4993d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x4c368c]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0x17c]
push edi
mov dword [esp + 0x14], ecx
lea edi, [eax + 0xf8]
mov ecx, dword [0x4be818]
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 0x84]
mov dword [esp + 0x38], 0
test eax, eax
je 0x44ec05
mov ebp, dword [esp + 0x40]
lea eax, [esp + 0x10]
mov edx, dword [ebp + 0x18]
push edx
push str.SELECT__FROM_RanchStatus_WHERE_UserId_d
push eax
call fcn.004827a3
add esp, 0xc
lea ecx, [edi + 0x638]
lea edx, [esp + 0x10]
push 1
push 2
push 3
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.004841a8
lea esi, [edi + 0x644]
mov ecx, esi
call fcn.00401990
test eax, eax
jne 0x44ea71
xor ebx, ebx
jmp 0x44ec05
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.004022a0
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
mov dword [esp + 0x18], ebx
je 0x44ebe4
mov edx, dword [ebp + 0x88]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
push ecx
mov ecx, edi
call fcn.00417e30
push ecx
mov byte [esp + 0x4c], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4ba9b8
call fcn.004844a1
mov ecx, esi
mov byte [esp + 0x4c], 1
call fcn.00402030
mov ecx, dword [ebp + 0x80]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push ecx
push eax
mov ecx, edi
call fcn.00417e30
push ecx
mov byte [esp + 0x4c], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Food
call fcn.004844a1
mov ecx, esi
mov byte [esp + 0x4c], 1
call fcn.00402030
mov eax, dword [ebp + 0x18]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x50], esp
push eax
push edx
mov ecx, edi
call fcn.00417e30
push ecx
mov byte [esp + 0x4c], 4
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4ba9c4
call fcn.004844a1
mov ecx, esi
mov byte [esp + 0x4c], 1
call fcn.00402030
sub esp, 0x10
add ebp, 0x48
mov ebx, esp
mov dword [esp + 0x50], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ebp
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0044e810
push ebx
mov ecx, edi
call fcn.00417d60
push ecx
mov byte [esp + 0x4c], 5
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4bd398
call fcn.004844a1
mov bl, 1
mov ecx, esi
mov byte [esp + 0x4c], bl
call fcn.00402030
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, dword [esp + 0x28]
mov eax, esp
mov dword [esp + 0x54], esp
push ebp
push eax
mov dword [esp + 0x5c], edx
call fcn.0044e900
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, edi
call fcn.00417d60
push ecx
mov byte [esp + 0x4c], 6
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x4bd3a4
call fcn.004844a1
mov ecx, esi
mov byte [esp + 0x4c], bl
call fcn.00402030
mov ecx, esi
call fcn.00402410
mov ebx, dword [esp + 0x18]
mov ecx, esi
call fcn.004025e0
lea edx, [esp + 0x20]
mov byte [esp + 0x38], 0
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x44ec05
push eax
call fcn.0047b570
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00484433
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4