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

Disassembly:
mov ecx, dword [0x5846bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x437086
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x50], eax
jne 0x437054
mov edx, dword [ecx + 0x58]
test edx, edx
je 0x437043
mov ebx, dword [ecx + 0x7c]
test ebx, ebx
jne 0x437043
mov ebx, dword [ecx + 0x6c]
test ebx, ebx
jne 0x437043
mov ecx, dword [ecx + 0x78]
test ecx, ecx
jne 0x437043
cmp dword [edx + 4], 1
jne 0x437043
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jb 0x436dc1
sub ecx, eax
cmp dword [0x53d1dc], ecx
jbe 0x436dd2
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.0044ff50
mov eax, dword [esp + 4]
test eax, eax
je 0x437032
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
call fcn.00450c70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, 0xfffffffe
je 0x437021
mov edx, dword [esp + 0x30]
cmp byte [edx + 0x2b], 1
ja 0x436e35
mov ebp, dword [esp + 0x2c]
xor esi, esi
jmp 0x436e59
lea ebx, [edx + 0x2b]
mov ebp, dword [esp + 0x2c]
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 0x437010
movzx ebx, byte [edx + 0x29]
test bl, 4
jne 0x437010
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.00450e80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
test eax, eax
jge 0x436ea9
mov eax, dword [esp + 0xc]
test eax, eax
je 0x436ea3
mov eax, dword [eax + 4]
jmp 0x436ec1
xor eax, eax
xor ecx, ecx
jmp 0x436ec1
cmp eax, 0x100000
jae 0x43707b
mov edx, dword [esp + 0x14]
test byte [edx], al
shl eax, 4
mov eax, dword [edx + eax + 4]
test ecx, ecx
jne 0x436ecb
xor ecx, ecx
xor eax, eax
jmp 0x436edf
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044fe50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
cmp ecx, 8
jge 0x436ef0
xor edx, edx
jmp 0x436f19
mov dword [esp], eax
lea ecx, [0x4b0904]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
call fcn.00402fc0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x34]
test dl, dl
je 0x436f24
mov edx, 1
jmp 0x436f56
cmp ecx, 0x11
jge 0x436f2d
xor edx, edx
jmp 0x436f56
mov dword [esp], eax
lea ecx, [0x4b253e]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call fcn.00402fc0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x34]
test dl, dl
jne 0x436f86
cmp ecx, 8
jge 0x436f63
xor eax, eax
jmp 0x436f82
mov dword [esp], eax
lea eax, [0x4b0914]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.00402fc0
movzx eax, byte [esp + 0xc]
test al, al
je 0x436f97
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov eax, dword [esp + 0x24]
cmp eax, 0xfffffffb
je 0x436fe9
add eax, 4
cmp eax, 1
ja 0x436fd8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x437065
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jb 0x437065
sub ecx, eax
cmp ecx, 0x14
ja 0x437065
mov byte [esp + 0x4c], 1
mov dword [esp + 0x50], eax
add esp, 0x38
ret
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
add esp, 0x38
ret
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044fd20
mov eax, dword [esp + 8]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x50], eax
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
lea eax, str.bad_restart_PC_thread_limit_nstopm_spinning_nmidlelocked_needspinningrandinit_twicestore64_failedmemprofileratesemaRoot_queuebad_allocCountbad_span_statestack_overflow_untyped_args__out_of_range_no_module_dataruntime:_seq1runtime:_goid_in_goroutine_file_too_largeis_a_directorylevel_2_haltedlevel_3_haltedtoo_many_linksno_such_deviceprotocol_errortext_file_busytoo_many_usersCryptGenRandomCertCloseStoreCreateProcessWFindFirstFileWFormatMessageWGetConsoleModeGetProcAddressProcess32NextWSetFilePointerNetUserGetInfoGetUserNameExWTranslateNameWgetprotobyname_procedure_in_winapi_error_unreachable:__time.Location_RegSetValueExWGetProcessTimesDuplicateHandle476837158203125invalid_argSize_invalid_Value_ImpersonateSelfOpenThreadTokenallocmRInternalwrite_heap_dumpasyncpreemptoffforce_gc__idle_sync.Mutex.Lockmalloc_deadlockruntime_error:___with_GC_prog_nscan_missed_a_gmisaligned_maskruntime:_min__runtime:_inUseruntime:_max__bad_panic_stackrecovery_failedstopm_holding_pstartm:_m_has_ppreempt_SPWRITEmissing_mcache_ms:_gomaxprocsrandinit_missed__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__M3.2.0_M11.1.0RegCreateKeyExWRegDeleteValueW0123456789abcdefTerminateProcess23841857910156250123456789ABCDEFDuplicateTokenExGetCurrentThreadRtlVirtualUnwindinteger_overflowgcshrinkstackofftracefpunwindoffGC_scavenge_waitGC_worker__idle_page_trace_flush_out_of_bounds____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 fcn.00435820
mov ecx, 0x100000
call fcn.00462660
nop
call fcn.004611e0
jmp fcn.00436d50