Function at 0x411760
Capabilities:
Create directory
Delete file
Get file attributes
Move file

Disassembly:
push 0xffffffffffffffff
push 0x440971
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
test byte [0x457660], 1
mov edi, ecx
jne 0x4117bf
or dword [0x457660], 1
call fcn.0040ae80
push 0x441be0
call fcn.0042c9f1
add esp, 4
call fcn.0041acf0
mov eax, dword [esp + 0x140]
xor ebx, ebx
cmp eax, ebx
jne 0x4117e1
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x4117e5
mov eax, dword [eax]
jmp 0x4117e7
xor eax, eax
mov ecx, dword [esp + 0x144]
cmp ecx, dword [eax + 0x14]
jne 0x4117f8
call fcn.0042bcc3
mov edx, dword [esp + 0x144]
mov dword [edx + 8], 4
mov eax, dword [esp + 0x140]
cmp eax, ebx
jne 0x411821
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x411825
mov ecx, dword [eax]
jmp 0x411827
xor ecx, ecx
mov edx, dword [esp + 0x144]
cmp edx, dword [ecx + 0x14]
jne 0x41183f
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
mov esi, dword [esp + 0x144]
add esi, 8
cmp eax, ebx
jne 0x41185d
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x411861
mov eax, dword [eax]
jmp 0x411863
xor eax, eax
mov ecx, dword [esp + 0x144]
cmp ecx, dword [eax + 0x14]
jne 0x411874
call fcn.0042bcc3
mov ecx, dword [esp + 0x144]
add esi, 0xc
push esi
add ecx, 0xc4
push 0x456600
call fcn.0040b1c0
mov ecx, dword [esp + 0x140]
cmp ecx, ebx
jne 0x4118aa
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
cmp ecx, ebx
je 0x4118ae
mov edx, dword [ecx]
jmp 0x4118b0
xor edx, edx
mov eax, dword [esp + 0x144]
cmp eax, dword [edx + 0x14]
jne 0x4118cf
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x140]
mov ebp, 8
cmp dword [eax + 0xdc], ebp
jb 0x4118e4
mov esi, dword [eax + 0xc8]
jmp 0x4118ea
lea esi, [eax + 0xc8]
cmp ecx, ebx
jne 0x411905
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x411909
mov ecx, dword [ecx]
jmp 0x41190b
xor ecx, ecx
cmp eax, dword [ecx + 0x14]
jne 0x41191c
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
movsx edx, byte [eax + 0xc]
push esi
push edx
call fcn.00409db0
mov ecx, dword [esp + 0x148]
add esp, 8
cmp ecx, ebx
jne 0x411945
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
cmp ecx, ebx
je 0x411949
mov edx, dword [ecx]
jmp 0x41194b
xor edx, edx
mov eax, dword [esp + 0x144]
cmp eax, dword [edx + 0x14]
jne 0x41196a
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x140]
mov dl, byte [eax + 0xc]
cmp dl, 0x41
je 0x411d65
cmp dl, 0x44
je 0x411c35
cmp dl, 0x4d
je 0x4119ac
xor ebp, ebp
cmp ecx, ebx
jne 0x4119a5
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x411fb3
mov edx, dword [ecx]
jmp 0x411fb5
cmp ecx, ebx
jne 0x4119c7
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x4119cb
mov edx, dword [ecx]
jmp 0x4119cd
xor edx, edx
cmp eax, dword [edx + 0x14]
jne 0x4119e5
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x140]
lea esi, [eax + 8]
cmp ecx, ebx
jne 0x411a03
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x411a07
mov ecx, dword [ecx]
jmp 0x411a09
xor ecx, ecx
cmp eax, dword [ecx + 0x14]
jne 0x411a1a
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
add esi, 0xc
push esi
lea ecx, [eax + 0xa8]
push 0x456600
call fcn.0040b1c0
mov eax, dword [esp + 0x140]
cmp eax, ebx
jne 0x411a49
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x411a4d
mov ecx, dword [eax]
jmp 0x411a4f
xor ecx, ecx
mov edx, dword [esp + 0x144]
cmp edx, dword [ecx + 0x14]
jne 0x411a67
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
mov esi, dword [esp + 0x144]
add esi, ebp
cmp eax, ebx
jne 0x411a84
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x411a88
mov eax, dword [eax]
jmp 0x411a8a
xor eax, eax
mov ecx, dword [esp + 0x144]
cmp ecx, dword [eax + 0x14]
jne 0x411a9b
call fcn.0042bcc3
mov ecx, dword [esp + 0x144]
add esi, 0x28
push esi
add ecx, 0xc4
push 0x456600
call fcn.0040b1c0
mov eax, dword [esp + 0x140]
cmp eax, ebx
jne 0x411ad1
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x411ad5
mov ecx, dword [eax]
jmp 0x411ad7
xor ecx, ecx
mov edx, dword [esp + 0x144]
cmp edx, dword [ecx + 0x14]
jne 0x411aef
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
mov esi, dword [esp + 0x144]
add esi, ebp
cmp eax, ebx
jne 0x411b0c
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x411b10
mov eax, dword [eax]
jmp 0x411b12
xor eax, eax
mov ecx, dword [esp + 0x144]
cmp ecx, dword [eax + 0x14]
jne 0x411b23
call fcn.0042bcc3
mov edx, dword [esp + 0x144]
add edx, 0x14
lea eax, [esi + 0x28]
push edx
call fcn.00414270
lea esi, [esp + 0x140]
test eax, eax
je 0x411b52
call fcn.00417890
mov dword [eax + 0xd8], 5
jmp 0x411b61
call fcn.00417890
mov dword [eax + 0xd8], 1
mov ecx, dword [esp + 0x140]
cmp ecx, ebx
jne 0x411b7c
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
cmp ecx, ebx
je 0x411b80
mov edx, dword [ecx]
jmp 0x411b82
xor edx, edx
mov eax, dword [esp + 0x144]
cmp eax, dword [edx + 0x14]
jne 0x411ba1
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x140]
cmp dword [eax + 0xdc], ebp
jb 0x411bb1
mov esi, dword [eax + 0xc8]
jmp 0x411bb7
lea esi, [eax + 0xc8]
cmp ecx, ebx
jne 0x411bd2
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x411bd6
mov ecx, dword [ecx]
jmp 0x411bd8
xor ecx, ecx
cmp eax, dword [ecx + 0x14]
jne 0x411be9
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
cmp dword [eax + 0xc0], ebp
jb 0x411bf9
mov eax, dword [eax + 0xac]
jmp 0x411bfe
add eax, 0xac
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, 1
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0042bb57
add esp, 0x128
ret 8
cmp ecx, ebx
jne 0x411c50
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x411c54
mov edx, dword [ecx]
jmp 0x411c56
xor edx, edx
cmp eax, dword [edx + 0x14]
jne 0x411c6e
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x140]
cmp dword [eax + 0x10], ebx
je 0x411cca
cmp ecx, ebx
jne 0x411c8e
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x411c92
mov ecx, dword [ecx]
jmp 0x411c94
xor ecx, ecx
cmp eax, dword [ecx + 0x14]
jne 0x411ca5
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
cmp dword [eax + 0xdc], ebp
jb 0x411cbc
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x411d1d
add eax, 0xc8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x411d1d
cmp ecx, ebx
jne 0x411ce5
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x411ce9
mov ecx, dword [ecx]
jmp 0x411ceb
xor ecx, ecx
cmp eax, dword [ecx + 0x14]
jne 0x411cfc
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
cmp dword [eax + 0xdc], ebp
jb 0x411d0c
mov eax, dword [eax + 0xc8]
jmp 0x411d11
add eax, 0xc8
mov esi, eax
mov ecx, 0x456600
call fcn.0040afa0
mov eax, dword [esp + 0x140]
cmp eax, ebx
jne 0x411d38
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x411d3c
mov eax, dword [eax]
jmp 0x411d3e
xor eax, eax
mov ecx, dword [esp + 0x144]
cmp ecx, dword [eax + 0x14]
jne 0x411d4f
call fcn.0042bcc3
mov edx, dword [esp + 0x144]
mov dword [edx + 0xe0], 2
jmp 0x411c06
cmp ecx, ebx
jne 0x411d80
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x411d84
mov ecx, dword [ecx]
jmp 0x411d86
xor ecx, ecx
cmp eax, dword [ecx + 0x14]
jne 0x411d97
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
cmp dword [eax + 0xdc], ebp
jb 0x411da7
mov eax, dword [eax + 0xc8]
jmp 0x411dac
add eax, 0xc8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x140]
mov esi, eax
cmp ecx, ebx
jne 0x411dd0
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
cmp ecx, ebx
je 0x411dd4
mov edx, dword [ecx]
jmp 0x411dd6
xor edx, edx
mov eax, dword [esp + 0x144]
cmp eax, dword [edx + 0x14]
jne 0x411df5
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x140]
cmp dword [eax + 0x10], ebx
je 0x411f3c
cmp esi, 0xffffffff
je 0x411984
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
cmp ecx, ebx
jne 0x411e34
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x411e38
mov ecx, dword [ecx]
jmp 0x411e3a
xor ecx, ecx
cmp eax, dword [ecx + 0x14]
jne 0x411e4b
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
cmp dword [eax + 0xdc], ebp
jb 0x411e5b
mov eax, dword [eax + 0xc8]
jmp 0x411e60
add eax, 0xc8
push eax
lea ebx, [esp + 0x18]
call fcn.00429df0
lea esi, [esp + 0x40]
mov ecx, ebx
call fcn.00429f80
mov dword [esp + 0x138], 0
mov eax, dword [esp + 0x140]
test eax, eax
jne 0x411e9b
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
test eax, eax
je 0x411e9f
mov eax, dword [eax]
jmp 0x411ea1
xor eax, eax
mov ecx, dword [esp + 0x144]
cmp ecx, dword [eax + 0x14]
jne 0x411eb2
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
add eax, 0x6c
lea edx, [esp + 0x40]
call fcn.00418d50
mov ebp, 0x10
lea esi, [esp + 0x140]
test al, al
je 0x411f11
call fcn.00417890
add eax, 0xc
cmp dword [eax + 0x18], ebp
jb 0x411ee7
mov eax, dword [eax + 4]
jmp 0x411eea
add eax, 4
push eax
call fcn.00409db0
mov edx, dword [esp + 0x148]
mov eax, dword [esp + 0x144]
add esp, 4
push edx
push eax
add edi, 0x30
lea ebx, [esp + 0x1c]
call fcn.00417760
jmp 0x411f20
call fcn.00417890
mov dword [eax + 0xd8], 3
cmp dword [esp + 0x58], ebp
jb 0x411c06
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0042bb4c
add esp, 4
jmp 0x411c06
cmp esi, 0xffffffff
jne 0x411fa0
cmp ecx, ebx
jne 0x411f5c
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x411f60
mov ecx, dword [ecx]
jmp 0x411f62
xor ecx, ecx
cmp eax, dword [ecx + 0x14]
jne 0x411f73
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
cmp dword [eax + 0xdc], ebp
jb 0x411f8e
mov eax, dword [eax + 0xc8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x411c06
add eax, 0xc8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x411c06
push eax
push ecx
add edi, 0x30
lea ebx, [esp + 0x1c]
call fcn.00417760
jmp 0x411c06
xor edx, edx
cmp eax, dword [edx + 0x14]
jne 0x411fcd
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x140]
lea esi, [eax + 8]
cmp ecx, ebx
jne 0x411feb
call fcn.0042bcc3
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
cmp ecx, ebx
je 0x411fef
mov ecx, dword [ecx]
jmp 0x411ff1
xor ecx, ecx
cmp eax, dword [ecx + 0x14]
jne 0x412002
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
add esi, 0xc
push esi
lea ecx, [eax + 0xa8]
push 0x456600
call fcn.0040b2e0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0x138], 1
mov eax, dword [esp + 0x140]
cmp eax, ebx
jne 0x41204c
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x412050
mov ecx, dword [eax]
jmp 0x412052
xor ecx, ecx
mov eax, dword [esp + 0x144]
cmp eax, dword [ecx + 0x14]
jne 0x41206a
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
mov esi, dword [eax + 0xd8]
cmp esi, ebx
je 0x41209c
cmp dword [eax + 0xdc], 8
jb 0x412085
mov eax, dword [eax + 0xc8]
jmp 0x41208a
add eax, 0xc8
push 0xfde9
push eax
lea eax, [esp + 0x2c]
call fcn.0040bea0
add esp, 8
lea eax, [esp + 0x5c]
call fcn.0040f760
push 3
push 0x4462dc
lea ecx, [esp + 0xc4]
mov byte [esp + 0x140], 2
call fcn.00409fa0
push 0x18
push str.application_octet_stream
lea ecx, [esp + 0xe0]
call fcn.00409fa0
mov eax, dword [esp + 0x140]
cmp eax, ebx
jne 0x4120ee
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x4120f2
mov eax, dword [eax]
jmp 0x4120f4
xor eax, eax
mov edx, dword [esp + 0x144]
cmp edx, dword [eax + 0x14]
jne 0x412105
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
push 0xffffffffffffffff
push ebx
add eax, 0x50
push eax
lea ecx, [esp + 0x11c]
call fcn.0040a3e0
mov ecx, dword [edi + 4]
push ecx
lea esi, [esp + 0x60]
call fcn.0040ea80
mov eax, dword [esp + 0x140]
cmp eax, ebx
jne 0x412147
call fcn.0042bcc3
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x41214b
mov eax, dword [eax]
jmp 0x41214d
xor eax, eax
mov edx, dword [esp + 0x144]
cmp edx, dword [eax + 0x14]
jne 0x41215e
call fcn.0042bcc3
mov eax, dword [esp + 0x144]
lea esi, [esp + 0x5c]
mov byte [eax + 0xe8], 1
call fcn.0040f7f0
cmp dword [esp + 0x3c], 0x10
jb 0x412189
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0042bb4c
add esp, 4
mov eax, ebp
jmp 0x411c0b