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

Disassembly:
mov ecx, dword [0x664c04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4eb67f
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4eb666
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x4eb437
lea ecx, [eax + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp], ecx
call sym.sync._Mutex_.Lock
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4eb3cc
mov ecx, dword [ecx]
jmp 0x4eb3ce
xor ecx, ecx
mov dword [esp + 0x30], ecx
lea eax, [0x517b40]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call sym.runtime.makeslice
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x74], edx
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0046a5e4
lea eax, [0x51d6e0]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
call sym.runtime.mapiterinit
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
xor edx, edx
jmp 0x4eb498
mov eax, dword [edx]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x90
ret
mov dword [esp + 0x3c], ecx
mov dword [ecx + edi*4 - 0xc], ebp
lea eax, [esp + 0x40]
mov dword [esp], eax
call sym.runtime.mapiternext
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x4eb533
mov ebx, dword [esp + 0x44]
inc edx
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
cmp eax, edx
jae 0x4eb4fb
mov dword [esp + 0x38], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x517b40]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
lea edi, [edx + edx*2]
mov dword [ecx + edi*4 - 8], esi
mov dword [ecx + edi*4 - 4], ebx
mov ebx, dword [0x664ca8]
test ebx, ebx
je 0x4eb478
mov ebx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov esi, dword [ecx + ebx*4 - 0xc]
mov dword [edi + 4], esi
mov edi, ebx
jmp 0x4eb478
mov dword [esp + 0x70], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call sym.sync._Mutex_.Unlock
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [sym.runtime_pprof._Profile_.WriteTo.func1]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x8c], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x84], ebx
lea ebp, [0x518620]
mov dword [esp], ebp
mov dword [esp + 4], eax
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
call sym.sort.Slice
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
call sym.runtime.convTslice
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [0x567ac4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call sym.runtime_pprof.printCountProfile
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x90
ret
lea eax, [0x51bee0]
mov dword [esp], eax
lea eax, [0x5673e0]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime_pprof._Profile_.WriteTo