Function at 0x52b5a0
Capabilities:
Enumerate process modules
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4d4
mov eax, dword [ecx]
mov edi, edx
mov esi, ecx
cmp byte [eax], 0
jne 0x52b5c6
mov ecx, dword [esi + 4]
cmp dword [ecx], 0x64
jbe 0x52b5c6
xor ecx, ecx
jmp 0x52bb05
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
movq xmm0, qword [esi + 0xc]
cmp dword [0x5da128], 0
movd xmm1, eax
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x80], ebx
mov ebx, dword [edi + 8]
movd xmm2, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x11]
mov dword [ebp - 0x84], edx
punpckldq xmm1, xmm2
mov dword [ebp - 0xb8], ecx
punpcklqdq xmm1, xmm0
movdqu xmmword [ebp - 0xb4], xmm1
mov dword [ebp - 0xa4], edi
jne 0x52ba7d
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
test eax, eax
jne 0x52b63d
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x52bb12
mov dword [0x5da100], eax
push 0x220
push 0
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x52bb12
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 4
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x28], 0
push 0
push 8
call sub.kernel32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], ebx
je 0x52b953
mov esi, eax
lea eax, [ebp - 0x4dc]
push 0x424
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x4e0], 0x428
lea eax, [ebp - 0x4e0]
push eax
push esi
call sub.kernel32.dll_Module32FirstW
cmp eax, 1
jne 0x52b94d
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 4
mov dword [ebp - 0x24], esi
nop word cs:[eax + eax]
nop
mov eax, 0x208
xor esi, esi
nop word [eax + eax]
cmp word [ebp + esi*2 - 0x2c0], 0
je 0x52b716
inc esi
add eax, 0xfffffffe
jne 0x52b700
mov esi, 0x104
lea edx, [ebp - 0x2c0]
lea ecx, [ebp - 0xa0]
push esi
call dbg.from_wide
add esp, 4
mov ebx, dword [ebp - 0xa0]
mov esi, dword [ebp - 0x98]
mov edx, ebx
lea ecx, [ebp - 0x70]
push esi
call dbg.mmap
add esp, 4
cmp dword [ebp - 0x70], 0
je 0x52b7b1
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x68]
cmp ecx, 0x40
mov dword [ebp - 0x1c], eax
jb 0x52b7a0
test edi, edi
je 0x52b7a0
movzx eax, word [edi]
cmp eax, 0x5a4d
jne 0x52b7a0
mov eax, dword [edi + 0x3c]
mov edx, ecx
sub edx, eax
jb 0x52b7a0
cmp edx, 0x78
jb 0x52b7a0
cmp dword [edi + eax], 0x4550
jne 0x52b7a0
movzx edx, word [edi + eax + 0x18]
cmp edx, 0x10b
jne 0x52b7a0
movzx edx, word [edi + eax + 0x14]
cmp dx, 0x60
jb 0x52b7a0
cmp eax, 0xffffff87
jbe 0x52b7e9
nop
push edi
call sub.kernel32.dll_UnmapViewOfFile
push dword [ebp - 0x1c]
call sub.kernel32.dll_CloseHandle
mov edi, dword [ebp - 0x20]
cmp dword [ebp - 0x9c], 0
mov esi, dword [ebp - 0x24]
je 0x52b7cb
push ebx
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x4e0]
push eax
push esi
call sub.kernel32.dll_Module32NextW
cmp eax, 1
je 0x52b6f0
jmp 0x52b94d
movzx edx, dx
add edx, 0xffffffa0
mov dword [ebp - 0x18], edx
mov edx, 0
adc edx, 0xffffffff
jne 0x52b7a0
lea edx, [eax + 0x78]
sub ecx, edx
jb 0x52b7a0
cmp dword [ebp - 0x18], ecx
ja 0x52b7a0
mov ecx, dword [edi + eax + 0x74]
cmp ecx, 0x1fffffff
ja 0x52b7a0
shl ecx, 3
cmp ecx, dword [ebp - 0x18]
ja 0x52b7a0
mov eax, dword [edi + eax + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x54], eax
movzx eax, byte [0x5da16c]
mov ecx, 8
mov edx, 4
call sym.___rust_alloc
test eax, eax
je 0x52bb23
mov edx, dword [ebp - 0x4c8]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
mov dword [eax], ecx
mov dword [eax + 4], edx
lea ecx, [ebp - 0x93]
movzx eax, byte [ebp - 0x94]
mov byte [ebp - 0x12], al
movzx eax, word [ecx]
mov word [ebp - 0x70], ax
movzx eax, byte [ecx + 2]
mov byte [ebp - 0x6e], al
push edi
call sub.kernel32.dll_UnmapViewOfFile
push dword [ebp - 0x1c]
call sub.kernel32.dll_CloseHandle
movzx ecx, byte [ebp - 0x12]
cmp cl, 2
jne 0x52b8a7
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x24]
jmp 0x52b7ce
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x54]
movzx edx, byte [ebp - 0x6e]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x34], cl
lea ecx, [ebp - 0x33]
movzx esi, word [ebp - 0x70]
mov edi, dword [ebp - 0x20]
mov byte [ecx + 2], dl
mov edx, dword [ebp - 0x5c]
mov word [ecx], si
cmp edx, dword [ebp - 0x2c]
jne 0x52b905
lea ecx, [ebp - 0x30]
call dbg.reserve_for_push<std::backtrace_rs::symbolize::gimli::Library, alloc::alloc::Global>
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x24]
jmp 0x52b90e
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x38]
mov eax, edx
inc edx
mov dword [ebp - 0x58], ecx
shl eax, 5
mov dword [ebp - 0x5c], edx
movsd qword [ecx + eax + 0x18], xmm0
movsd xmm0, qword [ebp - 0x40]
movsd qword [ecx + eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x50]
movq xmm1, qword [ebp - 0x48]
movq qword [ecx + eax + 8], xmm1
movq qword [ecx + eax], xmm0
mov dword [ebp - 0x28], edx
jmp 0x52b7ce
push esi
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x88]
movsd xmm1, qword [ebp - 0x90]
movsd xmm0, qword [ebp - 0x30]
mov esi, dword [0x5da128]
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x4cc], ecx
movsd qword [ebp - 0x4d4], xmm1
movsd qword [ebp - 0x50], xmm0
test esi, esi
movsd xmm0, qword [ebp - 0x4d8]
movsd xmm1, qword [ebp - 0x4d0]
movsd qword [ebp - 0x48], xmm0
movsd qword [ebp - 0x40], xmm1
je 0x52ba53
mov edi, dword [0x5da130]
test edi, edi
je 0x52b9f3
lea ebx, [esi + 0x14]
jmp 0x52b9c6
add ebx, 0x20
dec edi
je 0x52b9f3
cmp dword [ebx], 0
je 0x52b9db
push dword [ebx - 4]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
cmp dword [ebx - 0xc], 0
je 0x52b9c0
push dword [ebx - 0x10]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x52b9c0
cmp dword [0x5da12c], 0
je 0x52ba0a
push esi
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov ebx, dword [0x5da13c]
mov esi, dword [0x5da134]
inc ebx
mov edi, esi
nop dword [eax]
cmp ebx, 1
je 0x52ba36
lea ecx, [edi + 8]
add edi, 0x88
dec ebx
call dbg.drop_in_place<std::backtrace_rs::symbolize::gimli::Mapping>
jmp 0x52ba20
cmp dword [0x5da138], 0
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x10]
je 0x52ba53
push esi
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
movq xmm0, qword [ebp - 0x40]
movq xmm2, qword [ebp - 0x50]
movq xmm1, qword [ebp - 0x48]
mov esi, dword [ebp - 0x7c]
movq qword [0x5da138], xmm0
movq qword [0x5da130], xmm1
movq qword [0x5da128], xmm2
xor eax, eax
sub ebx, 1
cmovb ebx, eax
lea edx, [ebp - 0xb8]
mov ecx, ebx
call dbg.{closure#1}
cmp byte [ebp - 0x11], 0
jne 0x52baf7
mov eax, dword [ebp - 0x84]
cmp byte [eax], 0
je 0x52baf7
mov eax, dword [ebp - 0x80]
mov edx, dword [edi + 8]
mov dword [ebp - 0x4e0], 3
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
sub esp, 0x20
lea eax, [ebp - 0x4e0]
lea ecx, [ebp - 0x50]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call dbg.print_raw_with_column
add esp, 0x20
mov ecx, dword [ebp - 0x60]
mov byte [ecx], al
mov eax, dword [ebp - 0x50]
inc dword [eax + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x60]
inc dword [eax]
cmp byte [ecx], 0
sete cl
mov eax, ecx
add esp, 0x4d4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 8
mov edx, 0x220
call dbg.handle_alloc_error
ud2
mov ecx, 4
mov edx, 8
call dbg.handle_alloc_error
ud2