Function at 0x10055430
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, 0x4b0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
test byte [ebp + 8], 1
je 0x10055455
mov esi, dword [esi + 8]
test esi, esi
je 0x10055459
dec esi
jmp 0x1005545b
test esi, esi
jne 0x10055452
xor esi, esi
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], eax
xor eax, eax
cmp eax, dword [0x10071048]
jno 0x10055845
mov eax, dword [0x100f2e44]
movzx eax, byte [eax]
sub esp, 0xc
mov dword [esp + 8], 0x520
mov dword [esp + 4], 0
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
add esp, 0xc
test eax, eax
je 0x1005585d
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x20], 0
push 0
push 8
call sub.kernel32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x1005576b
mov esi, eax
lea eax, [ebp - 0x4b8]
push 0x424
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x4bc], 0x428
lea edi, [ebp - 0x4bc]
push edi
push esi
call sub.kernel32.dll_Module32FirstW
cmp eax, 1
jne 0x10055765
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 4
jmp 0x10055540
lea edi, [ebp - 0x4bc]
nop dword [eax]
push edi
push esi
call sub.kernel32.dll_Module32NextW
cmp eax, 1
jne 0x10055765
mov ecx, 0x208
xor eax, eax
nop word [eax + eax]
cmp word [ebp + eax*2 - 0x29c], 0
je 0x10055566
inc eax
add ecx, 0xfffffffe
jne 0x10055550
mov eax, 0x104
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sym.__LT_std..ffi..os_str..OsString_u20_as_u20_std..os..windows..ffi..OsStringExt_GT_::from_wide::h63b25de594ca01f2
add esp, 0xc
mov ebx, dword [ebp - 0x58]
mov edx, ebx
lea ecx, [ebp - 0x6c]
push dword [ebp - 0x54]
call sym.std::backtrace_rs::symbolize::gimli::mmap::h2b8a77287f4a2dfd
add esp, 4
test byte [ebp - 0x6c], 1
je 0x100555f7
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
cmp ecx, 0x40
mov dword [ebp - 0x14], eax
jb 0x100555e0
cmp word [edi], 0x5a4d
jne 0x100555e0
mov eax, dword [edi + 0x3c]
mov edx, ecx
sub edx, eax
setb byte [ebp - 0x10]
cmp edx, 0x78
setb dl
or dl, byte [ebp - 0x10]
jne 0x100555e0
cmp dword [edi + eax], 0x4550
jne 0x100555e0
cmp word [edi + eax + 0x18], 0x10b
jne 0x100555e0
movzx edx, word [edi + eax + 0x14]
cmp edx, 0x60
jae 0x10055614
nop dword [eax]
mov dword [ebp - 0x6c], edi
push edi
call sub.kernel32.dll_UnmapViewOfFile
push dword [ebp - 0x14]
call sub.kernel32.dll_CloseHandle
lea edi, [ebp - 0x4bc]
cmp dword [ebp - 0x5c], 0
je 0x10055530
push ebx
push 0
push dword [0x100ff0c8]
call sub.kernel32.dll_HeapFree
jmp 0x10055530
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 0x78
sub ecx, eax
mov eax, dword [ebp - 0x10]
setb byte [ebp - 0x18]
cmp eax, 0xffffff87
ja 0x100555e0
cmp byte [ebp - 0x18], 0
jne 0x100555e0
add edx, 0xffffffa0
cmp ecx, edx
jb 0x100555e0
mov ecx, dword [edi + eax + 0x74]
cmp ecx, 0x1fffffff
ja 0x100555e0
shl ecx, 3
cmp ecx, edx
ja 0x100555e0
mov eax, dword [edi + eax + 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4a8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [0x100f2e44]
movzx eax, byte [eax]
sub esp, 0xc
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
add esp, 0xc
test eax, eax
je 0x10055869
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x4a4]
mov dword [ebp - 0x30], eax
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [ebp - 0x6c], edi
push edi
call sub.kernel32.dll_UnmapViewOfFile
push dword [ebp - 0x14]
call sub.kernel32.dll_CloseHandle
mov ecx, dword [ebp - 0x18]
mov eax, ecx
neg eax
jo 0x10055523
mov eax, ecx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], edx
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], 1
lea edi, [ebp - 0x4bc]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x28]
jne 0x1005571d
lea ecx, [ebp - 0x28]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::h785af324af22a7d2
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x74]
mov edx, dword [ebp - 0x2c]
mov eax, ecx
inc ecx
shl eax, 5
mov dword [ebp - 0x1c], ecx
movsd qword [edx + eax + 0x18], xmm0
movsd xmm0, qword [ebp - 0x7c]
movsd qword [edx + eax + 0x10], xmm0
movsd xmm0, qword [ebp - 0x8c]
movsd xmm1, qword [ebp - 0x84]
movsd qword [edx + eax + 8], xmm1
movsd qword [edx + eax], xmm0
mov dword [ebp - 0x20], ecx
jmp 0x10055530
push esi
call sub.kernel32.dll_CloseHandle
movsd xmm0, qword [ebp - 0x28]
mov esi, dword [0x10071048]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x44]
movsd qword [ebp - 0x4bc], xmm0
movsd xmm0, qword [ebp - 0x4c]
mov ecx, esi
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4a8], edx
neg ecx
movsd qword [ebp - 0x4b0], xmm0
jo 0x10055812
mov ebx, dword [0x10071050]
mov eax, dword [0x1007104c]
test ebx, ebx
mov dword [ebp - 0x14], eax
je 0x100557f3
mov eax, dword [ebp - 0x14]
lea edi, [eax + 0x14]
jmp 0x100557c6
add edi, 0x20
dec ebx
je 0x100557f3
cmp dword [edi - 0x14], 0
je 0x100557dc
push dword [edi - 0x10]
push 0
push dword [0x100ff0c8]
call sub.kernel32.dll_HeapFree
cmp dword [edi - 4], 0
je 0x100557c0
push dword [edi]
push 0
push dword [0x100ff0c8]
call sub.kernel32.dll_HeapFree
jmp 0x100557c0
test esi, esi
je 0x10055807
push dword [ebp - 0x14]
push 0
push dword [0x100ff0c8]
call sub.kernel32.dll_HeapFree
lea ecx, [0x10071054]
call sym.__ZN4core3ptr104drop_in_place_LT_alloc..vec..Vec_LT__LP_usize_C_std..backtrace_rs..symbolize..gimli..Mapping_RP__GT__GT_17h4bc
movsd xmm0, qword [ebp - 0x4ac]
movsd xmm2, qword [ebp - 0x4bc]
movsd xmm1, qword [ebp - 0x4b4]
mov esi, dword [ebp - 0x40]
movsd qword [0x10071058], xmm0
movsd qword [0x10071050], xmm1
movsd qword [0x10071048], xmm2
lea edx, [ebp - 0x94]
mov ecx, esi
call sym.std::backtrace_rs::symbolize::gimli::resolve::__u7b__u7b_closure_u7d__u7d_::h742372e39782af85
add esp, 0x4b0
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x520
push 8
call sym.alloc::raw_vec::handle_error::he63c9115d026ec98
push 8
push 4
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
add esp, 8
ud2