Function at 0x409d00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af22b
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 0x409d7b
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.0054f3d2
mov esp, ebp
pop ebp
ret
push str._FileLoadBasic.ini
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
call fcn.00413dd0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
mov edx, dword [esi]
lea ecx, [ebp - 0x34]
push eax
call fcn.00414050
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x409db5
mov eax, dword [eax]
jmp 0x409db7
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 0x409e1f
lea eax, [esi + 8]
push eax
call ecx
test eax, eax
jne 0x409e12
test esi, esi
je 0x409e12
mov eax, dword [esi]
test eax, eax
je 0x409df0
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x409e07
push eax
call fcn.00414ee5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0054f3e3
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 0x409e65
lea eax, [esi + 8]
push eax
call ecx
test eax, eax
jne 0x409e65
mov eax, dword [esi]
test eax, eax
je 0x409e43
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x409e5a
push eax
call fcn.00414ee5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0054f3e3
add esp, 8
call fcn.00416c73
mov ecx, eax
test ecx, ecx
je 0x40a002
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 0x409ea3
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 0x409ed1
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.0058c8cf
add esp, 8
test eax, eax
js 0x409ff8
cmp eax, dword [esi - 8]
jg 0x409ff8
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea ecx, [ebp - 0xb8]
push esi
call fcn.0040d150
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 0x409f40
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 0x409f70
push eax
call fcn.0058b268
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 0x409fb2
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409fa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a00c
push edx
push ecx
call fcn.0054f3e3
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 0x409fd0
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 0x409d5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x409d5d
push 0x80070057
call fcn.004048a0
push 0x80004005
call fcn.004048a0
call fcn.00587429
int3