Function at 0x41eab0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b5e6c
mov eax, dword fs:[0]
push eax
sub esp, 0x7b0
mov eax, dword [0x50a360]
xor eax, esp
mov dword [esp + 0x7ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a360]
xor eax, esp
push eax
lea eax, [esp + 0x7c4]
mov dword fs:[0], eax
push 0x206
mov ebp, ecx
xor ebx, ebx
lea ecx, [esp + 0x5be]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x5c4], ax
call fcn.00494750
push 0x206
lea eax, [esp + 0x3c2]
xor edx, edx
push ebx
push eax
mov word [esp + 0x3c8], dx
call fcn.00494750
add esp, 0x18
lea ecx, [esp + 0x3b0]
push ecx
mov ecx, 0x50b7e0
lea edi, [ebx + 1]
mov dword [esp + 0x1c], ebx
call fcn.0040aa50
test eax, eax
je 0x41eba9
lea edx, [esp + 0x3b0]
push edx
push 0x104
lea eax, [esp + 0x5c0]
push eax
push 0x4ef7cc
push str.Title
push 0x4c1fc8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x3b0]
push ecx
push edi
push str.ShowVer
push 0x4c1fc8
call esi
lea edx, [esp + 0x3b0]
push edx
push ebx
push str.ShowPacPath
push 0x4c1fc8
mov edi, eax
call esi
mov dword [esp + 0x18], eax
call fcn.0046c2c1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41ebc3
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x7cc], ebx
cmp edi, ebx
je 0x41ec33
lea ecx, [esp + 0x24]
call fcn.0045e920
lea ecx, [esp + 0x24]
mov byte [esp + 0x7cc], 1
call fcn.0045fdb0
cmp eax, ebx
jne 0x41ec00
xor ecx, ecx
jmp 0x41ec14
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41ec05
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00401860
lea ecx, [esp + 0x24]
mov byte [esp + 0x7cc], bl
call fcn.00433c40
mov esi, dword [esp + 0x1c]
call fcn.0046c2c1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41ec4d
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5b8]
mov byte [esp + 0x7cc], 2
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41ec70
sub eax, edx
sar eax, 1
je 0x41ec9d
lea ecx, [esp + 0x5b8]
push ecx
lea edx, [esp + 0x18]
push str.ResearchDownload___s_
push edx
call fcn.00401cb0
add esp, 0xc
jmp 0x41ecad
push 0x10
push str.ResearchDownload
lea ecx, [esp + 0x1c]
call fcn.00401860
cmp edi, ebx
je 0x41eccf
push 4
push str.___R
lea ecx, [esp + 0x1c]
call fcn.00401ab0
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00401ab0
cmp dword [esp + 0x18], ebx
je 0x41ed75
mov eax, dword [ebp + 0x148]
cmp dword [eax - 0xc], ebx
je 0x41ed75
cmp dword [ebp + 0x1fc0], ebx
je 0x41ed75
call fcn.0046c2c1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41ed0e
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x148]
push ecx
lea edx, [esp + 0x1c]
push str._____s_
push edx
mov byte [esp + 0x7d8], 3
call fcn.00401cb0
mov esi, dword [esp + 0x24]
mov eax, dword [esi - 0xc]
add esp, 0xc
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00401ab0
lea eax, [esi - 0x10]
mov byte [esp + 0x7cc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ed75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push esi
mov ecx, ebp
call fcn.0046b76f
lea eax, [esi - 0x10]
mov byte [esp + 0x7cc], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eda4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x7cc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41edcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x7c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7ac]
xor ecx, esp
call fcn.004945a7
add esp, 0x7bc
ret