Function at 0x11f2f670
Capabilities:
Create directory
Resolve function by parsing pe exports
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fc6178
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
xor ebx, ebx
cmp ebp, ebx
je 0x11f2fb37
cmp dword [esp + 0x70], ebx
je 0x11f2fb37
mov eax, dword [0x11fd6250]
push esi
push edi
mov dword [esp + 0x18], eax
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x70], ebx
call fcn.11e7eae0
mov al, byte [esp + 0x80]
mov byte [esp + 0x6c], 1
test al, 1
mov dword [esp + 0x1c], ebp
je 0x11f2fa16
push 0x3a
lea ecx, [esp + 0x18]
call fcn.11e80380
cmp eax, 1
jne 0x11f2fa16
lea ecx, [esp + 0x28]
push 2
push ecx
lea ecx, [esp + 0x1c]
call fcn.11e819c0
push str._baksd
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x78], 2
call fcn.11e7f9f0
push str.TEC_EncryptTempFile
push eax
lea eax, [esp + 0x88]
mov byte [esp + 0x74], 3
push eax
call fcn.11e7f9f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 6
call fcn.11e7f280
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 5
call fcn.11e7f280
mov eax, dword [esp + 0x80]
cmp eax, ebx
mov esi, eax
je 0x11f2f7e4
push eax
call fcn.11f30100
add esp, 4
test eax, eax
jne 0x11f2f7e4
push ebx
push 0x20
push 7
push 0x100080
push esi
mov dword [esp + 0x24], 0xffffffff
call fcn.11f2eb70
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x11f2f7e4
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], ebx
rep stosd dword es:[edi], eax
push 4
lea ecx, [esp + 0x40]
push 0x28
lea edx, [esp + 0x34]
push ecx
push edx
push esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call dword [0x12134964]
xor ecx, ecx
cmp eax, ebx
sete cl
mov eax, ecx
cmp eax, ebx
je 0x11f2f7c7
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], edx
push esi
call dword [0x1213494c]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x11f2f7e4
test al, 0x10
je 0x11f2fa05
jmp 0x11f2f986
lea eax, [esp + 0x2c]
push 2
push eax
lea ecx, [esp + 0x1c]
call fcn.11e819c0
push str._baksd
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x78], 7
call fcn.11e7f9f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 9
call fcn.11e7f280
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov esi, eax
je 0x11f2f9f7
push eax
call fcn.11f30100
add esp, 4
test eax, eax
jne 0x11f2f9f7
push ebx
push 0x20
push 7
push 0x100080
push esi
mov dword [esp + 0x34], 0xffffffff
call fcn.11f2eb70
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x11f2f9f7
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], ebx
rep stosd dword es:[edi], eax
push 4
lea edx, [esp + 0x40]
push 0x28
lea eax, [esp + 0x3c]
push edx
push eax
push esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [0x12134964]
xor ecx, ecx
cmp eax, ebx
sete cl
mov eax, ecx
cmp eax, ebx
je 0x11f2f89f
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x20], edx
push esi
call dword [0x1213494c]
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x11f2f9f7
test al, 0x10
je 0x11f2f9f7
mov eax, dword [esp + 0x80]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x11f2f9f7
mov esi, dword [esp + 0x80]
cmp esi, ebx
je 0x11f2f9f7
push esi
call fcn.11f30100
add esp, 4
test eax, eax
jne 0x11f2f9f7
push ebx
push 0x20
push 7
push 0x100080
push esi
or ebp, 0xffffffff
call fcn.11f2eb70
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x11f2f9f7
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], ebx
rep stosd dword es:[edi], eax
push 4
lea ecx, [esp + 0x40]
push 0x28
lea edx, [esp + 0x3c]
push ecx
push edx
push esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [0x12134964]
xor ecx, ecx
cmp eax, ebx
sete cl
mov eax, ecx
cmp eax, ebx
je 0x11f2f952
mov ebp, dword [esp + 0x5c]
push esi
call dword [0x1213494c]
cmp ebp, 0xffffffff
je 0x11f2f9f7
mov edx, dword [esp + 0x80]
or ebp, 2
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 5
call fcn.11e7f280
mov ebp, dword [esp + 0x74]
push 0x5c
push ebp
call fcn.11e67430
add esp, 8
cmp eax, ebx
lea esi, [eax + 2]
jne 0x11f2f99a
mov esi, ebp
lea eax, [esp + 0x80]
push 0x12022ca0
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.11e7f9f0
push esi
lea edx, [esp + 0x78]
push eax
push edx
mov byte [esp + 0x78], 0xa
call fcn.11e7f9f0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0xb
call fcn.11e7f410
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], 0xa
call fcn.11e7f280
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 5
call fcn.11e7f280
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
jmp 0x11f2fa05
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 5
call fcn.11e7f280
lea ecx, [esp + 0x80]
mov byte [esp + 0x6c], 1
call fcn.11e7f280
xor eax, eax
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x78]
cmp eax, ebx
push ecx
jne 0x11f2fa45
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esp + 0x20]
push eax
push edx
lea eax, [esp + 0x24]
push str._s__lu.tes_s
push eax
call fcn.11e82200
add esp, 0x14
jmp 0x11f2fa64
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esp + 0x24]
push eax
push edx
lea eax, [esp + 0x28]
push str._s__lu._d.tes_s
push eax
call fcn.11e82200
add esp, 0x18
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x11f2faf3
push esi
call fcn.11f30100
add esp, 4
test eax, eax
jne 0x11f2faf3
push ebx
push 0x20
push 7
push 0x100080
push esi
or ebp, 0xffffffff
call fcn.11f2eb70
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x11f2faf3
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], ebx
rep stosd dword es:[edi], eax
push 4
lea ecx, [esp + 0x40]
push 0x28
lea edx, [esp + 0x3c]
push ecx
push edx
push esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [0x12134964]
xor ecx, ecx
cmp eax, ebx
sete cl
mov eax, ecx
cmp eax, ebx
je 0x11f2fad9
mov ebp, dword [esp + 0x5c]
push esi
call dword [0x1213494c]
cmp ebp, 0xffffffff
je 0x11f2faf3
mov eax, dword [esp + 0x74]
inc eax
mov dword [esp + 0x74], eax
jmp 0x11f2fa1c
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x18]
push edx
call fcn.11e7f410
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], bl
call fcn.11e7f280
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 0xffffffff
call fcn.11e7f280
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
mov ecx, dword [esp + 0x5c]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret