Function at 0x42e6c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ace5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4b5930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x5c]
mov dword [ebp - 0x1c], eax
call fcn.0044f60f
cmp dword [esi + 0x58], 0
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x20], ecx
je 0x42e72a
call fcn.0044f60f
mov edx, dword [esi + 0x58]
mov edi, dword [eax + 0xc]
push 5
push edx
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42e738
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e755
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 4
mov ecx, esi
call fcn.0045728b
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.00454112
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
je 0x42e7e2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x42e7e2
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42e7e2
push edi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x28], 1
call fcn.00450ab3
cmp eax, edi
je 0x42e84c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x42e7e2
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x120]
call eax
test eax, eax
je 0x42e7e2
mov ecx, dword [ebp - 0x18]
call fcn.0044e4ae
test eax, eax
je 0x42e7e2
mov ecx, dword [ebp - 0x18]
push edi
call fcn.0044e4c9
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x38]
call fcn.004519c1
mov dword [ebp - 4], edi
push esi
mov byte [ebp - 4], 1
call fcn.00455b0a
push ebx
call fcn.0045406a
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push ecx
push eax
push edx
mov ecx, esi
call fcn.00457541
cmp eax, edi
je 0x42e874
test byte [esi + 0x3c], 0x10
je 0x42e834
mov ecx, esi
call fcn.0044e372
test eax, 0x100
je 0x42e82a
mov edi, 1
push edi
mov ecx, esi
call fcn.00453d1d
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x42e874
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0044e6b1
jmp 0x42e874
mov dword [ebp - 0x18], edi
jmp 0x42e7e2
mov dword [ebp - 4], 0xffffffff
call fcn.004519d7
cmp dword [ebp - 0x24], edi
je 0x42e88f
mov ecx, dword [ebp - 0x18]
push 1
call fcn.0044e4c9
cmp dword [ebp - 0x28], edi
je 0x42e89d
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebx, edi
je 0x42e8b3
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x42e8b3
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
mov ecx, esi
call fcn.004572c5
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 4