Function at 0x59aca4
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.00405168
mov eax, dword [ebp - 8]
call fcn.00405168
xor eax, eax
push ebp
push 0x59af27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00404cac
mov eax, dword [ebp - 4]
call fcn.0040b3a0
test al, al
je 0x59aee2
xor eax, eax
push ebp
push 0x59aec4
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
push 0
mov eax, dword [ebp - 4]
call fcn.00405178
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x59aeba
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x14]
push eax
push 0x59ac90
push 0x10
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_EnumResourceNamesA
cmp dword [ebp - 0x14], 0xffffffff
jne 0x59ad6c
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_FreeLibrary_1
mov eax, dword [ebp - 0xc]
call fcn.00404cac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x59aee2
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
mov eax, dword [ebp - 0x1c]
call fcn.00402a88
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00408564
xor eax, eax
push ebp
push 0x59aeb3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x59af38
mov eax, dword [ebp - 0x34]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x59ae25
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00408558
movzx eax, ax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x59af5c
call fcn.0040c1cc
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, 0x59af5c
call fcn.0040c1cc
push 0x59af6c
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x59af84
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00405040
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
call fcn.0040556c
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.0040556c
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x28]
call fcn.004055f8
mov eax, dword [ebp - 0x44]
call fcn.0040557c
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x59ae94
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
call fcn.00404ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59aeba
mov eax, dword [ebp - 0x34]
call fcn.00402aa8
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 0x59aee2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59af2e
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00405404
lea eax, [ebp - 0x40]
call fcn.00404cac
lea eax, [ebp - 0x28]
call fcn.004053ec
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404cd0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404cd0
ret