Function at 0x458a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a61ba
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4ccc64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0x4b04e0
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
call fcn.0048c02b
mov ecx, dword [ebp + 0xc]
add esp, 4
push eax
push 0x4b04e0
call fcn.004214c7
mov eax, dword [ebp + 8]
push 3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x10], esi
cmp esi, edi
jne 0x458abb
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458aa7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x38]
push ecx
call fcn.004444e0
lea edx, [ebp - 0x38]
push edx
push 0x4587e0
push 0x18
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
cmp esi, eax
jbe 0x458aec
call fcn.0048c1a2
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x20], ebx
mov edi, esi
mov dword [ebp - 0x1c], edi
mov esi, eax
cmp dword [ebp - 0x2c], eax
jbe 0x458b03
call fcn.0048c1a2
test ebx, ebx
je 0x458b0c
cmp ebx, dword [ebp - 0x38]
je 0x458b11
call fcn.0048c1a2
cmp edi, esi
je 0x458cd9
test ebx, ebx
jne 0x458c04
call fcn.0048c1a2
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x458b32
call fcn.0048c1a2
test ebx, ebx
jne 0x458c0b
call fcn.0048c1a2
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x458b4b
call fcn.0048c1a2
mov eax, dword [edi]
mov ecx, dword [ebp - 0x10]
push 0x18
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x458c70
mov edx, dword [ebp - 0x10]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x458c70
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 0x10]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test edi, edi
je 0x458c6d
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
mov edx, edi
call fcn.00454470
add esp, 4
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
jne 0x458c23
mov ecx, dword [ebp - 0x14]
lea esi, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp esi, edi
je 0x458c49
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x458c12
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x458c12
push esi
call fcn.00421538
add esp, 4
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x458bf4
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x20]
add ecx, 0x10
mov dword [edx], ecx
jmp 0x458c49
mov eax, dword [ebx]
jmp 0x458b28
mov eax, dword [ebx]
jmp 0x458b41
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, edx
call fcn.004214c7
mov ebx, dword [ebp - 0x20]
jmp 0x458c49
mov esi, dword [ebp - 0x14]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
push esi
call fcn.00421538
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
add esp, 4
push eax
call fcn.00458820
add esp, 8
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458c6d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov edi, dword [ebp - 0x1c]
test ebx, ebx
jne 0x458ccd
call fcn.0048c1a2
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x458c85
call fcn.0048c1a2
test dword [edi], 0xffff0000
je 0x458cad
test ebx, ebx
jne 0x458cd1
call fcn.0048c1a2
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x458ca2
call fcn.0048c1a2
mov eax, dword [edi]
push eax
call fcn.0048c1d3
add esp, 4
test ebx, ebx
jne 0x458cd5
call fcn.0048c1a2
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x458cc2
call fcn.0048c1a2
mov eax, dword [ebp - 0x28]
add edi, 4
jmp 0x458af4
mov eax, dword [ebx]
jmp 0x458c7b
mov eax, dword [ebx]
jmp 0x458c98
mov eax, dword [ebx]
jmp 0x458cb8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x38]
push edx
mov byte [ebp - 4], 0
call fcn.00450630
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458d16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret