Function at 0x488800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5cff70
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
cmp dword [edi], ebx
je 0x488860
mov eax, dword [esp + 0x184]
cmp eax, dword [edi + 0x30]
jle 0x488d9e
call fcn.004876c0
mov esi, dword [esp + 0x184]
mov eax, dword [edi + 0x2c]
neg esi
sbb esi, esi
and esi, 0xd0026
add esi, 0x20019
xor ebp, ebp
sub eax, 2
jne 0x48888f
call fcn.00432a90
test al, al
je 0x48888f
mov ebp, 0x100
lea eax, [edi + 8]
or esi, ebp
cmp dword [eax + 0x14], 8
jb 0x48889c
mov eax, dword [eax]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x20]
push ecx
push esi
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [edi + 0x34], eax
cmp eax, ebx
je 0x488d8e
xor al, al
jmp 0x4888c0
cmp al, bl
jne 0x48891f
lea eax, [esp + 0x14c]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov dword [esp + 0x17c], ebx
cmp dword [0x695aa8], ebx
je 0x488903
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x488903
call fcn.004443b0
jmp 0x488908
mov al, byte [0x68a580]
cmp al, bl
je 0x48891f
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x488923
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x17c], 0xffffffff
je 0x488964
mov ecx, dword [esp + 0x168]
and dword [esp + 0x18], 0xfffffffe
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x160], 8
jb 0x488964
mov edx, dword [esp + 0x14c]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x488d8a
push str.Cant_open_registry_key__s
lea ecx, [esp + 0x108]
call fcn.00402bb0
mov ebp, 7
xor eax, eax
mov dword [esp + 0x17c], 1
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
xor ecx, ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x17c], 3
call fcn.00425e70
cmp eax, ebx
je 0x4889eb
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x10c]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x4889fb
lea eax, [esp + 0x104]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x24], eax
mov byte [esp + 0x17c], 4
call fcn.00420510
mov dword [esp + 0x28], eax
mov byte [esp + 0x17c], 5
call fcn.00420510
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
push str.wx.sys_error
lea ecx, [esp + 0xe4]
mov byte [esp + 0x180], 6
call fcn.00402bb0
push 1
lea ecx, [esp + 0x12c]
push ecx
mov ecx, edi
mov byte [esp + 0x184], 7
call fcn.00486ed0
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x8c], esp
push edx
mov ecx, eax
call fcn.00406280
mov byte [esp + 0x188], 9
mov dword [esp + 0x94], 1
mov dword [esp + 0x9c], str....._srcmsw_registry.cpp
mov dword [esp + 0xa4], str.wxRegKey::Open
mov dword [esp + 0xa0], 0x1be
mov dword [esp + 0xa8], 0x5fcf00
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0xbc], eax
xor eax, eax
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], ax
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov byte [esp + 0x188], 0xa
call sub.KERNEL32.dll_GetLastError
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xf4]
push ecx
lea ecx, [esp + 0xd0]
mov edi, eax
call fcn.00402610
mov ecx, dword [esp + 0xc0]
cmp ecx, ebx
jne 0x488ba9
push 0x20
call fcn.00584773
mov esi, eax
add esp, 4
mov dword [esp + 0x90], esi
mov byte [esp + 0x188], 0xb
cmp esi, ebx
je 0x488b98
push 0x64
call fcn.00447710
push 4
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
call fcn.00585c5e
mov dword [esi], eax
push 0x64
mov byte [esp + 0x198], 0xc
call fcn.00447710
push 4
push eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
call fcn.00585c5e
add esp, 0x18
mov dword [esi + 0x10], eax
mov ecx, esi
jmp 0x488b9a
xor ecx, ecx
mov byte [esp + 0x188], 0xa
mov dword [esp + 0xc0], ecx
lea edx, [esp + 0xec]
push edx
call fcn.004775a0
mov dword [eax], edi
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x34]
lea eax, [esp + 0x30]
push eax
push edx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x190], 0xd
call fcn.004651d0
mov eax, dword [esp + 0xd4]
push eax
mov byte [esp + 0x180], 8
call fcn.005844d1
mov edi, 8
add esp, 4
cmp dword [esp + 0xcc], edi
jb 0x488c0f
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0xb4]
xor edx, edx
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], dx
mov esi, ecx
cmp ecx, ebx
je 0x488c42
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x144]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x13c], edi
jb 0x488c6b
mov ecx, dword [esp + 0x128]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0xfc]
xor edx, edx
push eax
mov dword [esp + 0x140], ebp
mov dword [esp + 0x13c], ebx
mov word [esp + 0x12c], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf4], edi
jb 0x488cac
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
lea ecx, [esp + 0x24]
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], dx
mov byte [esp + 0x17c], 3
call fcn.004020c0
mov eax, dword [esp + 0x54]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x4c], edi
jb 0x488cf5
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x78]
xor edx, edx
push eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x70], edi
jb 0x488d24
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x120]
xor edx, edx
push eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
mov dword [esp + 0x180], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x118], edi
jb 0x488d67
mov ecx, dword [esp + 0x104]
push ecx
call fcn.00584768
add esp, 4
mov edi, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x118], ebp
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], dx
mov al, 1
jmp 0x4888c0
xor al, al
jmp 0x488da0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x184]
mov dword [edi], eax
mov dword [edi + 0x30], ecx
mov al, 1
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.00585b7b
add esp, 0x16c
ret 4