Function at 0x410eb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4981b6
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.004217f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
lea ecx, [esi + 0xec]
mov dword [ebp - 4], 1
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
call dword [eax + 0x18]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
sar eax, 1
add eax, 0xffffffff
jne 0x410f5f
push 0x30
push 0x4b17e8
push str.Its_not_allowed_to_create_new_folder_here.
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00414e80
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x4111ee
mov eax, dword [ebp - 0x88]
mov byte [ebp - 0x84], 1
test eax, eax
je 0x410f96
mov eax, dword [eax + 4]
jmp 0x410f98
xor eax, eax
cmp dword [ebp - 0x98], 0
movzx ecx, word [ebp - 0x98]
jne 0x410fae
mov ecx, dword [ebp - 0x9c]
lea edx, [ebp - 0xa0]
push edx
push 0x42ec20
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x411203
mov dword [ebp - 0x3c], vtable.StringStorage.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
push 1
mov ecx, eax
call fcn.004217f0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
push dword [ebp - 0x60]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
je 0x411045
cmp word [edx + ecx*2 - 4], 0x5c
je 0x41108e
push 0x4b174c
lea ecx, [ebp - 0x50]
call fcn.0043a160
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
sub ecx, eax
mov edx, dword [ebp - 0x4c]
sub eax, 2
push dword [ebp - 0x40]
sar ecx, 1
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x48]
sub eax, edx
sar eax, 1
dec eax
lea eax, [edx + eax*2]
push eax
push edx
push ecx
lea ecx, [ebp - 0x18]
call fcn.00421b10
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.0043a210
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4110d6
push eax
lea ecx, [ebp - 0x50]
call fcn.0043a160
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
sub ecx, eax
mov edx, dword [ebp - 0x4c]
sub eax, 2
push dword [ebp - 0x40]
sar ecx, 1
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x48]
sub eax, edx
sar eax, 1
dec eax
lea eax, [edx + eax*2]
push eax
push edx
push ecx
lea ecx, [ebp - 0x18]
call fcn.00421b10
lea ecx, [ebp - 0x50]
call fcn.0043a210
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
push 1
mov ecx, eax
call fcn.004217f0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x18]
push str.Creating_local_folder__s
push eax
call fcn.0043a670
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push dword [ebp - 0x28]
push 0
push 0x14a
push dword [esi + 0xe4]
call edi
push 0
push 0
push 0x14e
push dword [esi + 0xe4]
call edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0xb0]
call fcn.00425f10
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
sub eax, 1
je 0x411195
push 0
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4111ca
mov ecx, dword [ebp - 0x18]
push ecx
lea eax, [ebp - 0x2c]
push str.Error:_failed_to_create_local_folder__s
push eax
call fcn.0043a670
add esp, 0xc
push dword [ebp - 0x28]
push 0
push 0x14a
push dword [esi + 0xe4]
call edi
push 0
push 0
push 0x14e
push dword [esi + 0xe4]
call edi
mov ecx, esi
call fcn.00412d30
lea ecx, [ebp - 0xb0]
call fcn.0043a210
lea ecx, [ebp - 0x2c]
call fcn.0043a210
lea ecx, [ebp - 0x3c]
call fcn.0043a210
jmp 0x411203
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x90]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xa0], vtable.NewFolderDialog.0
call fcn.0043a210
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], vtable.Control.0
mov dword [ebp - 0x7c], vtable.Control.0
mov dword [ebp - 0xa0], vtable.BaseDialog.0
test eax, eax
je 0x41123b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x41124e
push eax
call fcn.0047d75a
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x94], vtable.Control.0
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x411292
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x411288
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4112a3
push ecx
push edx
call fcn.00471b16
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0047da31
int3