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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
call 0x540b4e
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x540b79
mov edx, dword [eax + 0x50]
mov edi, dword [eax + 0x58]
cmp ecx, 1
mov dword [ebp - 0x10], edx
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
test eax, eax
jne 0x540ba7
jmp 0x540b95
mov dword [ebp - 0x10], str._stdin__stdin__has_no_metadataC:UsersTEST.cargo_registry_srcindex.crates.io_6f17d22bba15001fignore_0.4.20_srcwalk.rs
mov edi, 7
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
test eax, eax
jne 0x540ba7
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x540fee
mov dword [0x5da100], eax
push 0xf8
push 0
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x540fee
mov ebx, dword [ebp - 0x10]
mov esi, eax
lea ecx, [ebp - 0x38]
mov dword [eax], 0x5bef48
mov dword [eax + 4], 7
mov dword [eax + 8], str.BootFRSTKVRT_DataKVRT2020_DataPerfLogsAdwCleanerProgramData_Recycle.Bin_RECYCLE.BINMSOCacheDocuments_and_SettingsRecoverySystem_Volume_InformationSYSTEM.SAV_Windows.WS_WINDOWS.WSThumbsPagefileHyberfil_WinREAgentProgram_FilesProgram_Files__x86__WINDOWS.BTThumbs.dbWindows.oldwindows.oldWindows.old.000windows.old.000AppDatadevWindowsregtrans_mstmpexeps1inidllinficobatlnkcomaniadvcplcurromdeskthemepackdiagcabdiagcfgdiagpkgdrvlogmohhppcontrolhlpiclicnsicsidxldfmodmpamscmspthemewpxlockmkpsorstvsixmanifestocxmsunlsmsstylesnomediaprfrtpscrshssplthemepackkeyhtapkgdefdormetafaustrlibmuitimestampttfttxmdacDevoswissysC:UsersTEST.cargo_registry_srcindex.crates.io_6f17d22bba15001fder_0.7.8_src_reader.rs
mov dword [eax + 0xc], 4
mov dword [eax + 0x10], 0x5bee04
mov dword [eax + 0x14], 4
mov dword [eax + 0x18], 0x5bee08
mov dword [eax + 0x1c], 9
mov dword [eax + 0x20], 0x5bee11
mov dword [eax + 0x24], 0xd
mov dword [eax + 0x28], 0x5bee1e
mov dword [eax + 0x2c], 8
mov dword [eax + 0x30], 0x5bee26
mov dword [eax + 0x34], 0xa
mov dword [eax + 0x38], 0x5bee30
mov dword [eax + 0x3c], 0xb
mov dword [eax + 0x40], 0x5bee3b
mov dword [eax + 0x44], 0xc
mov dword [eax + 0x48], 0x5bee47
mov dword [eax + 0x4c], 0xc
mov dword [eax + 0x50], 0x5bee53
mov dword [eax + 0x54], 8
mov dword [eax + 0x58], 0x5bee5b
mov dword [eax + 0x5c], 0x16
mov dword [eax + 0x60], 0x5bee71
mov dword [eax + 0x64], 8
mov dword [eax + 0x68], 0x5bee79
mov dword [eax + 0x6c], 0x19
mov dword [eax + 0x70], 0x5bee92
mov dword [eax + 0x74], 0xa
mov dword [eax + 0x78], 0x5bee9c
mov dword [eax + 0x7c], 0xc
mov dword [eax + 0x80], 0x5beea8
mov dword [eax + 0x84], 0xc
mov dword [eax + 0x88], 0x5beeb4
mov dword [eax + 0x8c], 6
mov dword [eax + 0x90], 0x5beeba
mov dword [eax + 0x94], 8
mov dword [eax + 0x98], 0x5beec2
mov dword [eax + 0x9c], 8
mov dword [eax + 0xa0], 0x5beeca
mov dword [eax + 0xa4], 0xb
mov dword [eax + 0xa8], 0x5beed5
mov dword [eax + 0xac], 0xd
mov dword [eax + 0xb0], 0x5beee2
mov dword [eax + 0xb4], 0x13
mov dword [eax + 0xb8], 0x5beef5
mov dword [eax + 0xbc], 0xc
mov dword [eax + 0xc0], 0x5bef01
mov dword [eax + 0xc4], 9
mov dword [eax + 0xc8], 0x5bef0a
mov dword [eax + 0xcc], 0xb
mov dword [eax + 0xd0], 0x5bef15
mov dword [eax + 0xd4], 0xb
mov dword [eax + 0xd8], 0x5bef20
mov dword [eax + 0xdc], 0xf
mov dword [eax + 0xe0], 0x5bef2f
mov dword [eax + 0xe4], 0xf
mov dword [eax + 0xe8], 0x5bef3e
mov dword [eax + 0xec], 7
mov dword [eax + 0xf0], 0x5bef45
mov dword [eax + 0xf4], 3
mov edx, ebx
push edi
call dbg.parse_prefix
add esp, 4
movzx eax, byte [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], edi
mov eax, dword [eax*4 + 0x541014]
mov dword [ebp - 0x18], ecx
mov ecx, 6
add eax, dword [ebp - 0x1c]
jmp eax
mov ecx, 4
mov edx, 0xf8
call dbg.handle_alloc_error
ud2