Function at 0x4e9144
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ad8
mov eax, dword [ebp - 8]
call fcn.00404ad8
xor eax, eax
push ebp
push 0x4e93d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0040461c
xor eax, eax
push ebp
push 0x4e935e
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
push 0
mov eax, dword [ebp - 4]
call fcn.00404ae8
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4e9354
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x14]
push eax
push 0x4e9130
push 0x10
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_EnumResourceNamesA
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4e91fc
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_FreeLibrary_1
mov eax, dword [ebp - 0xc]
call fcn.0040461c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e9392
push 0x10
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
mov dword [ebp - 0x14], ebx
push ebx
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0
jbe 0x4e9354
mov eax, dword [ebp - 0x1c]
call fcn.00402790
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00407cd4
xor eax, eax
push ebp
push 0x4e934d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4e93e8
mov eax, dword [ebp - 0x34]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e92bf
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00407cc8
movzx eax, ax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x4e940c
call fcn.0040a608
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x4e940c
call fcn.0040a608
push 0x4e941c
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x4e9434
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.004049b0
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
call fcn.00404ed4
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 8]
call fcn.00404ed4
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x28]
call fcn.00404f60
mov eax, dword [ebp - 0x44]
call fcn.00404ee4
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4e932e
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
call fcn.0040483c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9354
mov eax, dword [ebp - 0x34]
call fcn.004027b0
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e937c
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x4e9392
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004e8e08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e93de
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404d6c
lea eax, [ebp - 0x40]
call fcn.0040461c
lea eax, [ebp - 0x28]
call fcn.00404d54
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404640
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404640
ret