Function at 0x432040
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464528
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x60]
lea esi, [ecx + 0x50]
mov dword [ebp - 0x18], esi
cmp dword [esi + 0xc], edi
jbe 0x43207b
call fcn.00446257
mov ebx, dword [esi]
mov esi, dword [esi + 0xc]
mov ecx, dword [ebp - 0x18]
cmp esi, dword [ecx + 0x10]
jbe 0x432090
call fcn.00446257
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
push edi
push ebx
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00419d90
lea ecx, [ebp - 0x3c]
call fcn.00420560
lea ecx, [ebp - 0x3c]
xor edi, edi
push ecx
mov dword [ebp - 4], edi
call fcn.0041a460
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x30]
add esp, 4
sar edx, 2
test edx, edx
jbe 0x4322fc
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop
push 0x472350
lea ecx, [ebp - 0x10]
call fcn.0040fbb0
push 0x472350
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040fbb0
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
sar eax, 2
cmp edi, eax
jb 0x432104
call fcn.00446257
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + edi*4]
push str.MyID.ini
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.0040f860
add esp, 0xc
mov esi, dword [eax]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
sub ecx, 0x105
or eax, ecx
mov byte [ebp - 4], 3
jge 0x43214a
push 0x105
lea ecx, [ebp - 0x10]
call fcn.0040f370
mov edx, dword [ebp - 0x10]
push esi
push 0x104
push edx
push 0x472350
push 0x46b588
push 0x46b578
call ebx
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432185
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00448e74
add esp, 8
test eax, eax
jl 0x432381
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x432381
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
lea ecx, [ebp - 0x10]
call fcn.00421c50
mov ecx, eax
call fcn.00421ca0
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
sar eax, 2
cmp edi, eax
jb 0x4321d6
call fcn.00446257
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + edi*4]
push str.MyID.ini
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.0040f860
add esp, 0xc
mov esi, dword [eax]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x105
or eax, ecx
mov byte [ebp - 4], 4
jge 0x43221b
push 0x105
lea ecx, [ebp - 0x14]
call fcn.0040f370
mov edx, dword [ebp - 0x14]
push esi
push 0x104
push edx
push 0x472350
push 0x46b570
push 0x46b578
call ebx
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432256
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00448e74
add esp, 8
test eax, eax
jl 0x432381
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x432381
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
lea ecx, [ebp - 0x14]
call fcn.00421c50
mov ecx, eax
call fcn.00421ca0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x43231d
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x43231d
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4322c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4322ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x30]
inc edi
sar ecx, 2
cmp edi, ecx
jb 0x4320d0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00419e80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
mov ecx, esi
call fcn.0041a270
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.0041a270
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432359
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4322fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4322fc
push 0x80070057
call fcn.00403db0
int3