Function at 0x418d3a
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x494a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [0x4be818]
push edi
mov eax, dword [esi + 0x84]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x38], 0
je 0x4190e3
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x10]
mov edx, dword [edi + 0x20]
push edx
push str.SELECT__FROM_FarmStatus_WHERE_UserId_d
push eax
call fcn.004827a3
add esp, 0xc
mov ebx, 2
lea ecx, [esi + 0x638]
lea edx, [esp + 0x10]
push 1
push ebx
push 3
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.004841a8
lea ebp, [esi + 0x644]
mov ecx, ebp
call fcn.00401990
test eax, eax
jne 0x418db8
mov dword [esp + 0x14], eax
jmp 0x4190e3
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, ebp
mov byte [esp + 0x38], 1
call fcn.004022a0
test eax, eax
mov dword [esp + 0x14], eax
je 0x4190c2
mov ecx, dword [0x4be818]
mov dword [esp + 0x40], ecx
mov ecx, ebp
mov byte [esp + 0x38], bl
call fcn.00402750
mov eax, dword [edi + 0x584]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x28], esp
push eax
push edx
mov ecx, esi
call fcn.00417e30
push ecx
mov byte [esp + 0x4c], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4ba9b8
call fcn.004844a1
mov ecx, ebp
mov byte [esp + 0x4c], bl
call fcn.00402030
mov edx, dword [edi + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
push ecx
mov ecx, esi
call fcn.00417e30
push ecx
mov byte [esp + 0x4c], 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4ba9c4
call fcn.004844a1
mov ecx, ebp
mov byte [esp + 0x4c], bl
call fcn.00402030
mov ecx, dword [edi + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x2c], esp
push ecx
push eax
mov ecx, esi
call fcn.00417e30
push ecx
mov byte [esp + 0x4c], 5
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4ba9f0
call fcn.004844a1
mov ecx, ebp
mov byte [esp + 0x4c], bl
call fcn.00402030
sub esp, 0x10
lea edx, [edi + 0x54]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x2c], esp
push edx
push eax
call fcn.00418600
push ebx
mov ecx, esi
call fcn.00417d60
push ecx
mov byte [esp + 0x4c], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4ba984
call fcn.004844a1
mov bl, 2
mov ecx, ebp
mov byte [esp + 0x4c], bl
call fcn.00402030
mov edx, dword [edi + 0x580]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
push ecx
mov ecx, esi
call fcn.00417e30
push ecx
mov byte [esp + 0x4c], 7
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4ba9ac
call fcn.004844a1
mov ecx, ebp
mov byte [esp + 0x4c], bl
call fcn.00402030
mov eax, dword [edi + 0x578]
mov ecx, dword [edi + 0x574]
mov edx, dword [edi + 0x570]
push eax
mov eax, dword [edi + 0x56c]
push ecx
mov ecx, dword [edi + 0x568]
push edx
mov edx, dword [edi + 0x564]
push eax
push ecx
push edx
lea eax, [esp + 0x58]
push str._d_d_d_d_d_d
push eax
call fcn.004827a3
add esp, 0x10
lea edx, [esp + 0x50]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.004841a8
push ebx
mov ecx, esi
call fcn.00417d60
push ecx
mov byte [esp + 0x4c], 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4ba9a0
call fcn.004844a1
mov ecx, ebp
mov byte [esp + 0x4c], 2
call fcn.00402030
sub esp, 0x10
lea eax, [edi + 0x84]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
push ecx
mov ecx, esi
call fcn.00418600
push ebx
mov ecx, esi
call fcn.00417d60
push ecx
mov byte [esp + 0x4c], 9
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4ba954
call fcn.004844a1
mov ecx, ebp
mov byte [esp + 0x4c], 2
call fcn.00402030
sub esp, 0x10
lea edx, [edi + 0x5c]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x2c], esp
push edx
push eax
call fcn.00418600
push ebx
mov ecx, esi
call fcn.00417d60
push ecx
mov byte [esp + 0x4c], 0xa
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4ba978
call fcn.004844a1
mov ecx, ebp
mov byte [esp + 0x4c], 2
call fcn.00402030
sub esp, 0x10
lea ecx, [edi + 0x60]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov edx, esp
mov dword [esp + 0x2c], esp
push ecx
push edx
mov ecx, esi
call fcn.00418600
push ebx
mov ecx, esi
call fcn.00417d60
push ecx
mov byte [esp + 0x4c], 0xb
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4ba970
call fcn.004844a1
mov bl, 2
mov ecx, ebp
mov byte [esp + 0x4c], bl
call fcn.00402030
sub esp, 0x10
lea eax, [edi + 0x6c]
mov edi, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
push ecx
mov ecx, esi
call fcn.00418600
push edi
mov ecx, esi
call fcn.00417d60
push ecx
mov byte [esp + 0x4c], 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4ba964
call fcn.004844a1
mov ecx, ebp
mov byte [esp + 0x4c], bl
call fcn.00402030
mov ecx, ebp
call fcn.00402410
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 1
call fcn.00484433
mov ecx, ebp
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 0x4190e3
push eax
call fcn.0047b570
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00484433
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4