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

Disassembly:
push 0xffffffffffffffff
push 0x5d108d
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, dword [esp + 0x248]
xor ebx, ebx
mov ebp, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebp
cmp dword [ebp + 0x18], ebx
je 0x491eba
cmp dword [ebp], ebx
jne 0x491597
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 4]
push eax
lea eax, [ebp + 8]
push ecx
call fcn.00486340
add esp, 8
cmp al, bl
jne 0x491597
xor al, al
lea ebp, [ebx + 1]
lea edi, [ebx + 7]
cmp al, bl
jne 0x491260
lea edx, [esp + 0x13c]
push 0x5fcf00
push edx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], ebp
mov dword [esp + 0x240], ebx
cmp dword [0x695aa8], ebx
je 0x491245
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x491245
call fcn.004443b0
jmp 0x49124a
mov al, byte [0x68a580]
cmp al, bl
je 0x491260
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x16], 1
cmp eax, ebp
jae 0x491264
mov byte [esp + 0x16], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x240], 0xffffffff
je 0x4912a5
mov eax, dword [esp + 0x158]
and dword [esp + 0x18], 0xfffffffe
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x150], 8
jb 0x4912a5
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x16], bl
je 0x491eba
push str.Registry_key__s_does_not_exist__cannot_rename_it.
lea ecx, [esp + 0x140]
call fcn.00402bb0
xor edx, edx
mov dword [esp + 0x240], ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
xor eax, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x240], 3
call fcn.00425e70
cmp eax, ebx
je 0x491323
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x144]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x491333
lea edx, [esp + 0x13c]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x24], eax
mov byte [esp + 0x240], 4
call fcn.00420510
mov dword [esp + 0x28], eax
mov byte [esp + 0x240], 5
call fcn.00420510
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x80]
mov byte [esp + 0x240], 6
call fcn.00487060
mov byte [esp + 0x240], 7
mov dword [esp + 0x160], ebp
mov dword [esp + 0x168], str....._srcmsw_registry.cpp
mov dword [esp + 0x170], str.wxRegKey::Rename
mov dword [esp + 0x16c], 0x24b
mov dword [esp + 0x174], 0x5fcf00
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x184], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x188], eax
xor eax, eax
mov dword [esp + 0x18c], ebx
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a0], ebx
mov word [esp + 0x190], ax
mov dword [esp + 0x1ac], ebx
mov dword [esp + 0x1b0], ebx
mov ecx, esi
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 0xa
call fcn.0041de00
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041d2a0
push eax
lea edx, [esp + 0x164]
push esi
push edx
call fcn.0040b680
mov eax, dword [esp + 0xa8]
push eax
call fcn.005844d1
add esp, 0x10
cmp dword [esp + 0x94], 8
jb 0x49146b
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x1ac]
xor edx, edx
push eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], dx
mov byte [esp + 0x244], 6
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x1a4], 8
jb 0x4914b5
mov ecx, dword [esp + 0x190]
push ecx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x18c]
xor edx, edx
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a0], ebx
mov word [esp + 0x190], dx
mov esi, ecx
cmp ecx, ebx
je 0x4914e8
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 3
call fcn.004020c0
mov eax, dword [esp + 0x54]
push eax
call fcn.005844d1
mov esi, 8
add esp, 4
cmp dword [esp + 0x4c], esi
jb 0x49151e
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], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x70], esi
jb 0x49154d
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x158]
xor edx, edx
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
mov dword [esp + 0x244], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x150], esi
jb 0x491590
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x491203
push 0x5c
push esi
call fcn.00486420
mov ecx, dword [0x68bf68]
add esp, 8
test eax, eax
sete al
mov edi, 7
xor edx, edx
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], ebx
mov word [esp + 0x10c], dx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebx
mov dword [esp + 0x108], ecx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x240], 0xb
cmp al, bl
je 0x49169e
push ebx
push ecx
mov eax, esp
lea edx, [esp + 0x144]
mov dword [esp + 0x24], esp
push edx
lea ecx, [ebp + 8]
mov dword [eax], 0x5c
call fcn.00422330
mov byte [esp + 0x240], 0xc
cmp dword [esp + 0x14c], ebx
je 0x491648
mov eax, 0x5c
push eax
lea ecx, [esp + 0x140]
call fcn.00414690
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x148]
call fcn.004023f0
mov edx, dword [ebp + 4]
xor ecx, ecx
xor eax, eax
nop
cmp dword [eax + 0x68bf68], edx
je 0x491673
add eax, 0xc
inc ecx
cmp eax, 0x54
jb 0x491660
xor ecx, ecx
lea eax, [esp + 0x13c]
push eax
push ecx
lea ecx, [esp + 0x10c]
call fcn.004886e0
lea ecx, [esp + 0x13c]
mov byte [esp + 0x240], 0xb
call fcn.00405eb0
jmp 0x4916ab
push esi
lea ecx, [esp + 0x108]
call fcn.004886a0
push ebx
lea ecx, [esp + 0x108]
call fcn.00487180
mov byte [esp + 0x16], al
cmp al, bl
jne 0x491a5e
xor al, al
cmp al, bl
jne 0x491726
lea ecx, [esp + 0x1b8]
push 0x5fcf00
push ecx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 2
mov byte [esp + 0x240], 0xd
cmp dword [0x695aa8], ebx
je 0x49170a
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x49170a
call fcn.004443b0
jmp 0x49170f
mov al, byte [0x68a580]
cmp al, bl
je 0x491726
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x49172a
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 2
mov dword [esp + 0x240], 0xb
je 0x491771
mov edx, dword [esp + 0x1d4]
and dword [esp + 0x18], 0xfffffffd
push edx
call fcn.005844d1
mov ebp, 8
add esp, 4
cmp dword [esp + 0x1cc], ebp
jb 0x491776
mov eax, dword [esp + 0x1b8]
push eax
call fcn.00584768
add esp, 4
jmp 0x491776
mov ebp, 8
cmp byte [esp + 0x17], bl
je 0x491af2
push str.Registry_key__s_already_exists.
lea ecx, [esp + 0x140]
call fcn.00402bb0
xor ecx, ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
xor edx, edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x240], 0x10
call fcn.00425e70
cmp eax, ebx
je 0x4917ed
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x144]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x4917fd
lea edx, [esp + 0x13c]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x24], eax
mov byte [esp + 0x240], 0x11
call fcn.00420510
mov dword [esp + 0x28], eax
mov byte [esp + 0x240], 0x12
call fcn.00420510
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x104]
lea esi, [esp + 0x80]
mov byte [esp + 0x240], 0x13
call fcn.00487060
mov byte [esp + 0x240], 0x14
mov dword [esp + 0x160], 1
mov dword [esp + 0x168], str....._srcmsw_registry.cpp
mov dword [esp + 0x170], str.wxRegKey::Rename
mov dword [esp + 0x16c], 0x26a
mov dword [esp + 0x174], 0x5fcf00
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x184], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x188], eax
xor eax, eax
mov dword [esp + 0x18c], ebx
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a0], ebx
mov word [esp + 0x190], ax
mov dword [esp + 0x1ac], ebx
mov dword [esp + 0x1b0], ebx
mov ecx, esi
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 0x17
call fcn.0041de00
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041d2a0
push eax
lea edx, [esp + 0x164]
push esi
push edx
call fcn.0040b680
mov eax, dword [esp + 0xa8]
push eax
call fcn.005844d1
add esp, 0x10
cmp dword [esp + 0x94], ebp
jb 0x49193b
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x1ac]
xor edx, edx
push eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], dx
mov byte [esp + 0x244], 0x13
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x1a4], ebp
jb 0x491984
mov ecx, dword [esp + 0x190]
push ecx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x18c]
xor edx, edx
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a0], ebx
mov word [esp + 0x190], dx
mov esi, ecx
cmp ecx, ebx
je 0x4919b7
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 0x10
call fcn.004020c0
mov eax, dword [esp + 0x78]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x70], ebp
jb 0x4919e8
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x54]
xor edx, edx
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x4c], ebp
jb 0x491a17
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x158]
xor edx, edx
push eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
mov byte [esp + 0x244], 0xb
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x150], ebp
jb 0x491a57
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x4916c6
lea edx, [esp + 0x104]
push edx
mov ecx, ebp
call fcn.004900a0
test al, al
je 0x491aee
mov ecx, ebp
call fcn.0048e430
test al, al
je 0x491aee
mov edx, dword [esp + 0x108]
lea ecx, [ebp + 8]
lea eax, [esp + 0x10c]
mov byte [esp + 0x16], 1
mov dword [ebp + 4], edx
cmp ecx, eax
je 0x491aa4
push 0xffffffffffffffff
push ebx
mov edx, eax
push edx
call fcn.00402610
lea ecx, [esp + 0x104]
mov dword [esp + 0x240], 0x23
call fcn.004876c0
mov eax, dword [esp + 0x128]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x120], 8
jb 0x491ae5
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.00584768
add esp, 4
mov al, byte [esp + 0x16]
jmp 0x491ebc
mov byte [esp + 0x16], bl
xor al, al
mov ebp, 0x272
lea esp, [esp]
cmp al, bl
jne 0x491b60
lea eax, [esp + 0x1b8]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 4
mov byte [esp + 0x240], 0x18
cmp dword [0x695aa8], ebx
je 0x491b44
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x491b44
call fcn.004443b0
jmp 0x491b49
mov al, byte [0x68a580]
cmp al, bl
je 0x491b60
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x491b64
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 4
mov dword [esp + 0x240], 0xb
je 0x491ba5
mov ecx, dword [esp + 0x1d4]
and dword [esp + 0x18], 0xfffffffb
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x1cc], 8
jb 0x491ba5
mov edx, dword [esp + 0x1b8]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x491aa4
push str.Failed_to_rename_the_registry_key__s_to__s.
lea ecx, [esp + 0x1bc]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], ax
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
xor ecx, ecx
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], cx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov byte [esp + 0x240], 0x1b
call fcn.00425e70
cmp eax, ebx
je 0x491c40
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x1c0]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x491c50
lea eax, [esp + 0x1b8]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0xa4], eax
mov byte [esp + 0x240], 0x1c
call fcn.00420510
mov dword [esp + 0xa8], eax
mov byte [esp + 0x240], 0x1d
call fcn.00420510
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], ebx
sub esp, 0x24
lea ecx, [esp + 0x128]
mov esi, esp
mov byte [esp + 0x264], 0x1e
mov dword [esp + 0x40], esp
call fcn.00487060
mov ecx, dword [esp + 0x44]
sub esp, 0x24
mov esi, esp
mov byte [esp + 0x288], 0x1f
mov dword [esp + 0x148], esp
call fcn.00487060
mov byte [esp + 0x288], 0x20
mov dword [esp + 0x224], 1
mov dword [esp + 0x22c], str....._srcmsw_registry.cpp
mov dword [esp + 0x234], str.wxRegKey::Rename
mov dword [esp + 0x230], ebp
mov dword [esp + 0x238], 0x5fcf00
mov dword [esp + 0x23c], ebx
mov dword [esp + 0x240], ebx
mov dword [esp + 0x244], ebx
mov dword [esp + 0x248], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
xor ecx, ecx
mov dword [esp + 0x24c], eax
mov dword [esp + 0x250], ebx
mov dword [esp + 0x268], edi
mov dword [esp + 0x264], ebx
mov word [esp + 0x254], cx
mov dword [esp + 0x270], ebx
mov dword [esp + 0x274], ebx
mov byte [esp + 0x288], 0x21
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0x228]
mov byte [esp + 0x28c], 0x22
call fcn.00428490
mov eax, dword [esp + 0x228]
push eax
mov byte [esp + 0x244], 0x1e
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x220], 8
jb 0x491db4
mov ecx, dword [esp + 0x20c]
push ecx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x208]
xor edx, edx
mov dword [esp + 0x220], edi
mov dword [esp + 0x21c], ebx
mov word [esp + 0x20c], dx
mov esi, ecx
cmp ecx, ebx
je 0x491de7
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
lea ecx, [esp + 0xa4]
mov byte [esp + 0x240], 0x1b
call fcn.004020c0
mov eax, dword [esp + 0xf8]
push eax
call fcn.005844d1
mov esi, 8
add esp, 4
cmp dword [esp + 0xf0], esi
jb 0x491e29
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0xd4]
xor edx, edx
push eax
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xcc], esi
jb 0x491e6a
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x1d4]
xor edx, edx
push eax
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], dx
mov byte [esp + 0x244], 0xb
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x1cc], esi
jb 0x491eb3
mov ecx, dword [esp + 0x1b8]
push ecx
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x491b00
xor al, al
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00585b7b
add esp, 0x230
ret 4