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

Disassembly:
push 0xffffffffffffffff
push 0x4eec70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], ebp
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_4
push ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::GetBuffer
mov edi, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
cmp edi, ebp
je 0x410aad
mov ecx, edi
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebp
mov dword [edi + 8], ebp
call sub.MFC42.DLL_CString::Empty
mov ebx, dword [esp + 0x48]
cmp ebx, ebp
je 0x410b48
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x5234a4
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x40], 3
mov ecx, esp
mov dword [esp + 0x28], esp
push str._fkey_:_
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 2
push ecx
mov ecx, esi
call fcn.00443080
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x18]
push 0x5307a8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x410b48
lea eax, [esp + 0x18]
lea ecx, [ebx + 0x1c]
push eax
call sub.MFC42.DLL_CString::operator_2
push ebp
push str._code_:
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Find
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x44], ebx
jl 0x410c74
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str._code_:
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x3c], 6
push ecx
lea ebp, [ebx + ecx]
mov ecx, esp
mov dword [esp + 0x28], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.00442f80
xor edx, edx
test eax, eax
setne dl
mov eax, edx
test eax, eax
mov dword [esp + 0x20], eax
jne 0x410d22
push ecx
mov ebx, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5234a4
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x44], 7
mov ecx, esp
mov dword [esp + 0x34], esp
push str._direction_:_
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x48], 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
push ebx
mov ecx, esi
mov byte [esp + 0x4c], 2
call fcn.00443080
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.004431b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 9
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x410c36
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
add ebx, 7
or ebp, edx
push ebx
push str._code_:
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], ebp
call sub.MFC42.DLL_CString::Find
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x44], ebx
jge 0x410b65
mov eax, ebp
test eax, eax
jne 0x410e4d
xor ebp, ebp
push ecx
mov ebx, esp
mov dword [esp + 0x48], esp
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x5234a4
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x44], 0xf
mov ecx, esp
mov dword [esp + 0x38], esp
push str._errorContent_:_
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x4c], 0x10
call sub.MFC42.DLL_CString::CString_3
push ebx
mov ecx, esi
mov byte [esp + 0x4c], 2
call fcn.00443080
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.004431b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0x11
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push 0x5307a8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x410e4f
cmp edi, ebp
je 0x410e75
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator_2
jmp 0x410e4f
test edi, edi
je 0x410dd6
mov ecx, dword [edi + 8]
inc ecx
push ecx
mov dword [edi + 8], ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str._money_:
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x40], 0xa
mov ecx, esp
mov dword [esp + 0x34], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.00442f80
mov ecx, dword [edi + 0x10]
add ecx, eax
push ecx
mov dword [edi + 0x10], ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str._exp_:
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x40], 0xb
mov ecx, esp
mov dword [esp + 0x34], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.00442f80
mov ecx, dword [edi + 0x14]
add ecx, eax
push ecx
mov dword [edi + 0x14], ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str._harvest_:
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x40], 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.00442f80
add dword [edi + 0xc], eax
jmp 0x410c3a
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str._money_:
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x40], 0xd
mov ecx, esp
mov dword [esp + 0x34], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.00442f80
mov ecx, dword [esi + 0x110]
add ecx, eax
push ecx
mov dword [esi + 0x110], ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str._exp_:
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x40], 0xe
mov ecx, esp
mov dword [esp + 0x34], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.00442f80
add dword [esi + 0x104], eax
jmp 0x410c3a
xor ebp, ebp
cmp edi, ebp
je 0x410e75
mov ecx, dword [edi + 0x10]
mov edx, dword [esi + 0x110]
mov eax, dword [esi + 0x104]
add edx, ecx
mov dword [esi + 0x110], edx
mov edx, dword [edi + 0x14]
add eax, edx
mov dword [esi + 0x104], eax
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [0x536d10]
mov eax, dword [esi + 0x110]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea edi, [esi + 0x78]
mov dword [ecx + 0xddc], eax
cmp dword [edi], ebp
je 0x410ec9
mov ecx, esi
call fcn.00410f70
mov ecx, dword [esi + 0xb0]
mov ebp, eax
mov edx, ebp
sub edx, ecx
cmp edx, 0x1388
jb 0x410ec9
push 0
push edi
call ebx
lea eax, [esi + 0xb0]
push ebp
push eax
call ebx
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x410edd
cmp dword [edi], 0
jle 0x410f24
push 0
push edi
call ebx
jmp 0x410f24
push 0x525e04
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jge 0x410f11
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x410f11
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, esi
call fcn.00410f70
push eax
lea eax, [esi + 0xb0]
push eax
call ebx
cmp dword [edi], 0x14
jl 0x410f24
mov edx, dword [esi]
push 0x525dec
push 2
mov ecx, esi
call dword [edx + 8]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0xc