Function at 0x414ea0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4416ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2fc
mov edx, dword [0x461784]
xor eax, eax
test edx, edx
push ebp
mov ebp, dword [esp + 0x314]
push esi
push edi
setne al
mov esi, ecx
mov edi, eax
mov eax, dword [0x453488]
cmp ebp, 0x8223
mov dword [esp + 0x20], esi
ja 0x41574f
cmp ebp, 0x8220
jae 0x415717
cmp ebp, 0x8104
ja 0x41507f
cmp ebp, 0x8103
jae 0x415056
lea eax, [ebp - 0x80d0]
cmp eax, 0x32
ja case.0x41582c.36871
xor ecx, ecx
mov cl, byte [eax + 0x4158b0]
jmp dword [ecx*4 + 0x415898]
test edi, edi
je 0x414f7e
mov eax, dword [esi + 0x40184]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
jne 0x414f7e
mov ecx, dword [eax + 0x80]
test ecx, ecx
jne 0x414f7e
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 0xc4]
test eax, eax
jne 0x414f7e
mov eax, dword [0x4617b8]
test eax, eax
je 0x414f7e
mov eax, dword [0x4617c4]
test eax, eax
jne 0x414f7e
xor eax, eax
push eax
mov eax, dword [esp + 0x31c]
push ebp
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x41582c.36871
mov eax, 1
push eax
mov eax, dword [esp + 0x31c]
push ebp
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x41582c.36871
test edi, edi
je 0x414fe9
mov eax, dword [esi + 0x40184]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
jne 0x414fe9
mov ecx, dword [eax + 0x80]
test ecx, ecx
jne 0x414fe9
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx + 0xc4]
test eax, eax
jne 0x414fe9
mov eax, dword [0x4617b8]
test eax, eax
je 0x414fe9
mov eax, dword [0x4617c4]
test eax, eax
je 0x414fe9
mov edx, dword [esp + 0x318]
xor eax, eax
push eax
push ebp
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x41582c.36871
mov edx, dword [esp + 0x318]
mov eax, 1
push eax
push ebp
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x41582c.36871
test edi, edi
je 0x414fe9
mov eax, dword [0x4617b8]
test eax, eax
je 0x415019
mov eax, dword [0x4617c4]
test eax, eax
jne 0x414fe9
mov edx, dword [esp + 0x318]
xor eax, eax
push eax
push ebp
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x41582c.36871
mov eax, dword [esi + 0x40184]
test eax, eax
je case.0x41582c.36870
mov ecx, dword [eax + 0x7c]
test ecx, ecx
jne 0x415075
mov ecx, dword [eax + 0x80]
test ecx, ecx
jne 0x415075
xor edi, edi
jmp case.0x41582c.36870
mov eax, dword [esi + 0x40184]
test eax, eax
je case.0x41582c.36870
test edi, edi
je 0x41504f
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 0xc4]
test eax, eax
jne 0x41504f
mov edi, 1
jmp case.0x41582c.36870
lea eax, [ebp - 0x8110]
cmp eax, 0xf8
ja case.0x41582c.36871
xor edx, edx
mov dl, byte [eax + 0x4158f8]
jmp dword [edx*4 + 0x4158e4]
mov eax, dword [0x44d3c8]
mov ecx, dword [0x4462f4]
mov dword [esp + 0x28], eax
xor eax, eax
cmp ecx, ebp
je 0x4150c4
mov ecx, 0x4462f4
mov edx, dword [ecx + 0xc]
add ecx, 0xc
inc eax
cmp edx, ebp
jne 0x4150b9
lea eax, [eax + eax*2]
push ebx
shl eax, 2
push 0
lea ecx, [esp + 0x210]
mov edx, dword [eax + 0x4462f4]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
push 0x100
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_GetMenuStringA]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x20c]
push ecx
push edx
call fcn.00436426
mov esi, eax
add esp, 8
test esi, esi
je 0x41562e
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00404ef0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov ebx, 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00404f60
test al, al
je 0x415161
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00404f40
mov eax, dword [0x461784]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x314], ebp
je 0x41549a
mov esi, dword [esp + 0x24]
cmp dword [esi + 0x40184], ebp
je 0x41549a
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x10c]
mov ecx, dword [eax + 0x4462f4]
sub ecx, 0x8110
push ecx
push str.st_1X
push edx
call edi
mov al, byte [esp + 0x1f]
add esp, 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], al
push ebp
call fcn.00404ef0
mov eax, dword [0x4534e4]
mov byte [esp + 0x314], bl
cmp eax, ebp
je 0x415235
push ebp
push 0x453700
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [esi + 0x40184]
lea ecx, [esp + 0x10c]
push ecx
lea ecx, [esp + 0xac]
mov eax, dword [edx + 0x14]
add eax, 0x1d0
push eax
push 0x453700
push ecx
call fcn.00417a10
add esp, 0x10
mov edx, dword [0x442360]
lea ecx, [esp + 0x40]
push edx
push ebp
push eax
mov byte [esp + 0x320], 2
call fcn.00404cf0
mov byte [esp + 0x314], bl
push ebx
lea ecx, [esp + 0xac]
jmp 0x41528c
mov eax, dword [esi + 0x40184]
lea ecx, [esp + 0x10c]
push ecx
mov eax, dword [eax + 0x14]
lea edx, [eax + 0x1d0]
add eax, 0xcc
push edx
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.00417a10
add esp, 0x10
mov ecx, dword [0x442360]
mov byte [esp + 0x314], 3
push ecx
push ebp
push eax
lea ecx, [esp + 0x4c]
call fcn.00404cf0
mov byte [esp + 0x314], bl
push ebx
lea ecx, [esp + 0xbc]
call fcn.00404ef0
mov eax, dword [esp + 0x44]
cmp eax, ebp
jne 0x41529e
mov eax, 0x442380
push ebp
push 0x80
push 3
push ebp
push ebp
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41540b
lea edx, [esp + 0xd8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
lea eax, [esp + 0xa0]
lea ecx, [esp + 0xec]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea edx, [esp + 0x30]
lea eax, [esp + 0xa0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x3a]
mov eax, dword [esp + 0x38]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x3a]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x3a]
push eax
mov eax, dword [esp + 0x3c]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x124]
push str._04d__02d__02d__02d:_02d:_02d
push ecx
call edi
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x14]
push 0x44d3a4
lea eax, [esp + 0xcc]
push edx
push eax
call fcn.00408650
add esp, 0xc
mov ecx, dword [0x442360]
mov byte [esp + 0x314], 4
push ecx
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.00404cf0
push ebx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x318], bl
call fcn.00404ef0
lea edx, [esp + 0x10c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00408650
add esp, 0xc
mov edx, dword [0x442360]
lea ecx, [esp + 0x14]
push edx
push ebp
push eax
mov byte [esp + 0x320], 5
call fcn.00404cf0
mov eax, dword [esp + 0x74]
cmp eax, ebp
je 0x4153fd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4153f4
cmp al, 0xff
je 0x4153f4
dec al
mov byte [ecx], al
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
jmp 0x41546d
push ecx
call fcn.00435930
add esp, 4
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
jmp 0x41546d
lea eax, [esp + 0x14]
push str._not_exist
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.00408650
add esp, 0xc
mov edx, dword [0x442360]
lea ecx, [esp + 0x14]
push edx
push ebp
push eax
mov byte [esp + 0x320], 6
call fcn.00404cf0
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x415461
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x415458
cmp al, 0xff
je 0x415458
dec al
mov byte [ecx], al
jmp 0x415461
push ecx
call fcn.00435930
add esp, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x44]
mov byte [esp + 0x314], 0
cmp eax, ebp
je 0x41549a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x415491
cmp al, 0xff
je 0x415491
dec al
mov byte [ecx], al
jmp 0x41549a
push ecx
call fcn.00435930
add esp, 4
mov edi, dword [esp + 0x28]
xor esi, esi
mov eax, dword [edi + 0x4462fc]
mov si, word [eax*2 + 0x453dc0]
cmp esi, ebp
je 0x4155e5
lea ecx, [esp + 0x14]
push 0x44d394
lea edx, [esp + 0x64]
push ecx
push edx
call fcn.00408650
add esp, 0xc
mov ecx, dword [0x442360]
mov byte [esp + 0x314], 7
push ecx
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.00404cf0
mov eax, dword [esp + 0x64]
mov byte [esp + 0x314], 0
cmp eax, ebp
je 0x415514
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41550b
cmp al, 0xff
je 0x41550b
dec al
mov byte [ecx], al
jmp 0x415514
push ecx
call fcn.00435930
add esp, 4
lea edx, [esp + 0x90]
push esi
push edx
mov ecx, 0x453468
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
call fcn.00407e80
push eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x84]
push eax
push ecx
mov byte [esp + 0x320], 8
call fcn.00415da0
add esp, 0xc
mov edx, dword [0x442360]
lea ecx, [esp + 0x14]
push edx
push ebp
push eax
mov byte [esp + 0x320], 9
call fcn.00404cf0
mov eax, dword [esp + 0x84]
cmp eax, ebp
je 0x415593
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41558a
cmp al, 0xff
je 0x41558a
dec al
mov byte [ecx], al
jmp 0x415593
push ecx
call fcn.00435930
add esp, 4
mov eax, dword [esp + 0x94]
mov dword [esp + 0x84], ebp
cmp eax, ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
je 0x4155d0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4155c7
cmp al, 0xff
je 0x4155c7
dec al
mov byte [ecx], al
jmp 0x4155d0
push ecx
call fcn.00435930
add esp, 4
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebp
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
jne 0x4155f2
mov ecx, 0x442380
mov eax, dword [edi + 0x4462f4]
push ecx
push eax
push ebp
push eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_ModifyMenuA]
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
je 0x41562e
mov al, byte [ecx - 1]
test al, al
je 0x415624
cmp al, 0xff
je 0x415624
dec al
mov byte [ecx - 1], al
jmp 0x41562e
dec ecx
push ecx
call fcn.00435930
add esp, 4
mov eax, dword [esp + 0x320]
mov esi, dword [esp + 0x24]
xor ecx, ecx
mov ebx, dword [esi + 0x40188]
lea edx, [eax - 0x8110]
cmp ebx, edx
mov edx, dword [esp + 0x31c]
setne cl
dec ecx
and ecx, 8
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_CheckMenuItem]
pop ebx
jmp case.0x41582c.36871
mov ecx, dword [esi + 0x40184]
test ecx, ecx
je case.0x41582c.36870
call fcn.0042c670
test edi, edi
je 0x41504f
mov ecx, dword [esi + 0x40184]
mov ecx, dword [ecx + 0x14]
cmp dword [ecx + 0xbc], 0x14
jne 0x41504f
mov edx, dword [ecx + 0xc4]
test edx, edx
jne 0x41504f
test eax, eax
je 0x41504f
lea edx, [ebp - 0x8120]
cmp edx, eax
ja 0x41504f
mov edi, 1
jmp case.0x41582c.36870
mov eax, dword [esi + 0x40184]
test eax, eax
je 0x4156e4
mov edx, dword [eax + 0x18]
lea eax, [ebp - 0x8130]
xor ecx, ecx
cmp dword [edx + 0x2c], eax
sete cl
mov esi, ecx
jmp 0x4156f1
xor edx, edx
cmp ebp, 0x8130
sete dl
mov esi, edx
xor eax, eax
test edi, edi
mov edi, dword [esp + 0x318]
sete al
push eax
push ebp
push edi
call dword [sym.imp.USER32.dll_EnableMenuItem]
neg esi
sbb esi, esi
and esi, 8
push esi
push ebp
push edi
jmp 0x415875
test eax, eax
je 0x41571f
push 1
jmp 0x415721
push 0
mov esi, dword [esp + 0x31c]
push ebp
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edx, dword [0x45348c]
lea eax, [ebp - 0x8220]
xor ecx, ecx
cmp edx, eax
setne cl
dec ecx
and ecx, 8
push ecx
push ebp
push esi
jmp 0x415875
cmp ebp, 0x8911
ja 0x415819
cmp ebp, 0x8910
jae 0x415800
cmp ebp, 0x8804
ja 0x4157cf
cmp ebp, 0x8803
jae case.0x415098.33043
cmp ebp, 0x8800
jb case.0x41582c.36871
cmp ebp, 0x8801
jbe case.0x415098.33043
cmp ebp, 0x8802
jne case.0x41582c.36871
mov eax, dword [esp + 0x318]
xor edx, edx
test edi, edi
sete dl
push edx
push ebp
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x41582c.36871
mov edx, dword [esp + 0x318]
xor ecx, ecx
test edi, edi
sete cl
push ecx
push ebp
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x41582c.36871
cmp ebp, 0x8900
jb case.0x41582c.36871
cmp ebp, 0x8902
ja case.0x41582c.36871
mov ecx, dword [esp + 0x318]
xor eax, eax
test edi, edi
sete al
push eax
push ebp
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x41582c.36871
mov eax, dword [esp + 0x318]
xor edx, edx
test edi, edi
sete dl
push edx
push ebp
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x41582c.36871
lea ecx, [ebp - 0x9003]
cmp ecx, 9
ja case.0x41582c.36871
xor edx, edx
mov dl, byte [ecx + 0x415a08]
jmp dword [edx*4 + 0x4159f4]
mov edx, dword [esp + 0x318]
neg eax
sbb eax, eax
and eax, 8
push eax
push ebp
push edx
jmp 0x415875
mov eax, dword [0x453c48]
mov ecx, dword [esp + 0x318]
neg eax
sbb eax, eax
and eax, 8
push eax
push ebp
push ecx
jmp 0x415875
mov edx, dword [0x453c4c]
mov eax, dword [esp + 0x318]
neg edx
sbb edx, edx
and edx, 8
push edx
push ebp
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov ecx, dword [esp + 0x308]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x308
ret 8