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

Disassembly:
mov ecx, dword [0x5dbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x399b29
sub esp, 0x50
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x50], eax
jne 0x399af5
mov edx, dword [ecx + 0x58]
test edx, edx
je 0x399ae4
mov ebx, dword [ecx + 0x7c]
test ebx, ebx
jne 0x399ae4
mov ebx, dword [ecx + 0x6c]
test ebx, ebx
jne 0x399ae4
mov ecx, dword [ecx + 0x78]
test ecx, ecx
jne 0x399ae4
cmp dword [edx + 4], 1
jne 0x399ae4
mov eax, dword [eax]
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
jb 0x399841
sub ecx, eax
cmp dword [0x59e2dc], ecx
jbe 0x399852
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x50
ret
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.runtime.findfunc
mov eax, dword [esp + 4]
test eax, eax
je 0x399ad3
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
call sym.runtime.pcdatavalue2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, 0xfffffffe
je 0x399ac2
mov edx, dword [esp + 0x38]
cmp byte [edx + 0x2b], 1
ja 0x3998b5
mov ebp, dword [esp + 0x34]
xor esi, esi
jmp 0x3998d9
lea ebx, [edx + 0x2b]
mov ebp, dword [esp + 0x34]
mov esi, dword [ebp + 0xa0]
mov edi, dword [edx + 0x1c]
lea ebx, [ebx + edi*4 + 5]
mov ebx, dword [ebx]
add esi, ebx
cmp ebx, 0xffffffff
sete bl
movzx ebx, bl
dec ebx
and esi, ebx
test esi, esi
je 0x399ab1
movzx ebx, byte [edx + 0x29]
test bl, 4
jne 0x399ab1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call sym.runtime.newInlineUnwinder
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
test ebp, ebp
jge 0x39994d
mov eax, dword [esp + 0x40]
test eax, eax
je 0x399947
mov eax, dword [eax + 4]
jmp 0x399962
xor eax, eax
xor ecx, ecx
jmp 0x399962
test byte [edx], al
cmp ebp, 0x100000
jae 0x399b1c
shl ebp, 4
mov eax, dword [edx + ebp + 4]
test ecx, ecx
jne 0x39996c
xor ecx, ecx
xor eax, eax
jmp 0x399980
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime._moduledata_.funcName
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
cmp ecx, 8
jge 0x399991
xor edx, edx
jmp 0x3999ba
mov dword [esp], eax
lea ecx, [0x4b31d6]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x3c]
test dl, dl
je 0x3999c5
mov edx, 1
jmp 0x3999f7
cmp ecx, 0x11
jge 0x3999ce
xor edx, edx
jmp 0x3999f7
mov dword [esp], eax
lea ecx, [0x4b576d]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x3c]
test dl, dl
jne 0x399a27
cmp ecx, 8
jge 0x399a04
xor eax, eax
jmp 0x399a23
mov dword [esp], eax
lea eax, [0x4b31e6]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x399a38
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x50
ret
mov eax, dword [esp + 0x2c]
cmp eax, 0xfffffffb
je 0x399a8a
add eax, 4
cmp eax, 1
ja 0x399a79
mov eax, dword [esp + 0x30]
test eax, eax
je 0x399b06
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jb 0x399b06
sub ecx, eax
cmp ecx, 0x14
ja 0x399b06
mov byte [esp + 0x64], 1
mov dword [esp + 0x68], eax
add esp, 0x50
ret
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
add esp, 0x50
ret
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime._moduledata_.textAddr
mov eax, dword [esp + 8]
mov byte [esp + 0x64], 1
mov dword [esp + 0x68], eax
add esp, 0x50
ret
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x50
ret
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x50
ret
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x50
ret
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x50
ret
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x50
ret
lea eax, str.bad_restart_PC_thread_limit_nstopm_spinning_nmidlelocked_needspinningstore64_failedmemprofileratesemaRoot_queuebad_allocCountbad_span_statestack_overflow_untyped_args__out_of_range_no_module_data_in_goroutine_file_too_largeis_a_directorylevel_2_haltedlevel_3_haltedtoo_many_linksno_such_deviceprotocol_errortext_file_busytoo_many_usersCryptGenRandomCertCloseStoreCreateProcessWFindFirstFileWFormatMessageWGetConsoleModeGetProcAddressProcess32NextWSetFilePointerNetUserGetInfoGetUserNameExWTranslateNameW_procedure_in_winapi_error_RegSetValueExW.______invalid_syntax1907348632812595367431640625unreachable:__Module32FirstWResourceHeaderRCodeNameErrormime_multipartInstEmptyWidth:_cannot_parse__M3.2.0_M11.1.0_lumberjack.logGetProcessTimesDuplicateHandlemissing_address_etc_mdns.allowunknown_networkinvalid_argSize_invalid_Value_write_heap_dumpasyncpreemptoffforce_gc__idle_sync.Mutex.Lockmalloc_deadlockruntime_error:___with_GC_prog_nscan_missed_a_gmisaligned_maskruntime:_min__runtime:_inUseruntime:_max__recovery_failedstopm_holding_pstartm:_m_has_ppreempt_SPWRITEmissing_mcache_ms:_gomaxprocs__n_tmorebufpc::_no_frame__spruntime:_frame_runtimer:_bad_ptraceback_stuckruntime.gopanicadvertise_errorkey_has_expirednetwork_is_downno_medium_foundno_such_processGetAdaptersInfoCreateHardLinkWDeviceIoControlFlushViewOfFileGetCommandLineWGetStartupInfoWProcess32FirstWUnmapViewOfFileFailed_to_load_Failed_to_find_RegCreateKeyExWRegDeleteValueW476837158203125ImpersonateSelfOpenThreadTokenHanifi_RohingyaPsalter_Pahlaviinvalid_pointerjstmpllitinterptarinsecurepathzipinsecurepathcontext_canceled.WithValue_type_0123456789abcdeftime:_bad__0_9_:_value_of_type_TerminateProcesshostLookupOrder_etc_resolv.confnon_IPv4_addressnon_IPv6_addressunknown_network_no_colon_on_lineinteger_overflowgcshrinkstackofftracefpunwindoffGC_scavenge_waitGC_worker__idle__gc_gogc:percent__not_a_functiongc:_unswept_span_KiB_work__bg____mheap.sweepgenruntime:_nelemsworkbuf_is_emptymSpanList.removemSpanList.insertbad_special_kindbad_summary_dataruntime:_addr__runtime:_base__runtime:_head__timeBeginPeriod
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.runtime.throw
mov eax, ebp
mov ecx, 0x100000
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.isAsyncSafePoint