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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4c8d04
sub esp, 0x90
call dbg.os.Executable
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp]
test ecx, ecx
je 0x4c82f6
mov dword [esp + 0x48], eax
je 0x4c8205
mov ecx, dword [ecx + 4]
mov dword [esp + 0x74], ecx
lea eax, [0x503f40]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [0x5e13d0]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4c82dd
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d0b58]
mov edx, dword [0x5d0b5c]
test edx, edx
jbe 0x4c8cfd
mov dword [esp + 4], ecx
lea eax, [0x508800]
mov dword [esp], eax
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x70]
mov dword [edx + 8], eax
mov eax, dword [0x5e13d0]
lea ebx, [edx + 0xc]
test eax, eax
jne 0x4c82cb
mov dword [edx + 0xc], ecx
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x532102]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2b
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call dbg.github.com/op/go-logging.(*Logger).Errorf
mov eax, dword [0x5d0b5c]
test eax, eax
jbe 0x4c8cf6
add esp, 0x90
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x70]
jmp 0x4c8282
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x70]
jmp 0x4c823d
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], ebx
call dbg._/C_/am/proxy_dictator/agent/install.UserLocation
mov eax, dword [esp]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
call dbg._/C_/am/proxy_dictator/agent/install.SystemLocation
mov eax, dword [esp]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x8c], ebx
lea ebp, [0x503480]
mov dword [esp], ebp
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
lea ecx, [0x508800]
mov dword [esp], ecx
lea edx, [esp + 0x88]
mov dword [esp + 4], edx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x6c]
mov dword [edx], eax
mov eax, dword [0x5e13d0]
lea ebx, [edx + 4]
test eax, eax
jne 0x4c8ce1
mov dword [edx + 4], ecx
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x52abf0]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xb
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.github.com/op/go-logging.(*Logger).Infof
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x84], ecx
lea edx, [0x503480]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
lea ecx, [0x508800]
mov dword [esp], ecx
lea edx, [esp + 0x80]
mov dword [esp + 4], edx
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 0x4c8ccc
mov dword [edx + 4], ecx
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x52bd96]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.github.com/op/go-logging.(*Logger).Infof
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x7c], ecx
lea edx, [0x503480]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
lea ecx, [0x508800]
mov dword [esp], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 4], ecx
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x64]
mov dword [edx], eax
mov eax, dword [0x5e13d0]
lea ebx, [edx + 4]
test eax, eax
jne 0x4c8cb7
mov dword [edx + 4], ecx
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x52c56e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.github.com/op/go-logging.(*Logger).Infof
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call dbg.strings.ToLower
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
call dbg.strings.ToLower
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
cmp eax, edx
je 0x4c8c95
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call dbg.strings.ToLower
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
call dbg.strings.ToLower
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
cmp ecx, edx
je 0x4c8c35
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4c8907
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4c85d9
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x52be4f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x11
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dbg.github.com/op/go-logging.(*Logger).Errorf
add esp, 0x90
ret
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
call dbg._/C_/am/proxy_dictator/agent/install.copyFile
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4c8695
mov dword [esp + 0x48], ecx
je 0x4c8612
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
lea ecx, [0x503480]
mov dword [esp], ecx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [0x5e13d0]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4c867b
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d0480]
mov dword [esp], ecx
lea ecx, [0x531eda]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2a
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.github.com/op/go-logging.(*Logger).Infof
jmp 0x4c859a
mov dword [esp + 0x60], eax
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x60]
jmp 0x4c8642
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x52e587]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x19
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dbg.github.com/op/go-logging.(*Logger).Infof
mov dword [esp], 0
lea eax, [0x5294b0]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
lea edx, [0x52a7c7]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xa
mov edx, dword [esp + 0x94]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x20], edx
call dbg.runtime.concatstring4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
lea eax, [0x52beb5]
mov dword [esp], eax
mov dword [esp + 4], 0x11
lea eax, [0x53246b]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x2d
lea eax, [0x52a6d7]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xa
call dbg._/C_/am/proxy_dictator/agent/install.SetRegKey
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x4c881d
mov dword [esp + 0x48], ecx
je 0x4c8786
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
lea ecx, [0x503480]
mov dword [esp], ecx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [0x5e13d0]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4c8803
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d0480]
mov dword [esp], ecx
lea ecx, [0x53243e]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.github.com/op/go-logging.(*Logger).Infof
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call dbg.os.Remove
jmp 0x4c859a
mov dword [esp + 0x5c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x4c87b6
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x52f38b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dbg.github.com/op/go-logging.(*Logger).Infof
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call dbg._/C_/am/proxy_dictator/agent/install.run
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4c859a
mov dword [esp + 0x48], ecx
je 0x4c8882
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
lea ecx, [0x503480]
mov dword [esp], ecx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [0x5e13d0]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4c88ed
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d0480]
mov dword [esp], ecx
lea ecx, [0x532309]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.github.com/op/go-logging.(*Logger).Infof
add esp, 0x90
ret
mov dword [esp + 0x58], eax
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x58]
jmp 0x4c88b2
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
call dbg._/C_/am/proxy_dictator/agent/install.copyFile
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4c89c3
mov dword [esp + 0x48], ecx
je 0x4c8940
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
lea ecx, [0x503480]
mov dword [esp], ecx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [0x5e13d0]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4c89a9
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d0480]
mov dword [esp], ecx
lea ecx, [0x5322b1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.github.com/op/go-logging.(*Logger).Infof
jmp 0x4c8592
mov dword [esp + 0x54], eax
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
jmp 0x4c8970
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x52ef35]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dbg.github.com/op/go-logging.(*Logger).Infof
mov dword [esp], 0
lea eax, [0x5294b0]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
lea ebx, [0x52a7c7]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0xa
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x98]
mov dword [esp + 0x20], esi
call dbg.runtime.concatstring4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
lea eax, [0x52c2d4]
mov dword [esp], eax
mov dword [esp + 4], 0x12
lea eax, [0x53246b]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x2d
lea ecx, [0x52a6d7]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0xa
call dbg._/C_/am/proxy_dictator/agent/install.SetRegKey
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4c8b4b
mov dword [esp + 0x48], eax
je 0x4c8ab4
mov ecx, dword [ecx + 4]
mov dword [esp + 0x74], ecx
lea eax, [0x503480]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [0x5e13d0]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4c8b31
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d0480]
mov dword [esp], ecx
lea ecx, [0x532601]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2e
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.github.com/op/go-logging.(*Logger).Infof
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call dbg.os.Remove
jmp 0x4c8592
mov dword [esp + 0x50], eax
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x50]
jmp 0x4c8ae4
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x52f85f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dbg.github.com/op/go-logging.(*Logger).Infof
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call dbg._/C_/am/proxy_dictator/agent/install.run
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4c8592
mov dword [esp + 0x48], ecx
je 0x4c8bb0
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
lea ecx, [0x503480]
mov dword [esp], ecx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [0x5e13d0]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4c8c1b
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d0480]
mov dword [esp], ecx
lea ecx, [0x532309]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.github.com/op/go-logging.(*Logger).Infof
add esp, 0x90
ret
mov dword [esp + 0x4c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x4c]
jmp 0x4c8be0
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call dbg.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c8586
mov eax, dword [0x5d0480]
mov dword [esp], eax
lea eax, [0x533370]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3b
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dbg.github.com/op/go-logging.(*Logger).Infof
add esp, 0x90
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call dbg.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4c8c56
jmp 0x4c853a
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x64]
jmp 0x4c84ba
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x68]
jmp 0x4c8428
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x6c]
jmp 0x4c838d
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.morestack_noctxt
jmp dbg._/C_/am/proxy_dictator/agent/install.Exec