Function at 0x52a550
Capabilities:
Enumerate gui resources
Read file via mapping

Disassembly:
push edi
push esi
push ebx
push ecx
mov eax, 0x30
call fcn.006977b0
mov ecx, dword [esp + 0x30]
mov esi, ecx
mov ebx, dword [esp + 0x48]
cmp dword [esi + 0x10], 0
je 0x52a692
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x52a750
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [esi + 0x24], 0
je 0x52a6f2
mov edi, dword [esi + 0x1c]
mov edx, dword [esi + 0x10]
test edx, edx
je 0x52a5c4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x2c]
mov edx, 2
push edx
push 1
push edx
push ecx
push dword [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [esi + 0x10]
test eax, eax
je 0x52a5c4
mov eax, dword [esp + 0x2c]
jmp 0x52a5c6
xor eax, eax
mov dword [esp + 0x24], eax
mov edi, dword [esi + 0x24]
test edx, edx
je 0x52a5fa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x30]
mov edx, 2
push edx
push 1
push edx
push ecx
push dword [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x52a5fa
mov eax, dword [esp + 0x30]
jmp 0x52a5fc
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x52a692
mov dword [esp + 0x28], eax
test eax, eax
je 0x52a692
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 8
lea edx, [esp + 0x24]
mov dword [esp + 0x20], edx
test ebx, ebx
je 0x52a655
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x52a648
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x52a633
dec eax
push eax
push ebx
push dword [esi + 0x20]
call fcn.006a8180
add esp, 0xc
mov ebx, dword [esi + 0x28]
mov edx, dword [esi + 0x18]
test edx, edx
je 0x52a6d3
lea eax, [esp + 0x18]
push eax
push ebx
push 0x4a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x52a692
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x52a6c5
mov eax, dword [esp + 0x50]
test eax, eax
je 0x52a6c5
push dword [esi + 8]
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x52a69d
xor eax, eax
add esp, 0x34
pop ebx
pop esi
pop edi
ret 0x10
mov eax, dword [esp + 0x50]
lea edx, [eax - 1]
push edx
push dword [esi + 0x20]
mov ecx, dword [esp + 0x54]
push dword [ecx]
call fcn.00698a30
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x50]
mov byte [edx + ecx - 1], 0
mov eax, 1
add esp, 0x34
pop ebx
pop esi
pop edi
ret 0x10
mov dword [esi + 0x18], 0
push esi
push 0x52a4c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [esi + 0x18]
test edx, edx
je 0x52a692
jmp 0x52a65f
mov dword [esp + 8], 1
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], 0xc
lea edx, [esp]
push eax
push 0x100
push eax
push 4
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 0x24], eax
test eax, eax
je 0x52a745
cmp eax, 0xffffffff
je 0x52a745
xor edx, edx
push 0x100
push edx
push edx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x52a58e
xor eax, eax
add esp, 0x34
pop ebx
pop esi
pop edi
ret 0x10
mov edx, 1
mov dword [esp + 0x14], edx
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xc
lea ecx, [esp + 0xc]
push eax
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x52a57d
xor eax, eax
add esp, 0x34
pop ebx
pop esi
pop edi
ret 0x10