Function at 0x404d83
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41960c
call fcn.0040fe54
sub esp, 0x2a8
mov eax, dword [0x4220b8]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.00404c1f
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2a0]
cmp dword [eax - 0xc], ebx
je 0x405178
push esi
push edi
call fcn.00409ca3
mov esi, eax
cmp esi, ebx
je 0x404dd3
cmp dword [ebp + 0xc], ebx
je 0x404ddd
mov dword [0x422c70], 0xa
mov eax, dword [0x422e4c]
mov edi, 0x422e4c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x29c], eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
push eax
push 0x4234b0
push dword [0x422dcc]
lea eax, [ebp - 0x29c]
push eax
call fcn.004023b3
add esp, 0x18
cmp esi, ebx
je 0x404e41
cmp dword [ebp + 0xc], ebx
je 0x404e41
push 0x41ca80
lea eax, [ebp - 0x29c]
push eax
call fcn.004048c0
jmp 0x404e6c
lea eax, [ebp + 0xc]
push eax
call fcn.00409a89
pop ecx
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea esi, [ebp - 0x29c]
call fcn.00405235
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040252e
push str.dycfgver
lea eax, [ebp - 0x29c]
push eax
call fcn.004048c0
lea eax, [ebp + 0xc]
push eax
call fcn.0040996d
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x29c]
call fcn.00404a2c
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040252e
push 0x41d124
lea eax, [ebp - 0x29c]
push eax
call fcn.004048c0
lea eax, [ebp + 0xc]
push eax
call fcn.004099fb
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x29c]
call fcn.00404a2c
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040252e
cmp word [0x423a68], bx
je 0x404f16
push dword [0x422dc8]
lea eax, [ebp - 0x29c]
push eax
call fcn.004048c0
push 0x423a68
lea eax, [ebp - 0x29c]
push eax
call fcn.004048c0
push 0x104
lea eax, [ebp - 0x298]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x298]
push 0x5c
push eax
call fcn.0040e33f
pop ecx
pop ecx
push dword [0x422db4]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x298]
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0x41ca80
push dword [0x422dbc]
push dword [0x422db8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [0x422dc4]
lea eax, [ebp - 0x29c]
push eax
call fcn.004048c0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.004048c0
push 0x41d11c
push 0x41d118
lea eax, [ebp - 0x29c]
push eax
call fcn.0040454f
push dword [ebp - 0x29c]
push str.GetNewDownloadUrls_command__s_n
call fcn.00409014
mov eax, dword [0x422e4c]
pop ecx
pop ecx
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 5
mov eax, dword [0x422e4c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 6
lea esi, [ebp - 0x2a4]
call fcn.004051a9
lea eax, [ebp - 0x2b4]
push eax
call fcn.00406660
mov byte [ebp - 4], 7
push dword [0x422c6c]
lea eax, [ebp - 0x2b4]
push 0x4236b8
call fcn.00406700
test eax, eax
je 0x405098
push str.GetNewDownloadUrls_connect_succeed._n
call fcn.00409014
push dword [0x422c70]
lea eax, [ebp + 0xc]
push dword [ebp - 0x29c]
push dword [0x422dc0]
push eax
call fcn.004023b3
add esp, 0x14
push dword [ebp + 0xc]
lea eax, [ebp - 0x2b4]
push 0x41d080
call fcn.0040674e
test eax, eax
je 0x405098
push dword [ebp + 0xc]
push str.GetNewDownloadUrls_OpenRequest_succeed.__s_n
call fcn.00409014
pop ecx
pop ecx
push ebx
push ebx
push ebx
push ebx
lea esi, [ebp - 0x2b4]
call fcn.004067a4
test eax, eax
je 0x405098
push str.GetNewDownloadUrls_SendRequest_succeed._n
call fcn.00409014
pop ecx
lea eax, [ebp - 0x2a4]
push eax
mov eax, esi
push eax
call fcn.004068df
cmp dword [ebp - 0x2ac], ebx
je 0x4050b2
push dword [ebp - 0x2ac]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2ac], ebx
cmp dword [ebp - 0x2b0], ebx
je 0x4050cc
push dword [ebp - 0x2b0]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2b0], ebx
mov edi, dword [ebp - 0x2a4]
push edi
lea eax, [ebp + 0xc]
call fcn.004051e8
push dword [ebp + 0xc]
push str.GetNewDownloadUrls_Read__s_n
call fcn.00409014
pop ecx
pop ecx
push dword [ebp - 0x2a0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00403713
test eax, eax
je 0x40512d
cmp dword [0x422c70], 0x14
jle 0x40512d
dec dword [0x422c70]
push 0x927c0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.004066d0
jmp 0x404fe8
lea esi, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.004066d0
call fcn.0040a0a4
cmp dword [edi - 0xc], ebx
jne 0x40514b
or ebx, 0xffffffff
jmp 0x405155
mov eax, dword [ebp + 8]
call fcn.0040308f
mov ebx, eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040252e
lea eax, [edi - 0x10]
call fcn.0040252e
mov eax, dword [ebp - 0x29c]
add eax, 0xfffffff0
call fcn.0040252e
pop edi
pop esi
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
call fcn.0040252e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ebx
pop ebx
call fcn.0040f65e
leave
ret 8