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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x4c9bf5
sub esp, 0xc4
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov eax, dword [esp + 0xcc]
cmp eax, 0x11
je 0x4c9bb2
cmp eax, 0x12
je 0x4c9336
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
lea edx, [0x503480]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
lea ecx, [0x507640]
mov dword [esp], ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 4], ecx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x68]
mov dword [edx], eax
mov eax, dword [0x5e13d0]
lea ebx, [edx + 4]
test eax, eax
jne 0x4c9321
mov dword [edx + 4], ecx
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x52f947]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.github.com/op/go-logging.(*Logger).Errorf
mov dword [esp], 0
lea eax, [0x52bb86]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x10], eax
call dbg.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
lea edx, [0x50cf60]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x5e13d0]
test ecx, ecx
jne 0x4c9307
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
lea ecx, [0x544770]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
nop
call dbg.runtime.deferreturn
add esp, 0xc4
ret
mov dword [esp + 0x64], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x64]
jmp 0x4c92e6
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x68]
jmp 0x4c9245
mov ecx, dword [esp + 0xc8]
mov dword [esp], ecx
lea edx, [0x52c2d4]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call dbg.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c9ba6
mov eax, 0x80000002
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov dword [esp], 0
mov dword [esp + 4], 0
call dbg.syscall.StringToUTF16Ptr
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x20006
lea eax, [esp + 0x34]
mov dword [esp + 0x10], eax
call dbg.syscall.RegOpenKeyEx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4c94e7
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xb8], edx
je 0x4c94e0
mov edx, dword [ecx + 4]
mov dword [esp + 0x60], edx
lea eax, [0x503f40]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
lea ecx, [0x507640]
mov dword [esp], ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 4], ecx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x5c]
mov dword [edx], eax
mov eax, dword [0x5e13d0]
lea ebx, [edx + 4]
test eax, eax
jne 0x4c94cb
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x60]
mov dword [edx + 8], eax
mov eax, dword [0x5e13d0]
lea ecx, [edx + 0xc]
test eax, eax
jne 0x4c94b5
mov eax, dword [esp + 0x48]
mov dword [edx + 0xc], eax
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x5322dd]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call dbg.github.com/op/go-logging.(*Logger).Infof
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xec], eax
nop
call dbg.runtime.deferreturn
add esp, 0xc4
ret
mov dword [esp], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x5c]
jmp 0x4c945e
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x5c]
jmp 0x4c9443
mov edx, ecx
jmp 0x4c93ee
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp], 0xc
lea eax, [0x533c14]
mov dword [esp + 4], eax
call dbg.runtime.deferproc
test eax, eax
jne 0x4c9b99
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov ecx, dword [esp + 0xd4]
mov dword [esp + 4], ecx
call dbg.syscall.StringToUTF16Ptr
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x18], 0
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x20], eax
call dbg.github.com/btcsuite/winsvc/winapi.RegCreateKeyEx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x4c971a
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xa8], edx
je 0x4c9713
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
lea eax, [0x5048c0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
lea ecx, [0x507640]
mov dword [esp], ecx
lea ecx, [esp + 0xac]
mov dword [esp + 4], ecx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x58]
mov dword [edx], eax
mov eax, dword [0x5e13d0]
lea ebx, [edx + 4]
test eax, eax
jne 0x4c9702
mov dword [edx + 4], ecx
lea eax, [0x508800]
mov dword [esp], eax
lea eax, [esp + 0xa4]
mov dword [esp + 4], eax
call dbg.runtime.convT2Estring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x58]
mov dword [edx + 8], ecx
mov ecx, dword [0x5e13d0]
lea ebx, [edx + 0xc]
test ecx, ecx
jne 0x4c96ed
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [edx + 0x10], eax
mov eax, dword [0x5e13d0]
lea ecx, [edx + 0x14]
test eax, eax
jne 0x4c96d7
mov eax, dword [esp + 0x48]
mov dword [edx + 0x14], eax
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x533109]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x37
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call dbg.github.com/op/go-logging.(*Logger).Infof
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xec], eax
nop
call dbg.runtime.deferreturn
add esp, 0xc4
ret
mov dword [esp], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x58]
jmp 0x4c9680
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x58]
jmp 0x4c9665
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x4c9629
mov edx, eax
jmp 0x4c95d4
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov ecx, dword [esp + 0xe4]
mov dword [esp + 4], ecx
call dbg.syscall.StringToUTF16
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0xd8]
mov dword [esp], edx
mov ebx, dword [esp + 0xdc]
mov dword [esp + 4], ebx
call dbg.syscall.StringToUTF16Ptr
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jbe 0x4c9bee
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
shl ecx, 1
mov dword [esp + 0x14], ecx
call dbg.github.com/btcsuite/winsvc/winapi.RegSetValueEx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4c99a4
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x90], edx
je 0x4c999d
mov edx, dword [ecx + 4]
mov dword [esp + 0x60], edx
lea eax, [0x504e80]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
lea ecx, [0x507640]
mov dword [esp], ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 4], ecx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x54]
mov dword [edx], ecx
mov ecx, dword [0x5e13d0]
lea ebx, [edx + 4]
test ecx, ecx
jne 0x4c998c
mov dword [edx + 4], eax
lea eax, [0x508800]
mov dword [esp], eax
lea ecx, [esp + 0x94]
mov dword [esp + 4], ecx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x54]
mov dword [edx + 8], eax
mov eax, dword [0x5e13d0]
lea ebx, [edx + 0xc]
test eax, eax
jne 0x4c997b
mov dword [edx + 0xc], ecx
lea eax, [0x508800]
mov dword [esp], eax
lea eax, [esp + 0x8c]
mov dword [esp + 4], eax
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x54]
mov dword [edx + 0x10], eax
mov eax, dword [0x5e13d0]
lea ebx, [edx + 0x14]
test eax, eax
jne 0x4c9966
mov dword [edx + 0x14], ecx
mov eax, dword [esp + 0x60]
mov dword [edx + 0x18], eax
mov eax, dword [0x5e13d0]
lea ecx, [edx + 0x1c]
test eax, eax
jne 0x4c9950
mov eax, dword [esp + 0x48]
mov dword [edx + 0x1c], eax
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x5334a0]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3f
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 4
call dbg.github.com/op/go-logging.(*Logger).Infof
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xec], eax
nop
call dbg.runtime.deferreturn
add esp, 0xc4
ret
mov dword [esp], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x54]
jmp 0x4c98f9
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x54]
jmp 0x4c98de
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x4c98a2
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x4c9866
mov edx, ecx
jmp 0x4c9811
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x70], eax
lea eax, [0x504e80]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
lea ecx, [0x507640]
mov dword [esp], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 4], ecx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
mov dword [edx], ecx
mov ecx, dword [0x5e13d0]
lea ebx, [edx + 4]
test ecx, ecx
jne 0x4c9b88
mov dword [edx + 4], eax
lea eax, [0x508800]
mov dword [esp], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 4], ecx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
mov dword [edx + 8], ecx
mov ecx, dword [0x5e13d0]
lea ebx, [edx + 0xc]
test ecx, ecx
jne 0x4c9b77
mov dword [edx + 0xc], eax
lea eax, [0x508800]
mov dword [esp], eax
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x5e13d0]
lea ebx, [edx + 0x14]
test ecx, ecx
jne 0x4c9b66
mov dword [edx + 0x14], eax
lea eax, [0x508800]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call dbg.runtime.convT2Estring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
mov dword [edx + 0x18], ecx
mov ecx, dword [0x5e13d0]
lea ebx, [edx + 0x1c]
test ecx, ecx
jne 0x4c9b54
mov dword [edx + 0x1c], eax
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x532a09]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x31
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 4
call dbg.github.com/op/go-logging.(*Logger).Infof
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
nop
call dbg.runtime.deferreturn
add esp, 0xc4
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x50]
jmp 0x4c9afd
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x4c9ac8
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x4c9a8f
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x4c9a56
nop
call dbg.runtime.deferreturn
add esp, 0xc4
ret
mov eax, dword [esp + 0xcc]
jmp 0x4c91df
mov ecx, dword [esp + 0xc8]
mov dword [esp], ecx
lea edx, [0x52beb5]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call dbg.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c9be2
mov eax, 0x80000001
jmp 0x4c9365
mov eax, dword [esp + 0xcc]
jmp 0x4c91d6
call dbg.runtime.panicindex
ud2
call dbg.runtime.morestack_noctxt
jmp dbg._/C_/am/proxy_dictator/agent/install.SetRegKey