Function at 0x44b450
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed926
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x5315d4]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x63c], ebx
test ebx, ebx
je 0x44b7ef
push 0x500000
call fcn.0046595c
push 0x500000
push 0
push eax
mov dword [ebp - 0x630], eax
call fcn.00471c10
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00471c10
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00471c10
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00471c10
mov eax, dword [0x5348b4]
add esp, 0x34
test al, 1
jne 0x44b527
or eax, 1
mov dword [0x5348b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x4f2a20
mov dword [0x5348a8], 0x4f58f0
mov dword [0x5348ac], eax
mov byte [0x5348b0], 0
call fcn.004658b4
mov eax, dword [0x5348b4]
add esp, 4
test al, 2
jne 0x44b583
or eax, 2
mov dword [0x5348b8], 0x4f5908
mov dword [0x5348b4], eax
xor eax, eax
push 0x4f2a50
mov dword [0x5348bc], 0x5348a8
mov dword [0x5348cc], 2
mov dword [0x5348c4], 0
mov dword [0x5348c8], 0
mov dword [0x5348d0], eax
mov dword [0x5348c0], 0x5348b8
call fcn.004658b4
add esp, 4
mov eax, dword [0x5348b8]
mov ecx, 0x5348b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x62c], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x62c]
test ebx, 0xffff0000
jne 0x44b5b9
movzx eax, bx
push eax
call fcn.0041d980
jmp 0x44b5bf
push ebx
call fcn.00424a50
mov esi, dword [ebp - 0x62c]
mov ebx, str.updatecfg.ini
push 0xe
sub ebx, esi
mov dword [ebp - 4], 1
push str.updatecfg.ini
mov edi, dword [esi - 0xc]
sar ebx, 1
mov dword [ebp - 0x638], edi
call fcn.0048e1ba
mov edx, eax
mov ecx, SysReAllocString
sub ecx, edx
mov dword [ebp - 0x634], edx
add esp, 8
cmp ecx, edi
jl 0x44b810
add edi, edx
js 0x44b81a
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x44b635
push edi
lea ecx, [ebp - 0x62c]
call fcn.00405250
mov esi, dword [ebp - 0x62c]
mov edx, dword [ebp - 0x634]
mov eax, dword [ebp - 0x638]
lea ecx, [esi + ebx*2]
cmp ebx, eax
jbe 0x44b647
mov ecx, str.updatecfg.ini
push edx
push ecx
push edx
lea eax, [esi + eax*2]
push eax
call fcn.00404480
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x44b810
push esi
push 0x280000
push dword [ebp - 0x630]
xor eax, eax
mov dword [esi - 0xc], edi
push eax
push eax
push eax
mov word [esi + edi*2], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ebx, ebx
mov dword [ebp - 0x634], eax
xor edi, edi
mov dword [ebp - 0x62c], ebx
test eax, eax
je 0x44b7c2
nop word [eax + eax]
mov eax, dword [ebp - 0x630]
movzx eax, word [eax + ebx*2]
test ax, ax
jne 0x44b7a6
lea eax, [edi + edi]
cmp eax, 0x208
jae 0x44b80b
push esi
xor ecx, ecx
xor edi, edi
push 0x104
mov word [ebp + eax - 0x420], cx
lea eax, [ebp - 0x628]
push eax
push edi
push 0x503cd4
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x628], di
je 0x44b7af
mov ecx, dword [ebp - 0x63c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44b703
sub ecx, edx
sar ecx, 1
and ecx, 0x7fffffff
cmp ecx, 0x7ffffffe
jbe 0x44b72b
xor eax, eax
mov word [ebp - 0x218], ax
jmp 0x44b776
lea edx, [ebp - 0x218]
mov edi, 0x82
lea ebx, [ecx - 0x82]
mov eax, edx
mov ecx, dword [ebp - 0x63c]
sub ecx, eax
lea eax, [ebx + edi]
test eax, eax
je 0x44b761
movzx eax, word [ecx + edx]
test ax, ax
je 0x44b761
mov word [edx], ax
add edx, 2
sub edi, 1
jne 0x44b746
mov ebx, dword [ebp - 0x62c]
lea eax, [edx - 2]
test edi, edi
cmovne eax, edx
xor ecx, ecx
mov edi, ecx
mov word [eax], cx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea eax, [ebp - 0x218]
push eax
push 0x503cd4
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x44b7af
mov word [ebp + edi*2 - 0x420], ax
inc edi
inc ebx
mov dword [ebp - 0x62c], ebx
cmp ebx, dword [ebp - 0x634]
jb 0x44b6a0
push dword [ebp - 0x630]
call fcn.00465965
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44b7ef
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004654a8
mov esp, ebp
pop ebp
ret
call fcn.00465c57
push 0x80070057
call fcn.00404290
push 0x80070057
call fcn.00404290
int3