Function at 0x482890
Capabilities:
Enumerate files on windows
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
push esi
mov esi, ecx
mov eax, 0x2ee
cmp word [esi + 0xc14], ax
jne 0x482b21
lea ecx, [ebp - 0x210]
push 0x69e584
push ecx
call fcn.0045c0f0
add esp, 8
lea edx, [ebp - 4]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x210]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x482b21
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10c]
push edx
push eax
push eax
mov eax, dword [ebp - 4]
push str.lan_V1
push eax
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x482b17
lea ecx, [ebp - 0x10c]
push str.dota
push ecx
call fcn.0045b6b0
add esp, 8
test eax, eax
jne 0x482b17
lea edx, [ebp - 0x10c]
push 0x69e56c
push edx
call fcn.0045c0f0
lea eax, [esi + 0x40b]
lea edx, [ebp - 0x210]
add esp, 8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x482950
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov byte [ebp - 0x314], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x482b17
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x4829b0
lea edx, [ebp - 0x428]
push 0x60d1f0
push edx
call fcn.0045b6b0
add esp, 8
test eax, eax
jne 0x482a53
mov al, byte [ebp - 0x428]
lea ecx, [ebp - 0x428]
lea edx, [ebp - 0x10c]
test al, al
je 0x4829f5
cmp al, 0x20
je 0x4829ed
cmp al, 0x5f
je 0x4829ed
mov byte [edx], al
inc edx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4829e2
cmp byte [ebp - 0x314], 0
mov byte [edx], 0
je 0x482a1b
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call sym.GameRanger.exe_int___cdecl_strcasecmp_char_const___char_const__
add esp, 8
test eax, eax
jle 0x482a53
xor eax, eax
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x10c]
mov byte [ebp + eax - 0x314], cl
inc eax
test cl, cl
jne 0x482a20
xor eax, eax
jmp 0x482a40
mov cl, byte [ebp + eax - 0x428]
mov byte [ebp + eax - 0x210], cl
inc eax
test cl, cl
jne 0x482a40
lea edx, [ebp - 0x454]
push edx
push esi
call edi
test eax, eax
jne 0x4829b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x314], 0
je 0x482b16
mov eax, dword [str.MapsDownload_]
mov ecx, dword [0x60d1e4]
mov edx, dword [0x60d1e8]
mov dword [ebp - 0x10c], eax
mov ax, word [0x60d1ec]
mov dword [ebp - 0x108], ecx
mov cl, byte [0x60d1ee]
mov word [ebp - 0x100], ax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x104], edx
mov byte [ebp - 0xfe], cl
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x482ac0
lea edi, [ebp - 0x10c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x482ad0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x10c]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x482af1
sub eax, edx
inc eax
push eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push str.lan_V1
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret