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

Disassembly:
mov ecx, dword [0x5dbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x474487
sub esp, 0xb0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x473f00
mov ebp, eax
mov eax, ecx
mov ecx, edx
mov edx, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0xb4]
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x28]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa0], edi
lea esi, [esp + 0x94]
mov dword [esp + 0xa4], esi
lea esi, [esp + 0xa0]
mov dword [esp], esi
lea esi, [esp + 0x44]
mov dword [esp + 4], esi
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x474344
mov eax, dword [esp + 0x94]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x473ff8
mov ebp, dword [esp + 0x60]
jmp 0x4740dd
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0x4c]
call fcn.003c7728
call sym.infatica_agent_logstream._LogStream_.connect
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x4740cd
mov dword [esp + 0x40], ecx
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
test eax, eax
je 0x474065
mov eax, dword [eax + 4]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
mov eax, dword [0x5b6bcc]
lea ecx, [0x4e5628]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x4bbafe]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x25
lea edx, [esp + 0x8c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x5c]
jmp 0x473ef8
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x38]
mov ebp, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 0xb4]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call sym.infatica_agent_logstream._LogStream_.send
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x474121
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
jmp 0x474333
mov eax, dword [esp + 0x18]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
test eax, eax
je 0x474142
mov eax, dword [eax + 4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov eax, dword [0x5b6bcc]
lea ecx, [0x4e5628]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x4bb37e]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x23
lea edx, [esp + 0x84]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0x4c]
call fcn.003c7728
call sym.infatica_agent_logstream._LogStream_.connect
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x474271
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
test eax, eax
je 0x47420f
mov eax, dword [eax + 4]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
mov eax, dword [0x5b6bcc]
lea ecx, [0x4e5628]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x4bdc5d]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x31
lea edx, [esp + 0x7c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x5c]
jmp 0x473ef8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
call sym.infatica_agent_logstream._LogStream_.send
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x4742ba
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
jmp 0x474333
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
test eax, eax
je 0x4742d5
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov eax, dword [0x5b6bcc]
lea ecx, [0x4e5628]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x4be369]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x35
lea edx, [esp + 0x74]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call eax
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ebx, dword [esp + 0x5c]
mov ecx, eax
mov eax, dword [esp + 0x2c]
jmp 0x473ef8
mov eax, dword [esp + 0xb4]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x6c], ecx
mov dword [esp], ecx
call sym.sync._Mutex_.Lock
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xb4]
cmp dword [ecx + 8], eax
je 0x474371
mov edx, 1
jmp 0x4743da
mov edx, dword [ecx + 4]
mov dword [esp], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4743a3
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xb4]
mov edx, 1
jmp 0x4743da
mov eax, dword [esp + 0xb4]
lea ecx, [eax + 0xc]
mov dword [esp], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0xb4]
mov edx, eax
mov eax, dword [esp + 0x2c]
test dl, dl
je 0x474420
lea esi, [ecx + 0xc]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
lea edi, [esp + 0x4c]
call fcn.003c7728
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x4743fe
mov ebx, dword [esp + 0x60]
jmp 0x47442e
mov dword [esp + 0x3c], edx
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
xor ecx, ecx
xor ebx, ebx
jmp 0x47442e
mov edx, eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x30], ecx
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
call sym.sync._Mutex_.Unlock
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x474476
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x474460
mov edx, dword [esp + 0x60]
jmp 0x47447e
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x2c]
xor ecx, ecx
xor edx, edx
jmp 0x47447e
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
jmp 0x473ef8
call sym.runtime.morestack_noctxt
jmp sym.infatica_agent_logstream._LogStream_.run