Function at 0x44c630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561178
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5b7b5c]
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.0050b420
cmp dword [esi + 0x58], 0
mov edi, dword [eax + 0xc]
je 0x44c69c
call fcn.0050b420
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 0x44c6aa
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x44c6c6
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 [0x5ec7c0], 0
mov dword [ebp - 0x1c], 0
je 0x44c6f2
push eax
call fcn.0044b0c0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x44c6f2
mov edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov ecx, esi
call fcn.004ffca9
mov ebx, eax
mov dword [ebp - 0x30], ebx
call fcn.00503337
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
cmp ebx, eax
je 0x44c781
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x44c781
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44c781
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0051279f
test eax, eax
je 0x44c7f5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44c781
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
test eax, eax
je 0x44c781
mov ecx, dword [ebp - 0x14]
call fcn.005070d8
test eax, eax
je 0x44c781
mov ecx, dword [ebp - 0x14]
push 0
call fcn.005070f3
mov dword [ebp - 0x28], 1
lea ecx, [ebp - 0x3c]
call fcn.00508056
mov dword [ebp - 4], 0
push esi
mov byte [ebp - 4], 1
call fcn.00505498
push ebx
call fcn.0050327e
mov ecx, dword [ebp - 0x18]
push edi
push eax
push ecx
mov ecx, esi
call fcn.004fff7d
test eax, eax
je 0x44c81f
test byte [esi + 0x3c], 0x10
je 0x44c7d7
mov ecx, esi
mov edi, 4
call fcn.00506f5a
test eax, 0x100
je 0x44c7cf
mov edi, 5
push edi
mov ecx, esi
call fcn.00502d66
cmp dword [esi + 0x20], 0
je 0x44c81f
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00507373
jmp 0x44c81f
mov dword [ebp - 0x14], 0
jmp 0x44c781
mov dword [ebp - 4], 0xffffffff
call fcn.0050806e
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x44c840
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x28], 0
je 0x44c850
mov ecx, dword [ebp - 0x14]
push 1
call fcn.005070f3
cmp dword [ebp - 0x2c], 0
je 0x44c85f
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x44c875
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x44c875
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.004ffce5
cmp dword [esi + 0x58], 0
je 0x44c895
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