Function at 0x4ffe20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x651c7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
mov eax, dword [0x8267cc]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x14], ecx
je 0x50000d
mov ebp, dword [fcn.0065e164]
mov ebx, dword [fcn.0065e254]
push 0x69b0e0
lea eax, [esp + 0x1c]
push 0x73aaac
push eax
call fcn.00643ea6
mov eax, dword [eax]
lea ecx, [esp + 0x8c]
push eax
push 0xff
push ecx
push 0x6a0d00
push 0x6a0ce0
push 0x69b0d0
call ebp
lea ecx, [esp + 0x18]
call fcn.00643d26
mov edx, dword [esp + 0x14]
push 0
push 0
lea ecx, [esp + 0x94]
mov eax, dword [edx + 0x20]
push eax
push ecx
call fcn.00477fa0
add esp, 0x10
test eax, eax
jne 0x5000c2
push eax
lea ecx, [esp + 0x20]
call fcn.0046edd0
push 0x6b9adc
lea ecx, [esp + 0x88]
mov dword [esp + 0x29c], 0
call fcn.006440b6
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x7c]
push edx
call fcn.006440b6
lea ecx, [esp + 0x1c]
call fcn.00643bee
cmp eax, 1
jne 0x4fffb8
mov edi, dword [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x69b0e0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x73aaac
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call fcn.00643ea6
mov eax, dword [eax]
lea edx, [esp + 0x8c]
push eax
push edx
push 0x6a0ce0
push 0x69b0d0
call ebx
lea ecx, [esp + 0x10]
call fcn.00643d26
lea ecx, [esp + 0x84]
mov dword [esp + 0x298], 3
call fcn.00643d26
lea ecx, [esp + 0x80]
mov byte [esp + 0x298], 2
call fcn.00643d26
lea ecx, [esp + 0x7c]
mov byte [esp + 0x298], 1
call fcn.00643d26
lea ecx, [esp + 0x1c]
mov dword [esp + 0x298], 0xffffffff
call fcn.00643d7a
jmp 0x4ffe5c
lea ecx, [esp + 0x84]
mov dword [esp + 0x298], 6
call fcn.00643d26
lea ecx, [esp + 0x80]
mov byte [esp + 0x298], 5
call fcn.00643d26
lea ecx, [esp + 0x7c]
mov byte [esp + 0x298], 4
call fcn.00643d26
lea ecx, [esp + 0x1c]
mov dword [esp + 0x298], 0xffffffff
call fcn.00643d7a
jmp 0x5000c2
call fcn.004db780
test eax, eax
jne 0x5000c2
mov eax, dword [0x898820]
test eax, eax
jne 0x5000c2
push 0x258
mov dword [0x898820], 1
call fcn.004784f0
mov edi, dword [0x73aaac]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x190]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x190]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x6b9ad4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x190]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.invest.dll_void___cdecl_SetPrivateInvestDir_char__]
push 0x4877c0
call dword [sym.imp.invest.dll_void___cdecl_RegisterInvestGPInfoHq_long_int____stdcall___char_const___short_int__char___float___float___]
add esp, 0xc
call dword [sym.imp.invest.dll_void___cdecl_PopupInvestDlg_void_]
mov dword [0x898820], 0
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28c
ret