Function at 0x4040e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558683
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x5ae9b0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3a8], ecx
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x338], esp
lea eax, [ebp + 8]
push eax
call fcn.0040a730
mov dword [ebp - 0x3ac], eax
call fcn.00408f60
add esp, 4
mov byte [ebp - 0x3ad], al
movzx ecx, byte [ebp - 0x3ad]
test ecx, ecx
jne 0x40416b
mov byte [ebp - 0x339], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x339]
jmp 0x4047fa
lea ecx, [ebp - 0x2a4]
call fcn.00414320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401310
mov byte [ebp - 4], 2
lea edx, [ebp - 0x334]
push edx
call fcn.00422970
mov byte [ebp - 4], 3
push 0
lea esi, [ebp - 0x64]
call fcn.0041f8f0
mov byte [ebp - 4], 4
push 0x5c
lea ecx, [ebp + 8]
call fcn.00405fd0
push eax
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp + 8]
call fcn.00406e30
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x3b4]
mov dword [ebp - 0x3b8], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x3b8]
push edx
lea ecx, [ebp - 0x40]
call fcn.0040a110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x340]
call fcn.004011f0
push 0x58a764
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x344]
push ecx
call fcn.00406b40
add esp, 0xc
mov dword [ebp - 0x3bc], eax
push 0
mov ecx, dword [ebp - 0x3bc]
call fcn.00408720
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x344]
call fcn.004011f0
push 0x58a76c
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x348]
push eax
call fcn.00406b40
add esp, 0xc
mov dword [ebp - 0x3c0], eax
mov ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x3c4], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x3c4]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.00414380
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x348]
call fcn.004011f0
lea ecx, [ebp - 0x50]
call fcn.00433659
mov byte [ebp - 4], 7
push str.cpplugin.json
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x350]
push edx
call fcn.00406b40
add esp, 0xc
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x3cc], eax
mov byte [ebp - 4], 8
push 0
push 0x8040
mov ecx, dword [ebp - 0x3cc]
call fcn.00408720
push eax
lea ecx, [ebp - 0x50]
call fcn.00433b1f
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x349], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x350]
call fcn.004011f0
movzx ecx, byte [ebp - 0x349]
test ecx, ecx
je 0x404361
mov byte [ebp - 0x351], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00433799
mov byte [ebp - 4], 3
lea eax, [ebp - 0x64]
call fcn.0041fc60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x334]
call fcn.00404820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.00414350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x351]
jmp 0x4047fa
lea ecx, [ebp - 0x50]
call fcn.00433544
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4043dd
lea ecx, [ebp - 0x50]
call fcn.004335f3
mov byte [ebp - 0x352], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00433799
mov byte [ebp - 4], 3
lea eax, [ebp - 0x64]
call fcn.0041fc60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x334]
call fcn.00404820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.00414350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x352]
jmp 0x4047fa
mov edx, dword [ebp - 0x18]
push edx
call fcn.0042a740
add esp, 4
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x50]
call fcn.0043334d
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
je 0x40449a
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x35c], ecx
mov edx, dword [ebp - 0x35c]
push edx
call fcn.0042a735
add esp, 4
lea ecx, [ebp - 0x50]
call fcn.004335f3
mov byte [ebp - 0x35d], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00433799
mov byte [ebp - 4], 3
lea eax, [ebp - 0x64]
call fcn.0041fc60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x334]
call fcn.00404820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.00414350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x35d]
jmp 0x4047fa
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
call fcn.00409e80
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x364], ecx
mov edx, dword [ebp - 0x364]
push edx
call fcn.0042a735
add esp, 4
lea ecx, [ebp - 0x50]
call fcn.004335f3
push 1
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x334]
call fcn.00422a10
mov ecx, 0x58a794
lea eax, [ebp - 0x64]
call fcn.00420800
mov ecx, eax
call fcn.00420e10
movzx ecx, al
test ecx, ecx
je 0x404568
mov byte [ebp - 0x365], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.00409630
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00433799
mov byte [ebp - 4], 3
lea eax, [ebp - 0x64]
call fcn.0041fc60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x334]
call fcn.00404820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.00414350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x365]
jmp 0x4047fa
lea ecx, [ebp - 0x3c]
call fcn.00401310
mov byte [ebp - 4], 0xa
push 0x585896
lea esi, [ebp - 0x37c]
call fcn.0041fa20
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x37c]
push edx
mov ecx, str.data
lea eax, [ebp - 0x64]
call fcn.00420800
mov ecx, eax
mov eax, str.path
lea esi, [ebp - 0x38c]
call fcn.00420c50
mov dword [ebp - 0x3d0], eax
mov edx, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d4], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x3d4]
call fcn.0041fdf0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00405e70
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x38c]
call fcn.0041fc60
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x37c]
call fcn.0041fc60
lea ecx, [ebp - 0x3c]
call fcn.00406d70
movzx eax, al
test eax, eax
je 0x404680
mov byte [ebp - 0x38d], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.004011f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.00409630
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00433799
mov byte [ebp - 4], 3
lea eax, [ebp - 0x64]
call fcn.0041fc60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x334]
call fcn.00404820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.00414350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x38d]
jmp 0x4047fa
push 0
push 0x5c
lea ecx, [ebp - 0x3c]
call fcn.00405db0
push eax
lea ecx, [ebp - 0x394]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00406e30
mov dword [ebp - 0x3d8], eax
mov edx, dword [ebp - 0x3d8]
mov dword [ebp - 0x3dc], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x3dc]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040a110
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x394]
call fcn.004011f0
push 0x5c
lea ecx, [ebp - 0x3c]
call fcn.00405fd0
add eax, 1
push eax
lea ecx, [ebp - 0x398]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00405d50
mov dword [ebp - 0x3e0], eax
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3e4], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x3e4]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0040a110
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x398]
call fcn.004011f0
push ecx
mov ecx, esp
mov dword [ebp - 0x39c], esp
push 0x58a7ac
lea edx, [ebp - 0x40]
push edx
push ecx
call fcn.00406b40
add esp, 0xc
mov dword [ebp - 0x3e8], eax
call fcn.00408f60
add esp, 4
mov byte [ebp - 0x3e9], al
movzx eax, byte [ebp - 0x3e9]
test eax, eax
je 0x404784
push ecx
mov ecx, esp
mov dword [ebp - 0x3a0], esp
push 0x58a7b4
lea edx, [ebp - 0x40]
push edx
push ecx
call fcn.00406b40
add esp, 0xc
mov dword [ebp - 0x3f0], eax
call fcn.0041d170
add esp, 4
mov byte [ebp - 0x3a1], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.004011f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.00409630
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00433799
mov byte [ebp - 4], 3
lea eax, [ebp - 0x64]
call fcn.0041fc60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x334]
call fcn.00404820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.00414350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x3a1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00528556
mov esp, ebp
pop ebp
ret 0xc