Function at 0x410380
Capabilities:
Create directory
Extract resource via kernel32 functions
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53069b
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x58c804]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x5444d4
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
push 0x544268
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.0040e490
add esp, 0xc
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], ecx
mov byte [ebp - 4], 1
push 0x544258
mov edx, dword [ebp - 0x2dc]
push edx
lea eax, [ebp - 0x264]
push eax
call fcn.0040e490
add esp, 0xc
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x280], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x280]
mov eax, dword [edx]
mov dword [ebp - 0x284], eax
push 0
mov ecx, dword [ebp - 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.00402030
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.00402030
push 0x544268
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x268]
push eax
call fcn.0040e490
add esp, 0xc
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], ecx
mov byte [ebp - 4], 5
push 0x544258
mov edx, dword [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.0040e490
add esp, 0xc
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
mov dword [ebp - 0x290], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x290]
mov eax, dword [edx]
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov byte [ebp - 4], 7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x26c]
call fcn.00402030
mov byte [ebp - 4], 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00402030
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x248], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
lea edx, [ebp - 0x24c]
push edx
call fcn.00408660
mov dword [ebp - 0x244], 0xffffffff
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.00406fd0
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x244], 0
jmp 0x410586
mov eax, dword [ebp - 0x244]
add eax, 1
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
cmp ecx, dword [ebp - 0x250]
jae 0x4107a2
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call fcn.00406fd0
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00401c80
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x2b4], edx
push 0x5c
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.005162ef
add esp, 8
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
jne 0x4105f9
mov dword [ebp - 0x2f0], 0xffffffff
jmp 0x41060b
mov ecx, dword [ebp - 0x2b0]
sub ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x2f0], ecx
mov edx, dword [ebp - 0x2f0]
mov dword [ebp - 0x254], edx
cmp dword [ebp - 0x254], 0xffffffff
je 0x410677
mov eax, dword [ebp - 0x254]
add eax, 1
push eax
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.004130b0
mov dword [ebp - 0x2f4], eax
mov edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2b8], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00413510
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x270]
call fcn.00402030
push 0x544268
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x274]
push edx
call fcn.0040e490
add esp, 0xc
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 0xc
push 0x544258
mov ecx, dword [ebp - 0x2fc]
push ecx
lea edx, [ebp - 0x278]
push edx
call fcn.0040e490
add esp, 0xc
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x304], eax
mov byte [ebp - 4], 0xd
push 0x544268
mov ecx, dword [ebp - 0x304]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.0040e490
add esp, 0xc
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x25c]
push ecx
mov edx, dword [ebp - 0x30c]
push edx
lea eax, [ebp - 0x258]
push eax
call fcn.00413220
add esp, 0xc
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x27c]
call fcn.00402030
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x278]
call fcn.00402030
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x274]
call fcn.00402030
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call fcn.00406e00
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x258]
call fcn.00402030
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.00402030
jmp 0x410577
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.00406f30
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402030
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0051555a
mov esp, ebp
pop ebp
ret