Function at 0x44e7f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561428
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 0x60]
mov ebx, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
call fcn.0050ad42
cmp dword [esi + 0x58], 0
mov edi, dword [eax + 0xc]
je 0x44e85c
call fcn.0050ad42
mov ecx, dword [esi + 0x58]
mov edi, dword [eax + 0xc]
push 5
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
mov ebx, eax
test ebx, ebx
je 0x44e86a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x44e886
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x5ec750], 0
mov dword [ebp - 0x1c], 0
je 0x44e8b2
push eax
call fcn.0044ceb0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x44e8b2
mov edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov ecx, esi
call fcn.004ff5a9
mov ebx, eax
mov dword [ebp - 0x30], ebx
call fcn.00502c42
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
cmp ebx, eax
je 0x44e941
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x44e941
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44e941
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00512126
test eax, eax
je 0x44e9b5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44e941
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
test eax, eax
je 0x44e941
mov ecx, dword [ebp - 0x14]
call fcn.005069e6
test eax, eax
je 0x44e941
mov ecx, dword [ebp - 0x14]
push 0
call fcn.00506a01
mov dword [ebp - 0x28], 1
lea ecx, [ebp - 0x3c]
call fcn.00507987
mov dword [ebp - 4], 0
push esi
mov byte [ebp - 4], 1
call fcn.00504da3
push ebx
call fcn.00502b89
mov ecx, dword [ebp - 0x18]
push edi
push eax
push ecx
mov ecx, esi
call fcn.004ff87d
test eax, eax
je 0x44e9df
test byte [esi + 0x3c], 0x10
je 0x44e997
mov ecx, esi
mov edi, 4
call fcn.00506868
test eax, 0x100
je 0x44e98f
mov edi, 5
push edi
mov ecx, esi
call fcn.00502671
cmp dword [esi + 0x20], 0
je 0x44e9df
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00506c85
jmp 0x44e9df
mov dword [ebp - 0x14], 0
jmp 0x44e941
mov dword [ebp - 4], 0xffffffff
call fcn.0050799f
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x44ea00
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x28], 0
je 0x44ea10
mov ecx, dword [ebp - 0x14]
push 1
call fcn.00506a01
cmp dword [ebp - 0x2c], 0
je 0x44ea1f
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x44ea35
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x44ea35
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
mov ecx, esi
call edx
mov ecx, esi
call fcn.004ff5e5
cmp dword [esi + 0x58], 0
je 0x44ea55
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 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