Function at 0x4027d0
Capabilities:
Check if file exists
Create directory
Extract resource via kernel32 functions
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4144c9
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x41c090]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push esi
push edi
mov eax, dword [0x41c090]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov byte [esp + 0x17], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0x65
lea ebx, [ebx]
movzx ecx, word [esp + 0x18]
mov edx, dword [0x41ddbc]
push 0x4171c0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x402b0a
mov eax, dword [0x41ddbc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x402b0e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x402b0e
mov ecx, dword [0x41ddbc]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x298], ebx
xor edx, edx
xor ebx, ebx
mov esi, eax
xor edi, edi
mov dword [esp + 0x64], vtable.CUnzipper.0
mov dword [esp + 0x88], 0x4062f0
mov word [esp + 0x8c], dx
call fcn.00407b10
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x402910
mov dword [esp + 0x20], eax
cmp dword [eax + 0x9c], ebx
je 0x4028f6
mov ebx, eax
call fcn.00407b10
mov eax, dword [esp + 0x20]
xor ebx, ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x14]
push ecx
push edx
call eax
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040a760
add esp, 0xc
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x2c8], ebx
mov dword [esp + 0x64], vtable.CBufferUnzipper.0
mov dword [esp + 0x29c], ebx
mov dword [esp + 0x2a4], ebx
mov dword [esp + 0x2a8], ebx
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x2b0], ebx
mov ecx, dword [esp + 0x24]
push edi
push esi
lea esi, [esp + 0x6c]
mov byte [esp + 0x2d0], 1
call fcn.00401e40
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2cc], 2
call fcn.00405090
add esp, 4
push ebx
lea eax, [esp + 0x4c]
mov byte [esp + 0x2cc], 3
xor edx, edx
push eax
or eax, 0xffffffff
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], dx
call fcn.00401a70
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x4029bd
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
mov eax, dword [esp + 0x2c]
jne 0x4029e0
cmp dword [esp + 0x40], esi
jae 0x4029d7
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x4029f3
cmp dword [esp + 0x40], esi
jae 0x4029ea
lea eax, [esp + 0x2c]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [esp + 0x40], esi
jb 0x402a06
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0040a147
add esp, 4
mov dword [esp + 0x3c], ebx
mov ebx, dword [edi + 0x10]
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x48]
push eax
push ecx
xor edx, edx
push ebx
mov dword [esp + 0x4c], 7
mov word [esp + 0x38], dx
call fcn.00403320
mov ecx, dword [edi + 0x14]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jb 0x402b46
inc ecx
mov dword [edi + 0x14], ecx
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov ebx, dword [esp + 0x48]
cmp dword [esp + 0x5c], esi
jae 0x402a58
lea ebx, [esp + 0x48]
lea edi, [esp + 0x64]
call fcn.004063b0
test eax, eax
je 0x402a69
inc dword [esp + 0x1c]
cmp dword [esp + 0x5c], esi
jb 0x402a7c
mov eax, dword [esp + 0x48]
push eax
call fcn.0040a147
add esp, 4
mov dword [esp + 0x2c8], 0xffffffff
mov ebx, dword [esp + 0x6c]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], eax
mov word [esp + 0x48], cx
mov dword [esp + 0x29c], eax
mov dword [esp + 0x2a4], eax
mov dword [esp + 0x2a8], eax
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x2b0], eax
mov dword [esp + 0x64], vtable.CUnzipper.0
call fcn.00407b10
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x402afe
cmp dword [ebx + 0x9c], 0
mov esi, ebx
je 0x402ae8
call fcn.00407b10
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
push edx
push eax
call ecx
push esi
call fcn.0040a760
add esp, 0xc
mov dword [esp + 0x6c], 0
xor ebx, ebx
jmp 0x402b0e
mov byte [esp + 0x17], bl
inc dword [esp + 0x18]
cmp byte [esp + 0x17], bl
jne 0x402830
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.0040a138
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.0040a072
int3