Function at 0x41cb70
Capabilities:
Get file version info
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x43ddd0
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41cb10
mov eax, dword [ebp - 8]
jmp 0x41cdbe
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x10]
push dword [0x43ddd0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41cb4b
push dword [0x43ddd0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
jmp 0x41cdbe
cmp dword [ebp - 0xc], 0
jne 0x41cb65
push dword [0x43ddd0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
jmp 0x41cdbe
cmp dword [0x43de40], 0
je 0x41cb7a
push dword [0x43de40]
call fcn.0041efe8
pop ecx
mov eax, dword [ebp - 0xc]
inc eax
push eax
call fcn.0041a65d
pop ecx
mov dword [0x43de40], eax
lea eax, [ebp - 0xc]
push eax
push dword [0x43de40]
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x10]
push dword [0x43ddd0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41cdaf
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x41cbf8
cmp dword [ebp - 0x20], 3
je 0x41cc0f
cmp dword [ebp - 0x20], 3
jbe 0x41cda4
cmp dword [ebp - 0x20], 5
jbe 0x41cc7f
cmp dword [ebp - 0x20], 6
je 0x41cc0f
cmp dword [ebp - 0x20], 7
je 0x41ccc0
cmp dword [ebp - 0x20], 8
je 0x41cc0f
jmp 0x41cda4
push 0x43de44
push dword [0x43de40]
call fcn.0041eab0
pop ecx
pop ecx
jmp 0x41cda4
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax + 1]
push eax
call fcn.0041a65d
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41cc7a
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
and dword [ebp - 4], 0
jmp 0x41cc39
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jae 0x41cc66
mov eax, dword [0x43de40]
add eax, dword [ebp - 4]
movzx eax, byte [eax]
push eax
push str._02x
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax*2]
push eax
call fcn.0041e9c2
add esp, 0xc
jmp 0x41cc32
push dword [0x43de40]
call fcn.0041efe8
pop ecx
mov eax, dword [ebp - 0x10]
mov dword [0x43de40], eax
jmp 0x41cda4
push 0x20
call fcn.0041a65d
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41ccbb
mov eax, dword [0x43de40]
push dword [eax]
push 0x43b9a8
push dword [ebp - 0x10]
call fcn.0041e9c2
add esp, 0xc
push dword [0x43de40]
call fcn.0041efe8
pop ecx
mov eax, dword [ebp - 0x10]
mov dword [0x43de40], eax
jmp 0x41cda4
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
jmp 0x41ccd1
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jae 0x41ccf2
mov eax, dword [0x43de40]
add eax, dword [ebp - 4]
movzx eax, byte [eax]
cmp eax, 0x7c
jne 0x41ccf0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x41ccca
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
push eax
call fcn.0041a65d
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41cda4
mov eax, dword [0x43de40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
jmp 0x41cd39
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
dec eax
cmp dword [ebp - 4], eax
jae 0x41cd8a
mov eax, dword [0x43de40]
add eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
jne 0x41cd59
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0x7c
jmp 0x41cd88
mov eax, dword [0x43de40]
add eax, dword [ebp - 4]
movzx eax, byte [eax]
cmp eax, 0x7c
jne 0x41cd7e
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0x7c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0x7c
jmp 0x41cd88
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx]
mov byte [eax], cl
jmp 0x41cd24
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0
push dword [0x43de40]
call fcn.0041efe8
pop ecx
mov eax, dword [ebp - 0x10]
mov dword [0x43de40], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x43de40]
mov dword [eax], ecx
push dword [0x43ddd0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret