Function at 0x48a170
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d0370
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x23c]
mov esi, dword [esp + 0x240]
xor ebx, ebx
mov ebp, ecx
push ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebx
call fcn.00488800
test al, al
je 0x48aa43
mov dword [esp + 0x24], 4
cmp dword [edi + 0x10], ebx
jne 0x48a1e4
xor eax, eax
jmp 0x48a1f0
cmp dword [edi + 0x14], 8
jb 0x48a1ee
mov eax, dword [edi]
jmp 0x48a1f0
mov eax, edi
lea ecx, [esp + 0x24]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
push ebx
push eax
mov eax, dword [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0x34], eax
cmp eax, ebx
je 0x48a6a8
xor al, al
cmp al, bl
jne 0x48a273
lea ecx, [esp + 0xe8]
push 0x5fcf00
push ecx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov dword [esp + 0x234], ebx
cmp dword [0x695aa8], ebx
je 0x48a257
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x48a257
call fcn.004443b0
jmp 0x48a25c
mov al, byte [0x68a580]
cmp al, bl
je 0x48a273
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x48a277
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x234], 0xffffffff
je 0x48a2b8
mov edx, dword [esp + 0x104]
and dword [esp + 0x18], 0xfffffffe
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xfc], 8
jb 0x48a2b8
mov eax, dword [esp + 0xe8]
push eax
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x48aa43
push str.Cant_read_value_of_key__s
lea ecx, [esp + 0xec]
call fcn.00402bb0
mov edi, 7
xor ecx, ecx
mov dword [esp + 0x234], 1
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], cx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
xor edx, edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], dx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x234], 3
call fcn.00425e70
cmp eax, ebx
je 0x48a351
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0xf0]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x48a361
lea edx, [esp + 0xe8]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x2c], eax
mov byte [esp + 0x234], 4
call fcn.00420510
mov dword [esp + 0x30], eax
mov byte [esp + 0x234], 5
call fcn.00420510
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
push str.wx.sys_error
lea ecx, [esp + 0x168]
mov byte [esp + 0x238], 6
call fcn.00402bb0
push 1
lea eax, [esp + 0x208]
push eax
mov ecx, ebp
mov byte [esp + 0x23c], 7
call fcn.00486ed0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, eax
call fcn.00406280
mov byte [esp + 0x240], 9
mov dword [esp + 0x118], 1
mov dword [esp + 0x120], str....._srcmsw_registry.cpp
mov dword [esp + 0x128], str.wxRegKey::QueryValue
mov dword [esp + 0x124], 0x385
mov dword [esp + 0x12c], 0x5fcf00
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
xor edx, edx
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ebx
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
mov word [esp + 0x148], dx
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], ebx
mov byte [esp + 0x240], 0xa
call sub.KERNEL32.dll_GetLastError
push 0xffffffffffffffff
mov esi, eax
push ebx
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x154]
call fcn.00402610
mov ecx, dword [esp + 0x144]
cmp ecx, ebx
jne 0x48a4d4
push 0x20
call fcn.00584773
add esp, 4
mov dword [esp + 0x34], eax
mov byte [esp + 0x240], 0xb
cmp eax, ebx
je 0x48a4c1
mov ecx, eax
call fcn.004287b0
jmp 0x48a4c3
xor eax, eax
mov ecx, eax
mov byte [esp + 0x240], 0xa
mov dword [esp + 0x144], ecx
lea edx, [esp + 0x170]
push edx
call fcn.004775a0
mov dword [eax], esi
mov ecx, dword [ebp + 0x34]
lea eax, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x120]
mov byte [esp + 0x248], 0xc
call fcn.004651d0
mov edx, dword [esp + 0x158]
push edx
mov byte [esp + 0x238], 8
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x150], 8
jb 0x48a532
mov eax, dword [esp + 0x13c]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0x13c], cx
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov esi, ecx
cmp ecx, ebx
je 0x48a565
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x220]
push edx
call fcn.005844d1
mov esi, 8
add esp, 4
cmp dword [esp + 0x218], esi
jb 0x48a593
mov eax, dword [esp + 0x204]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x180]
xor ecx, ecx
push edx
mov dword [esp + 0x21c], edi
mov dword [esp + 0x218], ebx
mov word [esp + 0x208], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x178], esi
jb 0x48a5d4
mov eax, dword [esp + 0x164]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0x164], cx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x178], edi
mov dword [esp + 0x174], ebx
mov byte [esp + 0x234], 3
call fcn.004020c0
mov edx, dword [esp + 0x70]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x68], esi
jb 0x48a61d
mov eax, dword [esp + 0x54]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0xdc]
xor ecx, ecx
push edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xd4], esi
jb 0x48a655
mov eax, dword [esp + 0xc0]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x104]
xor ecx, ecx
push edx
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], cx
mov dword [esp + 0x238], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xfc], esi
jb 0x48a6a1
mov eax, dword [esp + 0xe8]
push eax
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x48a214
mov eax, dword [esp + 0x1c]
cmp eax, 4
je 0x48aa3f
cmp eax, 5
je 0x48aa3f
xor al, al
cmp al, bl
jne 0x48a723
lea ecx, [esp + 0xe8]
push 0x5fcf00
push ecx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 2
mov dword [esp + 0x234], 0xd
cmp dword [0x695aa8], ebx
je 0x48a707
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x48a707
call fcn.004443b0
jmp 0x48a70c
mov al, byte [0x68a580]
cmp al, bl
je 0x48a723
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x48a727
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 2
mov dword [esp + 0x234], 0xffffffff
je 0x48a768
mov edx, dword [esp + 0x104]
and dword [esp + 0x18], 0xfffffffd
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xfc], 8
jb 0x48a768
mov eax, dword [esp + 0xe8]
push eax
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x48aa43
push str.Registry_value___s__is_not_numeric__but_of_type__s_
lea ecx, [esp + 0x18c]
call fcn.00402bb0
mov ebp, 7
xor ecx, ecx
mov dword [esp + 0x234], 0xe
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], cx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
xor edx, edx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x234], 0x10
call fcn.00425e70
cmp eax, ebx
je 0x48a80d
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x190]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x48a81d
lea edx, [esp + 0x188]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x40], eax
mov byte [esp + 0x234], 0x11
call fcn.00420510
mov dword [esp + 0x44], eax
mov byte [esp + 0x234], 0x12
call fcn.00420510
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x1c]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x4c], esp
push eax
mov byte [esp + 0x25c], 0x13
call fcn.004864b0
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x12c], esp
push ecx
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x280], 0x14
call fcn.00486fd0
add esp, 4
mov byte [esp + 0x27c], 0x15
mov dword [esp + 0x1f4], 1
mov dword [esp + 0x1fc], str....._srcmsw_registry.cpp
mov dword [esp + 0x204], str.wxRegKey::QueryValue
mov dword [esp + 0x200], 0x38c
mov dword [esp + 0x208], 0x5fcf00
mov dword [esp + 0x20c], ebx
mov dword [esp + 0x210], ebx
mov dword [esp + 0x214], ebx
mov dword [esp + 0x218], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
xor edx, edx
mov dword [esp + 0x21c], eax
mov dword [esp + 0x220], ebx
mov dword [esp + 0x238], ebp
mov dword [esp + 0x234], ebx
mov word [esp + 0x224], dx
mov dword [esp + 0x240], ebx
mov dword [esp + 0x244], ebx
mov byte [esp + 0x27c], 0x16
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x280], 0x17
call fcn.00428490
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x234], 0x13
call fcn.0040e140
lea ecx, [esp + 0x40]
mov byte [esp + 0x234], 0x10
call fcn.004020c0
mov ecx, dword [esp + 0x94]
push ecx
call fcn.005844d1
mov esi, 8
add esp, 4
cmp dword [esp + 0x8c], esi
jb 0x48a996
mov edx, dword [esp + 0x78]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0xb8]
xor eax, eax
push ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], ax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xb0], esi
jb 0x48a9d4
mov edx, dword [esp + 0x9c]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x1a4]
xor eax, eax
push ecx
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], ax
mov dword [esp + 0x238], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x19c], esi
jb 0x48aa20
mov edx, dword [esp + 0x188]
push edx
call fcn.00584768
add esp, 4
xor eax, eax
mov word [esp + 0x188], ax
mov dword [esp + 0x19c], ebp
mov dword [esp + 0x198], ebx
mov al, 1
jmp 0x48a6c0
mov al, 1
jmp 0x48aa45
xor al, al
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00585b7b
add esp, 0x224
ret 8