Function at 0x407e7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x6c
mov eax, dword [0x57b830]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push edi
mov esi, 0x5352d0
push esi
push 0x89
xor edi, edi
push edi
call ebp
push 0x65
mov ebx, eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00509740
add esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
call ebx
mov al, byte [eax]
push esi
test al, al
mov byte [esp + 0x14], al
push 0x8a
setne al
push edi
mov byte [0x57f19c], al
call ebp
push 0x65
mov esi, eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00509740
add esp, 0xc
push esi
push edi
call ebx
push 0x19
pop ecx
mov esi, eax
lea edi, [esp + 0x10]
lea eax, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x57f1b8
call fcn.004013b5
push 0x5352d0
push 0x8b
xor edi, edi
push edi
call ebp
push 0x65
mov esi, eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00509740
add esp, 0xc
push esi
push edi
call ebx
push 0x19
mov esi, eax
pop ecx
lea eax, [esp + 0x10]
lea edi, [esp + 0x10]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0050a2b7
mov dword [esp], 0x5352d0
push 0x8c
xor edi, edi
push edi
mov dword [0x57f1a0], eax
call ebp
mov esi, eax
push 0x65
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00509740
add esp, 0xc
push esi
push edi
call ebx
push 0x19
pop ecx
mov esi, eax
lea edi, [esp + 0x10]
lea eax, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x57f1b4
call fcn.004013b5
push 0x5352d0
push 0x8d
xor edi, edi
push edi
call ebp
push 0x65
mov esi, eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00509740
add esp, 0xc
push esi
push edi
call ebx
push 0x19
mov esi, eax
pop ecx
lea eax, [esp + 0x10]
lea edi, [esp + 0x10]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0050a2b7
mov dword [esp], 0x5352d0
push 0x8f
xor edi, edi
push edi
mov dword [0x57f1a4], eax
call ebp
push 0x65
mov esi, eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00509740
add esp, 0xc
push esi
push edi
call ebx
push 0x19
mov esi, eax
pop ecx
lea eax, [esp + 0x10]
lea edi, [esp + 0x10]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0050a2b7
mov dword [esp], 0x5352d0
push 0x90
xor edi, edi
push edi
mov dword [0x57f1a8], eax
call ebp
push 0x65
mov esi, eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00509740
add esp, 0xc
push esi
push edi
call ebx
push 0x19
pop ecx
mov esi, eax
lea edi, [esp + 0x10]
lea eax, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x57f1ac
call fcn.004013b5
push 0x5352d0
push 0x91
xor edi, edi
push edi
call ebp
push 0x65
mov esi, eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00509740
add esp, 0xc
push esi
push edi
call ebx
push 0x19
pop ecx
mov esi, eax
lea edi, [esp + 0x10]
lea eax, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x57f2a8
call fcn.004013b5
push 0x5352d0
push 0x92
xor edi, edi
push edi
call ebp
push 0x65
mov esi, eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00509740
add esp, 0xc
push esi
push edi
call ebx
push 0x19
pop ecx
mov esi, eax
lea edi, [esp + 0x10]
lea eax, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x57f1b0
call fcn.004013b5
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050949c
add esp, 0x6c
ret