Function at 0x457de8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4584a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
mov dword [ebp - 0x10], eax
push 0
mov eax, ebx
call fcn.00404ef8
mov esi, eax
push esi
call sub.kernel32.dll_BeginUpdateResourceA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x458484
xor eax, eax
push ebp
push 0x45847d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x412fd8]
call fcn.00403c7c
mov dword [ebp - 0x3c], eax
xor eax, eax
push ebp
push 0x458450
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x412bbc]
call fcn.00403c7c
mov dword [ebp - 0x40], eax
xor eax, eax
push ebp
push 0x458433
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
push 0
push esi
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45841d
xor eax, eax
push ebp
push 0x458416
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x3c]
push eax
push 0x457d7c
push 0xe
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_EnumResourceNamesA
test eax, eax
jne 0x457edf
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4580b1
lea ecx, [ebp - 0x58]
xor edx, edx
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x58], 0
jne 0x457f11
xor edx, edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x2c], eax
jmp 0x457f29
lea ecx, [ebp - 0x5c]
xor edx, edx
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x5c]
call fcn.00404ef8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x40]
push eax
push 0x457d64
mov eax, dword [ebp - 0x2c]
push eax
push 0xe
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_EnumResourceLanguagesA
test eax, eax
jne 0x457f66
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4580b6
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x40]
call fcn.00414f24
mov edi, eax
push edi
mov eax, dword [ebp - 0x2c]
push eax
push 0xe
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindResourceExA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x457fbf
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x457feb
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
push ebx
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x458013
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
mov eax, dword [ebp - 0x38]
movzx ebx, word [eax + 4]
dec ebx
test ebx, ebx
jl 0x458072
inc ebx
xor esi, esi
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebp - 0x38]
push esi
push edi
lea esi, [edx + eax*2 + 6]
lea edi, [ebp - 0x52]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
push 0
push 0
push edi
movzx eax, word [ebp - 0x46]
push eax
push 3
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_UpdateResourceA
test eax, eax
jne 0x45806e
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
inc esi
dec ebx
jne 0x458022
push 0
push 0
push edi
mov eax, dword [ebp - 0x2c]
push eax
push 0xe
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_UpdateResourceA
test eax, eax
jne 0x4580a3
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
inc dword [ebp - 0xc]
dec dword [ebp - 0x44]
jne 0x457f80
jmp 0x4580b6
xor eax, eax
mov dword [ebp - 0x2c], eax
push 2
push 0
mov eax, dword [ebp - 4]
call fcn.00404ef8
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4583ff
xor eax, eax
push ebp
push 0x4583f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x3c]
push eax
push 0x457d7c
push 0xe
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_EnumResourceNamesA
test eax, eax
jne 0x458121
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4583e1
lea ecx, [ebp - 0x60]
xor edx, edx
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x60], 0
jne 0x458153
xor edx, edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x30], eax
jmp 0x45816b
lea ecx, [ebp - 0x64]
xor edx, edx
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x64]
call fcn.00404ef8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0
jne 0x458177
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x40]
push eax
push 0x457d64
mov eax, dword [ebp - 0x30]
push eax
push 0xe
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_EnumResourceLanguagesA
test eax, eax
jne 0x4581b9
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4583da
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x40]
call fcn.00414f24
mov edi, eax
push edi
mov eax, dword [ebp - 0x30]
push eax
push 0xe
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceExA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x458217
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x458248
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
push ebx
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x458275
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
mov eax, dword [ebp - 0x38]
movzx ebx, word [eax + 4]
dec ebx
test ebx, ebx
jl 0x45838a
inc ebx
xor esi, esi
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebp - 0x38]
push esi
push edi
lea esi, [edx + eax*2 + 6]
lea edi, [ebp - 0x52]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
push 3
movzx eax, word [ebp - 0x46]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4582d9
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x45830d
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x45833d
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebp - 0x34]
push eax
push edi
movzx eax, word [ebp - 0x46]
push eax
push 3
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_UpdateResourceA
test eax, eax
jne 0x458382
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
inc esi
dec ebx
jne 0x458288
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebp - 0x38]
push eax
push edi
mov eax, dword [ebp - 0x2c]
push eax
push 0xe
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_UpdateResourceA
test eax, eax
jne 0x4583ce
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
call fcn.004044f8
jmp 0x45848e
inc dword [ebp - 0xc]
dec dword [ebp - 0x44]
jne 0x4581d3
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4583ff
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45841d
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45843a
mov eax, dword [ebp - 0x40]
call fcn.00403cac
ret
cmp dword [ebp - 0x10], 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4584b0
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.00404a5c
ret