Function at 0x40e0e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4927d0
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x4b6798]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x2cc]
push ebx
push eax
mov dword [ebp - 0x2e0], ecx
mov dword [ebp - 0x2dc], esi
mov dword [ebp - 0x2e4], edi
mov dword [ebp - 0x2d0], ebx
call fcn.0047cc30
add esp, 0xc
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
lea edx, [eax + 2]
jmp 0x40e160
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e160
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x80]
call fcn.00409bc0
push ebx
push edi
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 4
push str..
mov eax, esi
call fcn.004046f0
cmp dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0x80]
jae 0x40e19f
mov eax, esi
lea edx, [ebp - 0x2d0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2d4], eax
cmp eax, 0xffffffff
je 0x40e4b7
xor eax, eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e1d5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a4]
lea esi, [ebp - 0x2c]
call fcn.00409bc0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
mov esi, eax
cmp eax, 1
jb 0x40e206
mov esi, 1
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0x2c]
jae 0x40e212
lea edx, [ebp - 0x2c]
mov ecx, 0x49bcc4
cmp esi, ebx
jbe 0x40e23d
jmp 0x40e220
mov di, word [edx]
cmp di, word [ecx]
jne 0x40e233
add edx, 2
add ecx, 2
dec esi
jne 0x40e220
jmp 0x40e23d
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
cmp ecx, ebx
jne 0x40e251
cmp eax, 1
jae 0x40e247
or ecx, 0xffffffff
jmp 0x40e24f
xor ecx, ecx
cmp eax, 1
setne cl
cmp ecx, ebx
sete cl
cmp cl, bl
jne 0x40e47f
push 0x49c208
mov edi, 2
lea ecx, [ebp - 0x2c]
call fcn.004041a0
test eax, eax
je 0x40e47f
mov esi, dword [ebp - 0x2dc]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e281
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x2c]
call fcn.00409bc0
push 1
push 0x49c478
mov eax, esi
call fcn.004046f0
lea eax, [ebp - 0x2a4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e2b2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x2c]
call fcn.004046f0
mov esi, dword [ebp - 0x2e4]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e2f0
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x48]
call fcn.00409bc0
push 1
push 0x49c478
mov eax, esi
mov byte [ebp - 4], 2
call fcn.004046f0
lea eax, [ebp - 0x2a4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e325
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x48]
call fcn.004046f0
test byte [ebp - 0x2d0], 0x10
je 0x40e37a
mov ecx, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x40e35d
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x40e368
lea eax, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x2e0]
push eax
call fcn.0040e0e0
jmp 0x40e450
mov ecx, dword [ebp - 0x38]
push 0xffffffffffffffff
add ecx, 0xfffffffc
lea esi, [ebp - 0x64]
lea edx, [ebp - 0x48]
call fcn.00402e20
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x64]
mov esi, edx
cmp eax, 8
jae 0x40e3ce
lea esi, [ebp - 0x64]
mov ecx, esi
mov edi, dword [ebp - 0x54]
lea ecx, [ecx + edi*2]
mov edi, 8
cmp eax, edi
mov eax, edx
jae 0x40e3b7
lea eax, [ebp - 0x64]
cmp eax, ecx
je 0x40e3d2
push esi
push ecx
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0046bf10
add esp, 0xc
jmp 0x40e3d8
mov ecx, edx
jmp 0x40e3a3
mov dword [ebp - 0x2d8], esi
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x40e3e3
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x40e3ee
lea eax, [ebp - 0x2c]
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
mov eax, dword [ebp - 0x54]
push str..dll
mov edi, 4
lea ecx, [ebp - 0x64]
call fcn.004041a0
test eax, eax
je 0x40e427
mov eax, dword [ebp - 0x54]
push str..ocx
lea ecx, [ebp - 0x64]
call fcn.004041a0
test eax, eax
jne 0x40e439
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x40e433
lea eax, [ebp - 0x48]
push eax
call fcn.0040e050
cmp dword [ebp - 0x50], 8
jb 0x40e44b
mov edx, dword [ebp - 0x64]
push edx
call fcn.004736d0
add esp, 4
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x40e461
mov eax, dword [ebp - 0x48]
push eax
call fcn.004736d0
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x40e494
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x40e48c
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x40e494
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004736d0
add esp, 4
mov esi, dword [ebp - 0x2d4]
lea ecx, [ebp - 0x2d0]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40e1bc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x6c], 8
jb 0x40e4c9
mov edx, dword [ebp - 0x80]
push edx
call fcn.004736d0
add esp, 4
xor eax, eax
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.004736db
mov esp, ebp
pop ebp
ret 8