Function at 0x408d00
Capabilities:
Create directory
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a453d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x37c
mov eax, dword [0x618000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2cc], 5
cmp dword [ebp - 0x2cc], 3
jle 0x408d6c
cmp dword [ebp - 0x2cc], 0xa
jge 0x408d6c
push 0x403dd0
push str.This_is_a_dummy_condition
push 0x622618
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
push 0x403dd0
push str.Normal_program_execution_continues
push 0x622618
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
call fcn.0040ffc0
movzx eax, al
test eax, eax
je 0x408dbc
push 0x403e00
push 0x5b5e80
push 0x622778
call fcn.00402560
add esp, 8
mov ecx, eax
call fcn.00407f60
or eax, 0xffffffff
jmp 0x409da1
call fcn.0040fff0
movzx ecx, al
test ecx, ecx
je 0x408dee
push 0x403e00
push 0x5b5ea0
push 0x622778
call fcn.00402560
add esp, 8
mov ecx, eax
call fcn.00407f60
or eax, 0xffffffff
jmp 0x409da1
call fcn.0040e790
call fcn.00583a3e
and eax, 0x80000001
jns 0x408e04
dec eax
or eax, 0xfffffffe
inc eax
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0
jne 0x408e1f
mov dword [ebp - 0x2e8], 0x40fb20
jmp 0x408e29
mov dword [ebp - 0x2e8], 0x40fb50
call dword [ebp - 0x2e8]
push 0x403dd0
push str.Program_finishes
push 0x622618
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x23], 1
mov byte [ebp - 0x22], 2
mov byte [ebp - 0x21], 3
mov byte [ebp - 0x20], 4
mov byte [ebp - 0x1f], 5
mov byte [ebp - 0x1e], 6
mov byte [ebp - 0x1d], 7
mov byte [ebp - 0x1c], 8
mov byte [ebp - 0x1b], 9
mov byte [ebp - 0x1a], 0xa
mov byte [ebp - 0x19], 0xb
mov byte [ebp - 0x18], 0xc
mov byte [ebp - 0x17], 0xd
mov byte [ebp - 0x16], 0xe
mov byte [ebp - 0x15], 0xf
mov byte [ebp - 0x34], 0x10
mov byte [ebp - 0x33], 0x11
mov byte [ebp - 0x32], 0x12
mov byte [ebp - 0x31], 0x13
mov byte [ebp - 0x30], 0x14
mov byte [ebp - 0x2f], 0x15
mov byte [ebp - 0x2e], 0x16
mov byte [ebp - 0x2d], 0x17
mov byte [ebp - 0x2c], 0x18
mov byte [ebp - 0x2b], 0x19
mov byte [ebp - 0x2a], 0x1a
mov byte [ebp - 0x29], 0x1b
mov byte [ebp - 0x28], 0x1c
mov byte [ebp - 0x27], 0x1d
mov byte [ebp - 0x26], 0x1e
mov byte [ebp - 0x25], 0x1f
call fcn.00411840
push 0x403dd0
push 0x5b5ed4
push 0x622618
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
call fcn.0040e360
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x348], str.C:UsersPublicDownloadsWindows
mov edx, dword [ebp - 0x348]
push edx
call fcn.00583d77
add esp, 4
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0
jne 0x408f48
push 0x403dd0
push 0x5b5f10
push 0x622618
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
jmp 0x408f66
push 0x403dd0
push 0x5b5f20
push 0x6226c8
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x2c8], eax
push 0x5b5f54
push 0x83
mov eax, dword [ebp - 0x2c8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x2f0], eax
push 0x5b5f5c
push 0xa1
mov ecx, dword [ebp - 0x2c8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x2f4], eax
call fcn.00411840
push 0x403dd0
push 0x5b5f64
push 0x622618
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
call fcn.00411840
push 0x403dd0
push 0x5b5f7c
push 0x622618
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
mov edx, dword [ebp - 0x2f0]
push edx
mov eax, dword [ebp - 0x2c8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 0x2f4]
push ecx
mov edx, dword [ebp - 0x2c8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x2d0], 0
jmp 0x409043
mov eax, dword [ebp - 0x2d0]
add eax, 1
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 0x64
jge 0x40906b
mov eax, dword [ebp - 0x2d0]
cdq
mov ecx, 0xa
idiv ecx
mov eax, dword [ebp - 0x2cc]
lea ecx, [edx + eax*2]
mov dword [ebp - 0x2cc], ecx
jmp 0x409034
push 0x403dd0
mov edx, dword [ebp - 0x2cc]
push edx
push str.Value_of_a_after_useless_calculation:
push 0x622618
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407d90
mov ecx, eax
call fcn.00407f60
push 0x403dd0
push str.Actual_useful_part_of_the_program
push 0x622618
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
call fcn.00411840
push 0x403dd0
push 0x5b5fe0
push 0x622618
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
mov eax, dword [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x308]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x32c], eax
call fcn.00411840
push 0x403dd0
push 0x5b5ff8
push 0x622618
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
mov dword [ebp - 4], 0
push 0x5b6010
lea ecx, [ebp - 0x35c]
call fcn.00406d20
push 0x603b98
lea edx, [ebp - 0x35c]
push edx
call fcn.005757b9
push 0x403dd0
mov eax, dword [ebp - 0x33c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x33c]
mov eax, dword [edx + 4]
call eax
push eax
push 0x5b6020
push 0x622618
call fcn.00402230
add esp, 8
push eax
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00407f60
mov dword [ebp - 0x2ec], 5
mov dword [ebp - 0x2d4], 0
jmp 0x4091a9
mov ecx, dword [ebp - 0x2d4]
add ecx, 1
mov dword [ebp - 0x2d4], ecx
cmp dword [ebp - 0x2d4], 5
jge 0x4091c6
mov edx, dword [ebp - 0x2ec]
add edx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2ec], edx
jmp 0x40919a
mov eax, 0x4091d5
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055c1db
mov esp, ebp
pop ebp
ret