Function at 0x40d5eb
Capabilities:
Delete registry value
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
lea eax, [ebp - 8]
push 1
push eax
call fcn.0041753e
pop ecx
xor ebx, ebx
pop ecx
test eax, eax
je 0x40d82b
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x436540
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 4
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x436544
push dword [ebp - 8]
mov dword [ebp - 4], 3
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x43654c
push dword [ebp - 8]
mov byte [ebp - 0x218], bl
mov dword [ebp - 4], 0x100
call esi
push 0x43655c
lea eax, [ebp - 0x98]
push eax
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x436560
push dword [ebp - 8]
mov dword [ebp - 4], 0x80
call esi
push 0x436574
lea eax, [ebp - 0x118]
push eax
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x436578
push dword [ebp - 8]
mov dword [ebp - 4], 0x80
call esi
push 4
pop edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x436588
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x40d75a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x436598
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40d75a
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4365a4
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00419e0a
add esp, 0x38
test eax, eax
je 0x40d75a
push 0x4365a8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x4365b8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x4365c4
push dword [ebp - 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ebx
call esi
test eax, eax
jne 0x40d820
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x4365d4
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40d820
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x4365e0
push dword [ebp - 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], ebx
call esi
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
lea eax, [ebp - 0x98]
push dword [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4365f4
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00419e0a
add esp, 0x38
test eax, eax
je 0x40d820
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x4365f8
push dword [ebp - 8]
call esi
push 0x43660c
push dword [ebp - 8]
call esi
push 0x436620
push dword [ebp - 8]
call esi
push 0x436630
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov dword [0x446f94], ebx
xor eax, eax
pop ebx
leave
ret 4