Function at 0x401f30
Capabilities:
Check if file exists
Create directory
Get file attributes
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418913
mov eax, dword fs:[0]
push eax
mov eax, 0x22cc
call fcn.00418800
mov eax, dword [0x424320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22a0], edx
mov esi, ecx
push 0xb
xor eax, eax
mov dword [ebp - 0x2214], 7
push str.START_unzip
lea ecx, [ebp - 0x2228]
mov dword [ebp - 0x2218], 0
mov word [ebp - 0x2228], ax
call fcn.00404f00
push 0x41e1fc
lea edx, [ebp - 0x2228]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2248]
call fcn.004062e0
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c0]
call fcn.00406380
add esp, 8
xor dl, dl
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004030c0
cmp dword [ebp - 0x22ac], 8
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x401ff2
push dword [ebp - 0x22c0]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x22ac], 7
cmp dword [ebp - 0x2234], 8
mov dword [ebp - 0x22b0], 0
mov word [ebp - 0x22c0], ax
jb 0x402023
push dword [ebp - 0x2248]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2214], 8
mov dword [ebp - 0x2234], 7
mov dword [ebp - 0x2238], 0
mov word [ebp - 0x2248], ax
jb 0x40205b
push dword [ebp - 0x2228]
call ebx
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x402063
mov esi, dword [esi]
push esi
call fcn.00411520
mov ebx, dword [ebp - 0x22a0]
add esp, 4
mov edi, eax
cmp dword [ebx + 0x14], 8
jb 0x40207e
mov eax, dword [ebx]
jmp 0x402080
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402090
test al, 0x10
jne 0x4020b5
cmp dword [ebx + 0x14], 8
jb 0x40209a
mov eax, dword [ebx]
jmp 0x40209c
mov eax, ebx
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
neg eax
sbb eax, eax
inc eax
jne 0x4020b5
xor al, al
jmp 0x402355
test edi, edi
je 0x402353
lea eax, [ebp - 0x2230]
push eax
push edi
call fcn.00411650
add esp, 8
test eax, eax
jne 0x40234a
xor ebx, ebx
cmp dword [ebp - 0x2230], ebx
jbe 0x40234a
push 0
push 0
push 0
push 0
push 0x200
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x2298]
push eax
push edi
call fcn.00411c00
add esp, 0x20
test eax, eax
jne 0x402324
lea esi, [ebp - 0x210]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x402118
lea eax, [ebp - 0x210]
sub esi, ecx
push eax
lea ecx, [ebp - 0x22a4]
call fcn.004042c0
lea edx, [ebp - 0x22a4]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x22a8]
call fcn.00403300
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2248]
push dword [eax]
call fcn.004041c0
mov byte [ebp - 4], 6
or ecx, 0xffffffff
mov edx, dword [ebp - 0x22a8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402180
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
or ecx, 0xffffffff
mov edx, dword [ebp - 0x22a4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4021a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22a0]
lea eax, [ebp - 0x2248]
push eax
lea ecx, [ebp - 0x2228]
call fcn.00409e20
add esp, 4
mov byte [ebp - 4], 8
cmp byte [ebp + esi - 0x211], 0x2f
jne 0x4021dd
lea ecx, [ebp - 0x2228]
call fcn.00409840
jmp 0x4022d2
push edi
call fcn.00411cf0
add esp, 4
test eax, eax
jne 0x4022d2
cmp dword [ebp - 0x2214], 8
mov dword [ebp - 0x229c], eax
lea eax, [ebp - 0x2228]
cmovae eax, dword [ebp - 0x2228]
push 0x41e21c
push eax
lea eax, [ebp - 0x229c]
push eax
call dword [sym.imp.MSVCR120.dll__wfopen_s]
add esp, 0xc
cmp dword [ebp - 0x229c], 0
je 0x4022c9
jmp 0x402230
push 0x2000
lea eax, [ebp - 0x2210]
push eax
push edi
call fcn.00412070
mov esi, eax
add esp, 0xc
test esi, esi
jle 0x402266
push dword [ebp - 0x229c]
lea eax, [ebp - 0x2210]
push 1
push esi
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
jmp 0x402268
js 0x40226c
test esi, esi
jg 0x402230
push dword [ebp - 0x229c]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x22d8]
push str.file_unzipped_is:
call fcn.004041c0
lea ecx, [ebp - 0x2228]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x22c0]
call fcn.00406380
add esp, 4
xor dl, dl
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x22c0]
call fcn.00404290
lea ecx, [ebp - 0x22d8]
call fcn.00404290
push edi
call fcn.00411fd0
add esp, 4
cmp dword [ebp - 0x2214], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4022ec
push dword [ebp - 0x2228]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2234], 8
mov dword [ebp - 0x2214], 7
mov dword [ebp - 0x2218], 0
mov word [ebp - 0x2228], ax
jb 0x402324
push dword [ebp - 0x2248]
call esi
add esp, 4
mov eax, dword [ebp - 0x2230]
inc ebx
cmp ebx, eax
jae 0x40234a
push edi
call fcn.00411790
add esp, 4
test eax, eax
jne 0x40234a
mov eax, dword [ebp - 0x2230]
cmp ebx, eax
jb 0x4020e3
push edi
call fcn.00411610
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004176f4
mov esp, ebp
pop ebp
ret