Function at 0x4078c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x41ae60]
push ebx
push esi
push edi
push 0x10
push 1
push eax
mov esi, eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x407941
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x407941
cmp dword [eax], 0xfeef04bd
je 0x40791e
jmp 0x407910
mov ecx, dword [eax + 4]
add eax, 4
cmp ecx, 0xfeef04bd
jne 0x407910
movzx ecx, word [eax + 0x12]
movzx edx, word [eax + 0x10]
shl ecx, 8
add ecx, edx
movzx edx, word [eax + 0x16]
movzx eax, word [eax + 0x14]
shl ecx, 8
add ecx, edx
shl ecx, 8
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 8]
lea ebx, [esp + 0x10]
call fcn.00407040
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x407ba7
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov word [esp + 0x18], 0x5b
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push str.General
lea ecx, [esp + 0x1d]
push ecx
stosw word es:[edi], ax
call esi
push 0x4178b8
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00406f80
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0xc], edi
jne 0x407a08
lea ebx, [esp + 0x10]
call fcn.004075f0
test eax, eax
je 0x407a04
mov word [esp + 0x18], 0x5b
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push str.General
lea ecx, [esp + 0x1d]
push ecx
stosw word es:[edi], ax
call esi
push 0x4178b8
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00406f80
mov edi, eax
add esp, 8
mov dword [esp + 0xc], edi
jmp 0x407a08
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x407ba7
test edi, edi
je 0x407ba7
push 0x417110
call fcn.00407680
mov eax, dword [0x419a28]
add esp, 4
test eax, 0x800000
jne 0x407a53
mov ecx, dword [0x41b388]
mov al, byte [0x41b364]
and ecx, 0xfffffffb
test al, 0x40
mov dword [0x41b388], ecx
je 0x407a53
mov dword [0x41dc6c], 1
lea eax, [esp + 0xc]
call fcn.00407be0
lea edx, [esp + 0xc]
mov esi, eax
push edx
and esi, 1
call fcn.00407e70
lea eax, [esp + 0x10]
call fcn.004080c0
lea eax, [esp + 0x10]
push eax
call fcn.00408200
and esi, eax
mov word [esp + 0x20], 0x5b
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
add esp, 8
push str.SubMenu
lea ecx, [esp + 0x1d]
push ecx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4178b8
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00406f80
add esp, 8
test eax, eax
jne 0x407b13
mov word [esp + 0x18], 0x5b
mov ecx, 0x18
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push str.FolderMenu
lea ecx, [esp + 0x1d]
push ecx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4178b8
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00406f80
add esp, 8
test eax, eax
je 0x407b22
push 0x4172d8
mov edi, eax
call fcn.00407680
add esp, 4
mov dword [esp + 0xc], ebx
call fcn.00406b00
lea ecx, [esp + 0xc]
push ecx
call fcn.004085c0
lea edx, [esp + 0x10]
push edx
call fcn.004086c0
and esi, eax
call fcn.00406da0
lea eax, [esp + 0x14]
push eax
call fcn.00408a60
lea ecx, [esp + 0x18]
push ecx
call fcn.00408cf0
lea edx, [esp + 0x1c]
push edx
call fcn.00409610
and esi, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.004097f0
and esi, eax
mov eax, dword [0x41db60]
add esp, 0x18
test eax, eax
je 0x407b8f
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [0x41db60], 0
test esi, esi
je 0x407bcb
mov eax, dword [ebp + 8]
call fcn.0040a410
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x41db60]
test eax, eax
mov ecx, dword [esp + 0x14]
mov dword [0x41db64], ecx
je 0x407bcb
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [0x41db60], 0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret