Function at 0x449030
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a2b6
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
xor ebx, ebx
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], 0xffffffff
call fcn.0040bce0
xor edx, edx
mov esi, eax
test esi, esi
setne dl
test edx, edx
je 0x449380
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
call fcn.0040bce0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x449380
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str.base__d
push eax
call fcn.00422de0
add esp, 0xc
lea eax, [ebp - 0x10]
push ebx
push str.flg__d
push eax
call fcn.00422de0
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [esi - 0x10]
lea ebx, [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x44910b
cmp ecx, dword [ebx]
jne 0x44910b
mov edi, ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x449147
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov edi, eax
test edi, edi
je 0x44938a
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
lea ecx, [edi + 0x10]
mov edx, dword [ebx + 4]
lea eax, [edx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [edx*2 + 2]
push eax
push ecx
call fcn.00551ae9
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x30], edi
push str.SDCatIdRecoverFlag
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040c2d0
mov byte [ebp - 4], 3
mov eax, dword [0x640424]
test eax, eax
jne 0x449190
push 0xc
call fcn.00551c81
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x449189
mov ecx, eax
call fcn.00422e00
jmp 0x44918b
xor eax, eax
mov dword [0x640424], eax
mov byte [ebp - 4], 1
push dword [eax + 4]
push 0xffffffffffffffff
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
or edx, 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x28], eax
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4491c8
mov ecx, dword [eax]
push dword [ebp - 0x28]
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4491e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x20], 0xffffffff
je 0x44938f
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x449217
cmp ecx, dword [edi]
jne 0x449217
mov esi, edi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x449253
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov esi, eax
test esi, esi
je 0x44938a
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x10]
mov edx, dword [edi + 4]
lea eax, [edx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [edx*2 + 2]
push eax
push ecx
call fcn.00551ae9
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x2c], esi
push str.SDCatIdRecoverFlag
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0040c2d0
mov byte [ebp - 4], 6
mov eax, dword [0x640424]
test eax, eax
jne 0x44929c
push 0xc
call fcn.00551c81
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x449295
mov ecx, eax
call fcn.00422e00
jmp 0x449297
xor eax, eax
mov dword [0x640424], eax
mov byte [ebp - 4], 1
push dword [eax + 4]
push 0xffffffffffffffff
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x30], eax
or esi, 0xffffffff
mov eax, dword [ebp - 0x1c]
mov edx, esi
add eax, 0xfffffff0
mov dword [ebp - 0x28], eax
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4492d6
mov ecx, dword [eax]
push dword [ebp - 0x28]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4492f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
lea ecx, [esi + 0x14]
lea eax, [ebp - 0x4c]
push eax
call fcn.00449b90
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x14]
call fcn.00449bd0
or esi, 0xffffffff
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44933f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44935c
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x24]
inc ebx
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], 0xffffffff
call fcn.0040bce0
mov esi, eax
test esi, esi
jne 0x449084
push 0x80004005
call fcn.0040c390
call fcn.0040c3b0
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4493af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4493cd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret