Function at 0x409e70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af3eb
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x623fcc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x34], edi
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x409eeb
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push 0x6024e6
mov byte [edi], 0
call fcn.004020e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054f54f
mov esp, ebp
pop ebp
ret
push str._FileLoadBasic.ini
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
call fcn.00413f40
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
mov edx, dword [esi]
lea ecx, [ebp - 0x34]
push eax
call fcn.004141c0
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x409f25
mov eax, dword [eax]
jmp 0x409f27
xor eax, eax
push eax
lea ecx, [ebp - 0x18]
call fcn.00404a10
mov esi, dword [ebp - 0x34]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x409f8f
lea eax, [esi + 8]
push eax
call ecx
test eax, eax
jne 0x409f82
test esi, esi
je 0x409f82
mov eax, dword [esi]
test eax, eax
je 0x409f60
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x409f77
push eax
call fcn.00415055
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0054f560
add esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x409fd5
lea eax, [esi + 8]
push eax
call ecx
test eax, eax
jne 0x409fd5
mov eax, dword [esi]
test eax, eax
je 0x409fb3
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x409fca
push eax
call fcn.00415055
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0054f560
add esp, 8
call fcn.00416de3
mov ecx, eax
test ecx, ecx
je 0x40a172
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x6029b8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00404490
test al, al
jne 0x40a013
push 0
push 0x6029b8
lea ecx, [ebp - 0x14]
call fcn.004048f0
mov byte [ebp - 4], 6
mov ecx, 1
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x40a041
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00404770
mov esi, dword [ebp - 0x14]
push ebx
push 0x104
push esi
push 0x6029b8
push str.SBSH
push str.LastLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.0058ca4f
add esp, 8
test eax, eax
js 0x40a168
cmp eax, dword [esi - 8]
jg 0x40a168
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea ecx, [ebp - 0xb8]
push esi
call fcn.0040d2c0
mov byte [ebp - 4], 7
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a0b0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.004020e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp - 0xb8]
cmp eax, ecx
je 0x40a0e0
push eax
call fcn.0058b3e8
add esp, 4
push ecx
lea edx, [ebp - 0x30]
mov ecx, edi
call fcn.00401db0
mov byte [ebp - 4], 6
add esp, 4
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x40a122
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a118
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a17c
push edx
push ecx
call fcn.0054f560
add esp, 8
lea edx, [esi - 0x10]
mov byte [ebp - 4], 4
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a140
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x409ecd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x409ecd
push 0x80070057
call fcn.004048a0
push 0x80004005
call fcn.004048a0
call fcn.005875a9
int3