Function at 0x40adb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405f54
xor eax, eax
push ebp
push 0x40aff6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [0x40ad78]
call fcn.00407ff0
mov byte [ebp - 0xd], 0
push 2
mov eax, dword [ebp - 4]
call fcn.00405f64
push eax
push edi
call fcn.004095ec
mov esi, eax
test esi, esi
je 0x40afd2
push esi
push edi
call fcn.00409a28
mov edx, ebx
imul edx, ebx
add edx, edx
add edx, edx
add edx, 0x28
cmp eax, edx
jne 0x40afd2
push esi
push edi
call fcn.00409920
mov esi, eax
test esi, esi
je 0x40afd2
mov eax, ebx
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x40ad78]
call fcn.00407ed0
add esp, 4
push esi
call fcn.00409940
mov edi, eax
lea edx, [ebp - 0x4c]
mov eax, edi
mov ecx, 0x28
call fcn.004032cc
add edi, 0x28
mov eax, ebx
imul ebx
mov ecx, eax
add ecx, ecx
add ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.004032cc
mov eax, esi
call fcn.0040a448
push esi
call fcn.00409654
push 0xf
call fcn.0040a0d8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0xff
shl eax, 0x10
mov edx, dword [ebp - 0x1c]
and edx, 0xff00
add eax, edx
mov edx, dword [ebp - 0x1c]
and edx, 0xff0000
shr edx, 0x10
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, ebx
imul ebx
dec eax
test eax, eax
jb 0x40af40
inc eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov edx, dword [ebp - 8]
mov edx, dword [edx + eax*4]
shr edx, 0x18
inc edx
mov ecx, pe_nt_image_headers32
sub ecx, edx
mov esi, dword [ebp - 0x1c]
and esi, 0xff00ff
imul ecx, esi
mov esi, dword [ebp - 8]
mov esi, dword [esi + eax*4]
and esi, 0xff00ff
imul esi, edx
add ecx, esi
shr ecx, 8
and ecx, 0xff00ff
mov esi, pe_nt_image_headers32
sub esi, edx
mov edi, dword [ebp - 0x1c]
and edi, 0xff00
imul esi, edi
mov edi, dword [ebp - 8]
mov edi, dword [edi + eax*4]
and edi, 0xff00
imul edi, edx
add esi, edi
shr esi, 8
and esi, 0xff00
add ecx, esi
mov edx, dword [ebp - 8]
mov dword [edx + eax*4], ecx
inc eax
dec dword [ebp - 0x20]
jne 0x40aece
push 0
call fcn.00409b50
mov esi, eax
test esi, esi
je 0x40afd2
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.00409b60
mov edi, eax
test edi, edi
je 0x40afcc
cmp dword [ebp - 0x18], 0
je 0x40afcc
call fcn.00409c00
mov eax, ebx
imul ebx
mov ecx, eax
add ecx, ecx
add ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004032cc
call fcn.00409c00
push edi
push esi
call fcn.00409d48
mov dword [ebp - 0x14], eax
push 0xcc0020
push 0
push 0
push esi
push ebx
push ebx
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00409b18
mov eax, dword [ebp - 0x14]
push eax
push esi
call fcn.00409d48
push edi
call fcn.00409bd8
mov byte [ebp - 0xd], 1
push esi
call fcn.00409bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40affd
lea eax, [ebp - 8]
mov edx, dword [0x40ad78]
call fcn.00407ff0
lea eax, [ebp - 4]
call fcn.004058a8
ret