Function at 0x53a0e0
Capabilities:
Enumerate process modules
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x474]
push 0x424
push 0
push eax
mov dword [ebp - 0x488], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x478], 0x428
call fcn.00524c70
mov dword [0x5c2960], eax
lea eax, [ebp - 0x478]
push eax
push edi
mov dword [0x5c2964], edx
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x53a3e2
push 2
push 0
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x484], esi
xorps xmm0, xmm0
movaps xmmword [ebp - 0x4b0], xmm0
movq qword [ebp - 0x4a0], xmm0
test esi, esi
je 0x53a3c6
push 0x1c
lea eax, [ebp - 0x4b0]
push eax
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
jne 0x53a3c6
cmp dword [ebp - 0x4a0], 0x1000
jne 0x53a3c6
call fcn.00524f80
mov edi, eax
mov dword [ebp - 0x47c], edx
push 0x5986d8
mov dword [ebp - 0x480], edi
call fcn.005251a0
mov esi, dword [ebp - 0x47c]
push edx
push eax
push str.type
push esi
push edi
call fcn.005256b0
mov eax, dword [ebp - 0x464]
cdq
push edx
push eax
call fcn.00523890
push edx
push eax
push str.image_addr
push esi
push edi
call fcn.005256b0
push dword [ebp - 0x460]
call fcn.00524c60
push edx
push eax
push str.image_size
push esi
push edi
call fcn.005256b0
add esp, 0x4c
lea eax, [ebp - 0x258]
push eax
call fcn.00523ca0
push edx
push eax
push str.code_file
push esi
push edi
call fcn.005256b0
mov edi, dword [ebp - 0x464]
add esp, 0x18
test edi, edi
je 0x53a39a
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x53a39a
mov esi, dword [edi + 0x3c]
add esi, edi
cmp dword [esi], 0x4550
jne 0x53a39a
push dword [esi + 0x50]
lea eax, [ebp - 0x38]
push dword [esi + 8]
push str._08x_X
push 0x32
push eax
call fcn.0041d900
lea eax, [ebp - 0x38]
push eax
call fcn.005251a0
push edx
push eax
push str.code_id
push dword [ebp - 0x47c]
push dword [ebp - 0x480]
call fcn.005256b0
add esp, 0x2c
cmp dword [esi + 0xa8], 0
je 0x53a39a
mov eax, dword [esi + 0xac]
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x53a39a
mov edx, dword [esi + 0xac]
xor ecx, ecx
test edx, edx
je 0x53a39a
mov eax, dword [esi + 0xa8]
add eax, 0x14
add eax, edi
nop word [eax + eax]
cmp dword [eax - 8], 2
jne 0x53a312
mov esi, dword [eax]
add esi, edi
cmp dword [esi], 0x53445352
je 0x53a31e
add ecx, 0x1c
add eax, 0x1c
cmp ecx, edx
jb 0x53a300
jmp 0x53a39a
lea eax, [esi + 0x18]
push eax
call fcn.005251a0
mov edi, dword [ebp - 0x480]
push edx
push eax
push str.debug_file
push dword [ebp - 0x47c]
push edi
call fcn.005256b0
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.00529340
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
movups xmmword [ebp - 0x50], xmm0
call fcn.005293f0
mov byte [ebp - 0x14], 0x2d
lea eax, [ebp - 0x13]
push dword [esi + 0x14]
push 0x58d9bc
push 0xa
push eax
call fcn.0041d900
lea eax, [ebp - 0x38]
push eax
call fcn.005251a0
push edx
push eax
push str.debug_id
push dword [ebp - 0x47c]
push edi
call fcn.005256b0
add esp, 0x50
push dword [ebp - 0x47c]
push dword [ebp - 0x480]
push dword [0x5c2964]
push dword [0x5c2960]
call fcn.005241d0
mov esi, dword [ebp - 0x484]
add esp, 0x10
mov edi, dword [ebp - 0x488]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x478]
push eax
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x53a163
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x5c2964]
push dword [0x5c2960]
call fcn.005243b0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.00563360
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret