Function at 0x4538d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519464
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x58], 0
jne 0x45392e
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x5c], 0
jne 0x45392e
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x60], 0
jne 0x45392e
push 0x212
push 0x53f0d8
call fcn.0045b590
test eax, eax
je 0x45392e
int3
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x60]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x2c], ecx
call fcn.0043a140
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x58], 0
je 0x453980
call fcn.0043a140
mov dword [ebp - 0x1c], eax
push 5
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x453993
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4539a1
or eax, 0xffffffff
jmp 0x453bd8
mov ecx, dword [ebp - 0x3c]
call fcn.00453800
mov dword [ebp - 0x24], eax
call fcn.00441610
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x24], 0
je 0x453a37
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x24], eax
je 0x453a37
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x453a37
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.0043a1f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x453a37
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x128]
call edx
test eax, eax
je 0x453a37
mov ecx, dword [ebp - 0x18]
call fcn.00450ee0
test eax, eax
je 0x453a37
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00450f50
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00441530
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00440bc0
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.004530b0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x453af8
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x3c]
and eax, 0x10
je 0x453ad8
mov dword [ebp - 0x34], 4
mov ecx, dword [ebp - 0x3c]
call fcn.00450790
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
and ecx, 0x100
je 0x453aa5
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.00448c70
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ecx + 0x44]
je 0x453ad8
push 0x24b
push 0x53f110
call fcn.0045b590
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x453ad8
int3
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x20], 0
je 0x453af8
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3c]
call fcn.00450db0
jmp 0x453b48
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x453b5f
push 1
mov ecx, dword [ebp - 0x18]
call fcn.00450f50
cmp dword [ebp - 0x14], 0
je 0x453b71
push 1
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x24], 0
je 0x453b8f
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x3c]
cmp eax, dword [ecx + 0x20]
jne 0x453b8f
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x68]
call eax
mov ecx, dword [ebp - 0x3c]
call fcn.00453870
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x58], 0
jne 0x453bb6
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x5c], 0
je 0x453bbf
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044a950
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x58], 0
je 0x453bd2
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret