Function at 0x4034d2
Capabilities:
Create directory
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0x74
mov eax, 0x4a0d5b
call fcn.00437ea9
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x14], 7
call fcn.0040157c
push 0x4a9fe4
push 0x94
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x40352b
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401d9e
xor al, al
call fcn.00437f2c
ret 8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push ebx
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x58], eax
cmp eax, ebx
je 0x403516
push str.LiveUpdate360skin
mov ecx, esi
call fcn.0040296f
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0040310f
pop ecx
pop ecx
test al, al
je 0x403516
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40356d
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x50]
push eax
call fcn.0040296f
push dword [esi]
lea ecx, [ebp - 0x2c]
call fcn.00402e1b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40358c
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push eax
call esi
push 0x4a9c98
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004030a9
add esp, 0xc
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
jae 0x4035bb
lea eax, [ebp - 0x44]
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40377d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x4a9da0
call fcn.00402df9
lea eax, [ebp - 0x2c]
push eax
call fcn.00402f80
mov eax, dword [ebp - 0x28]
add esp, 0x20
cmp dword [ebp - 0x14], 8
jae 0x403602
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x50]
push eax
call fcn.0040296f
call fcn.00437f5c
mov edi, dword [ebp - 0x54]
push eax
push str.LiveUpdate360skin_d
push edi
call fcn.00402b23
add esp, 0xc
push dword [edi]
lea ecx, [ebp - 0x2c]
call fcn.00402e1b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x403638
lea eax, [ebp - 0x28]
push ebx
push eax
call esi
push 0x4a9c98
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004030a9
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004028b7
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.00401d9e
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x40367c
lea eax, [ebp - 0x44]
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40377d
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0040310f
pop ecx
pop ecx
test al, al
jne 0x4036b9
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401d9e
jmp 0x403516
push str.modules_
lea ecx, [ebp - 0x2c]
call fcn.00402e1b
mov eax, dword [ebp - 0x28]
push 8
pop edi
cmp dword [ebp - 0x14], edi
jae 0x4036d4
lea eax, [ebp - 0x28]
push ebx
push eax
call esi
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x4036e3
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x50]
push eax
call fcn.0040296f
mov eax, dword [ebp - 0x54]
push dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.00402e1b
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x403704
lea eax, [ebp - 0x28]
push ebx
push eax
call esi
push 0x4a9c98
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004030a9
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004028b7
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00401d9e
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jae 0x403743
lea eax, [ebp - 0x44]
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40377d
mov byte [ebp - 0x49], bl
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401d9e
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401d9e
mov al, byte [ebp - 0x49]
jmp 0x403523
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x49], 1
jmp 0x40375f