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

Disassembly:
mov ecx, dword [0x5f7a74]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x497790
sub esp, 0x58
mov eax, 0
mov dword [esp + 0x54], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 4]
mov ecx, dword [edx]
mov ebx, dword [eax + 0x10]
lea ebp, [esp + 0x64]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
xor ecx, ecx
jmp 0x497473
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call sym.sync._Mutex_.Unlock
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx]
mov ebp, 0x20
jmp 0x497574
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x5c]
mov esi, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
call sym.internal_concurrent._entry_go.shape.internal_abi.Type_go.shape.interface___.lookup
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4975d1
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x40]
mov esi, 1
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
jmp 0x4974ec
mov eax, dword [esp + 0x28]
mov esi, 1
mov ecx, edx
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
jmp 0x4974ec
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
je 0x49776e
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ecx
test byte [ebx], al
lea eax, [ebx + 8]
mov dword [esp + 0x48], eax
mov dword [esp], eax
call sym.sync._Mutex_.Lock
mov eax, dword [esp + 0x30]
test byte [eax], al
mov ecx, dword [esp + 0x60]
test byte [ecx], al
mov dword [esp], eax
call sym.sync_atomic.LoadPointer
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
test eax, eax
je 0x49753a
movzx ecx, byte [eax]
test cl, cl
jne 0x49753a
xor ecx, ecx
jmp 0x497557
mov eax, dword [esp + 0x40]
lea ecx, [eax + 4]
mov dword [esp], ecx
call sym.sync_atomic._Bool_.Load
movzx eax, byte [esp + 4]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x44]
test cl, cl
je 0x49745f
jmp 0x4975ea
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov ecx, edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x40], ebx
test ebp, ebp
je 0x4974ea
test byte [ebx], al
mov edx, dword [esp + 0x60]
test byte [edx], al
lea ecx, [ebp - 4]
mov dword [esp + 0x24], ecx
shr eax, cl
cmp ecx, 0x20
sbb esi, esi
and eax, esi
and eax, 0xf
mov dword [esp + 0x2c], eax
lea esi, [ebx + eax*4 + 0x14]
mov dword [esp], esi
call sym.sync_atomic.LoadPointer
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
lea edx, [ebx + edx*4 + 0x14]
test eax, eax
je 0x4974d5
movzx ebp, byte [eax]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x497564
jmp 0x497483
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov byte [esp + 0x78], 1
add esp, 0x58
ret
lea ecx, [sym.internal_concurrent._HashTrieMap_go.shape.internal_abi.Type_go.shape.interface___.LoadOrStore.deferwrap1]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x54], ecx
mov byte [esp + 0x23], 1
test eax, eax
je 0x497674
movzx ecx, byte [eax]
nop
test cl, cl
je 0x497756
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x5c]
mov esi, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
call sym.internal_concurrent._entry_go.shape.internal_abi.Type_go.shape.interface___.lookup
movzx eax, byte [esp + 0x18]
test al, al
jne 0x49764e
mov eax, dword [esp + 0x44]
jmp 0x497676
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov byte [esp + 0x78], 1
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
xor eax, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
lea edx, [0x4e8f40]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov byte [eax], 1
mov ecx, dword [0x5f7b90]
test ecx, ecx
jne 0x4976ab
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x6c]
jmp 0x4976bd
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov edx, dword [esp + 0x6c]
mov dword [edi + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x49771f
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call sym.internal_concurrent._HashTrieMap_go.shape.internal_abi.Type_go.shape.interface___.expand
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.sync_atomic.StorePointer
jmp 0x497730
nop
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.sync_atomic.StorePointer
mov eax, dword [esp + 0x68]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov byte [esp + 0x78], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
lea eax, [0x4dbcc0]
mov dword [esp], eax
lea eax, [0x520630]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x4dbcc0]
mov dword [esp], eax
lea eax, [0x520638]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.deferreturn
add esp, 0x58
ret
call sym.runtime.morestack_noctxt
jmp sym.internal_concurrent._HashTrieMap_go.shape.internal_abi.Type_go.shape.interface___.LoadOrStore