Function at 0x419190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ef7f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
xor ebp, ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], ebp
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 6
mov dword [esp + 0x14], ebp
call fcn.00463770
push ebp
lea eax, [esp + 0x24]
push ebp
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x28]
mov bl, 7
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x6c], bl
call fcn.00429b90
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x60], 8
mov ecx, esp
mov dword [esp + 0x30], esp
push str.farmTime
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], bl
call fcn.004637f0
mov esi, dword [esp + 0x60]
mov ecx, dword [esi + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x526348
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
call fcn.00463980
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x60], 9
mov ecx, esp
mov dword [esp + 0x34], esp
push str.farmKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], bl
call fcn.004637f0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x60], 0xa
mov ecx, esp
mov dword [esp + 0x34], esp
push str.farmKey2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], bl
call fcn.004637f0
mov ecx, dword [edi + 0xf8]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push str.uIdx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
call fcn.00463980
cmp dword [esi + 0x58], 1
jne 0x419360
mov edx, dword [esi + 0x24]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x526324
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
call fcn.00463980
mov eax, dword [edi + 0xfc]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x52631c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
call fcn.00463980
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x34]
call fcn.004637d0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0xb
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [edi]
push 0
push 1
mov ecx, edi
call dword [edx + 4]
push 1
push 1
push 1
lea ecx, [esp + 0x1c]
call fcn.00404830
push eax
push 0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x530ac0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x58]
push ecx
mov ecx, dword [esi + 0x20]
mov eax, esp
mov dword [esp + 0x48], esp
push ecx
push 5
push edx
push eax
mov ecx, edi
mov byte [esp + 0x84], 0xc
call fcn.00418720
lea eax, [esp + 0x44]
mov ecx, edi
push eax
mov byte [esp + 0x78], bl
call fcn.00410fa0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0xd
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [edi]
push 0
push 0
mov ecx, edi
call dword [edx + 4]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov edx, dword [esi + 0x58]
lea eax, [esp + 0x38]
lea ecx, [esi + 0x5c]
push eax
push ecx
push edx
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, edi
call fcn.00413ae0
push eax
mov ecx, edi
call fcn.004186c0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x2c], ebx
je 0x41951b
mov dword [esi + 0x48], 0
xor ecx, ecx
lea eax, [esi + 0x9c]
mov edx, dword [eax - 0x40]
test edx, edx
je 0x4194c2
mov edx, dword [eax - 0x34]
test edx, edx
je 0x41949f
cmp dword [eax - 0x38], 6
jae 0x4194a3
cmp dword [eax], 0
je 0x41948b
or ebp, 2
mov edx, dword [eax - 4]
test edx, edx
je 0x419495
or ebp, 4
mov edx, dword [eax - 0xc]
test edx, edx
je 0x41949f
or ebp, 8
cmp dword [eax - 0x38], 6
jne 0x4194b9
mov edx, dword [eax - 0x18]
mov ebx, dword [eax - 0x14]
cmp edx, ebx
jbe 0x4194b9
mov edx, dword [eax - 0x10]
test edx, edx
jne 0x4194b9
or ebp, 1
inc ecx
add eax, 0x48
cmp ecx, 0x18
jl 0x41946f
mov dword [esp + 0x14], ebp
xor ebx, ebx
mov dword [esp + 0x60], 0xffffffff
mov ebp, 1
mov ecx, ebx
shl ebp, cl
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x14]
mov eax, ebp
and eax, ecx
mov ecx, ebp
and ecx, edx
cmp ecx, eax
je 0x419506
test eax, eax
je 0x419506
lea edx, [ebx + 1]
mov ecx, edi
push edx
push esi
call fcn.00423130
mov eax, dword [esi + 0x4c]
not ebp
and eax, ebp
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x60]
inc ebx
dec eax
cmp eax, 0xfffffffb
mov dword [esp + 0x60], eax
jg 0x4194d0
mov ebx, dword [esp + 0x2c]
jmp 0x41952f
mov ecx, dword [esi + 0x48]
inc ecx
mov eax, ecx
mov dword [esi + 0x48], ecx
cmp eax, 3
jb 0x41952f
mov dword [esi], 0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x41954a
mov eax, dword [0x536d10]
push 0
push esi
lea ecx, [eax + 0x10f0]
call fcn.0043b2a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 6
call fcn.004637b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret 8