Function at 0x401090
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x8dc]
sub esp, 0x95c
mov eax, dword [0x4131b4]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp + 0x8d8], eax
push 0x100
lea eax, [ebp + 0x7d8]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x8e4]
call fcn.0040212a
mov edi, eax
add esp, 0x20
cmp edi, ebx
je 0x4010e7
push edi
push str.error__d_with_zipfile_in_unzGetCurrentFileInfo_n
call fcn.0040548e
pop ecx
jmp 0x4012e5
push 0x2000
call fcn.0040521d
cmp eax, ebx
pop ecx
mov dword [ebp - 0x30], eax
jne 0x40110c
push str.Error_allocating_memory_n
call fcn.0040548e
pop ecx
push 0xffffffffffffff98
pop eax
jmp 0x4012e8
lea eax, [ebp + 0x7d8]
push eax
mov dword [ebp - 0x2c], eax
mov esi, eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401000
mov al, byte [ebp + 0x7d8]
pop ecx
pop ecx
jmp 0x40113c
cmp al, 0x2f
je 0x401133
cmp al, 0x5c
jne 0x401139
lea eax, [esi + 1]
mov dword [ebp - 0x2c], eax
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x40112b
mov esi, dword [ebp - 0x2c]
lea eax, [ebp + 0x3d8]
push esi
push eax
call fcn.00401000
cmp byte [esi], bl
mov eax, dword [ebp + 0x8e8]
pop ecx
pop ecx
jne 0x401174
cmp dword [eax], ebx
jne 0x4012dd
push ebx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4012dd
cmp dword [eax], ebx
lea eax, [ebp - 0x28]
je 0x401181
lea eax, [ebp + 0x3d8]
push eax
push dword [ebp + 0x8f0]
lea eax, [ebp + 0x5d8]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push dword [ebp + 0x8e4]
call fcn.004026e2
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x4012d1
mov edi, 0x40f1ec
lea eax, [ebp + 0x5d8]
push edi
push eax
call fcn.0040547b
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
jne 0x401265
mov eax, dword [ebp + 0x8e8]
cmp dword [eax], ebx
jne 0x401261
lea eax, [ebp + 0x7d8]
cmp dword [ebp - 0x2c], eax
je 0x401261
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + 0x3d8]
push eax
call esi
or ebx, 0xffffffff
sub ebx, eax
lea eax, [ebp + 0x5d8]
push eax
call esi
add ebx, eax
push ebx
lea eax, [ebp + 0x5d8]
push eax
lea eax, [ebp + 0x1d8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp + 0x5d8]
push eax
call esi
lea ecx, [ebp + 0x3d8]
push ecx
mov dword [ebp - 0x2c], eax
call esi
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
xor ebx, ebx
push ebx
lea eax, [ebp + 0x1d8]
push eax
mov word [ebp + ecx*2 + 0x1d6], bx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x5d8]
push edi
push eax
call fcn.0040547b
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
je 0x4012c2
push 0x2000
push dword [ebp - 0x30]
push dword [ebp + 0x8e4]
call fcn.0040238d
mov edi, eax
add esp, 0xc
cmp edi, ebx
jle 0x401298
push esi
push 1
push edi
push dword [ebp - 0x30]
call fcn.004053d3
add esp, 0x10
cmp eax, 1
je 0x401265
or edi, 0xffffffff
push esi
call fcn.0040527b
cmp edi, ebx
pop ecx
jne 0x4012d1
sub esp, 0x18
push 6
pop ecx
mov edi, esp
push dword [ebp - 0x70]
lea eax, [ebp + 0x5d8]
lea esi, [ebp - 0x48]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00401021
add esp, 0x20
push dword [ebp + 0x8e4]
call fcn.00402505
mov edi, eax
jmp 0x4012dc
push dword [ebp + 0x8e4]
call fcn.00402505
pop ecx
push dword [ebp - 0x30]
call fcn.00405105
pop ecx
mov eax, edi
mov ecx, dword [ebp + 0x8d8]
call fcn.00405525
pop edi
pop esi
pop ebx
add ebp, 0x8dc
leave
ret