Function at 0x530cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6326b0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6b278c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x530d3a
xor eax, eax
jmp 0x530eae
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x530eab
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x530eab
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.005b5620
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [ebp - 0x2c]
push edx
push 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00532cd0
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x530eab
mov dword [ebp - 0x34], 0
push 0
lea ecx, [ebp - 0x38]
call sym.demo.exe_public:_void___thiscall_DuiLib::STRINGorID::constructor_wchar_t_const__
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00532c80
cmp dword [ebp - 0x34], 0
je 0x530e7f
push 0x98
call fcn.005b4bed
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0
je 0x530e3a
mov ecx, dword [ebp - 0x40]
call fcn.00532cb0
mov dword [ebp - 0x50], eax
jmp 0x530e41
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x30]
call fcn.00532bf0
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x30]
call fcn.00532c50
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x24]
mov byte [edx + 0xc], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0
je 0x530ea4
push 1
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x54], eax
jmp 0x530eab
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc