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

Disassembly:
push 0xffffffffffffffff
push 0x46f2e8
mov eax, dword fs:[0]
push eax
mov eax, 0x415c
call fcn.00454ff0
mov eax, dword [0x489900]
xor eax, esp
mov dword [esp + 0x4158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489900]
xor eax, esp
push eax
lea eax, [esp + 0x4170]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
mov ebx, ecx
mov esi, edx
call fcn.00453727
add esp, 4
push ebx
lea ecx, [esp + 0x68]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
call fcn.00427b70
add esp, 4
xor eax, eax
mov word [esp + 0x134], ax
mov eax, esi
mov dword [esp + 0x148], 7
mov dword [esp + 0x144], ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x427ef0
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x134]
call fcn.00405220
mov eax, esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x4178], ebp
call fcn.00429110
mov ecx, eax
mov byte [esp + 0x4178], 1
mov eax, dword [ecx + 0x14]
push 0x4782f4
mov edi, 1
call fcn.00428970
test eax, eax
mov edi, 8
setne byte [esp + 0x1b]
mov byte [esp + 0x4178], 0
cmp dword [esp + 0x60], edi
jb 0x427f63
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00434a28
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x427f7d
push 1
mov eax, 0x4782f4
lea ecx, [esp + 0x134]
call fcn.004287d0
xor edx, edx
mov eax, ebx
mov word [esp + 0x4c], dx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x427f95
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea esi, [esp + 0x4c]
call fcn.00405220
mov ecx, esi
lea esi, [esp + 0x114]
mov byte [esp + 0x4178], 2
call fcn.0041db00
mov byte [esp + 0x4178], 4
cmp dword [esp + 0x60], edi
jb 0x427fe1
mov eax, dword [esp + 0x4c]
push eax
call fcn.00434a28
add esp, 4
lea edx, [esp + 0x130]
xor ecx, ecx
push edx
lea esi, [esp + 0xfc]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], cx
call fcn.0041da90
add esp, 4
mov byte [esp + 0x4178], 5
mov eax, dword [esp + 0xfc]
cmp dword [esp + 0x110], edi
jae 0x42802a
lea eax, [esp + 0xfc]
push eax
call fcn.004277c0
mov edi, 7
xor eax, eax
add esp, 4
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebp
mov word [esp + 0xe0], ax
mov byte [esp + 0x4178], 6
mov eax, dword [esp + 0x118]
xor ebx, ebx
cmp dword [esp + 0x12c], 0x10
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], 0x429b00
mov dword [esp + 0x30], 0x429af0
mov dword [esp + 0x84], 0x429b00
mov dword [esp + 0x88], 0x429af0
jae 0x42809c
lea eax, [esp + 0x118]
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x78], eax
cmp eax, 0xffffffff
jne 0x42818b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebp
je 0x42818b
mov esi, 8
cmp dword [esp + 0xf4], esi
jb 0x4280ec
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.00434a28
add esp, 4
xor edx, edx
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebp
mov word [esp + 0xe0], dx
cmp dword [esp + 0x110], esi
jb 0x42811d
mov eax, dword [esp + 0xfc]
push eax
call fcn.00434a28
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x12c], 0x10
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebp
mov word [esp + 0xfc], cx
jb 0x42814f
mov edx, dword [esp + 0x118]
push edx
call fcn.00434a28
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebp
mov byte [esp + 0x118], bl
cmp dword [esp + 0x148], esi
jb 0x428181
mov eax, dword [esp + 0x134]
push eax
call fcn.00434a28
add esp, 4
mov eax, 1
jmp 0x42879b
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x429aa0
mov dword [esp + 0x74], 0x429ad0
mov dword [esp + 0x14c], 0x42c400
mov dword [esp + 0x150], 0x42c460
mov dword [esp + 0x154], 0x42c470
mov dword [esp + 0x158], 0x42c4d0
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x164], ebp
mov dword [esp + 0x160], ebp
call fcn.0042c4f0
lea edx, [esp + 0x14c]
push edx
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xdc], ebp
call fcn.0042bd40
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x428287
lea edi, [esp + 0x2c]
lea eax, [esp + 0x8c]
call fcn.00429d00
mov dword [esp + 0x1c], esi
cmp esi, ebp
jne 0x4285d7
xor edi, edi
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x28], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x38], edi
cmp dword [esp + 0xa8], ebp
jbe 0x4285c4
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x24], ecx
mov ebp, dword [esp + 0xcc]
mov esi, dword [ebp + edi*4 + 4]
sub esi, dword [ebp + edi*4]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], eax
cmp esi, dword [esp + 0x34]
jbe 0x42830b
push ebx
call fcn.004537a2
add esp, 4
mov dword [esp + 0x34], esi
add esi, esi
je 0x4285b0
push esi
call fcn.0045387f
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4285b2
mov eax, dword [ebp + edi*4]
mov ecx, dword [ebp + edi*4 + 4]
sub ecx, eax
test ebx, ebx
je 0x42833f
mov edx, dword [esp + 0xd0]
lea edx, [edx + eax*2]
test ecx, ecx
jbe 0x42833f
mov eax, ebx
sub edx, ebx
jmp 0x428330
mov si, word [edx + eax]
mov word [eax], si
add eax, 2
sub ecx, 1
jne 0x428330
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x19], 0
jne 0x428399
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x168]
push edi
push edx
lea eax, [esp + 0xb0]
call fcn.0042c160
add esp, 0x24
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4285c4
mov eax, dword [esp + 0x20]
add dword [esp + 0x3c], eax
mov ebp, 0
adc dword [esp + 0x40], ebp
cmp word [ebx], bp
je 0x428451
mov edi, ebx
cmp word [edi], 0x2f
jne 0x428442
lea edx, [esp + 0xf8]
xor ecx, ecx
push edx
lea esi, [esp + 0x4c]
mov word [edi], cx
call fcn.004288b0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x4180], 7
call fcn.00405400
mov esi, 8
mov byte [esp + 0x4178], 6
cmp dword [esp + 0x60], esi
jb 0x428410
mov eax, dword [esp + 0x4c]
push eax
call fcn.00434a28
add esp, 4
mov eax, dword [esp + 0xe0]
cmp dword [esp + 0xf4], esi
jae 0x428427
lea eax, [esp + 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42843a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x5c
mov word [edi], cx
inc ebp
cmp word [ebx + ebp*2], 0
lea edi, [ebx + ebp*2]
jne 0x4283b5
lea edx, [esp + 0xf8]
push edx
lea esi, [esp + 0x4c]
call fcn.004288b0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xe4]
mov esi, 8
mov byte [esp + 0x4180], 8
call fcn.00405400
mov byte [esp + 0x4178], 6
cmp dword [esp + 0x60], esi
jb 0x42849d
mov eax, dword [esp + 0x4c]
push eax
call fcn.00434a28
add esp, 4
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x19], 0
mov eax, dword [esp + 0xe0]
je 0x4284da
cmp dword [esp + 0xf4], esi
jae 0x4284be
lea eax, [esp + 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x428594
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x428594
cmp dword [esp + 0xf4], esi
jae 0x4284ea
lea eax, [esp + 0xe0]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x64], esi
cmp esi, 0xffffffff
jne 0x42851c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4285bc
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x64]
add eax, edx
push ecx
lea edi, [esp + 0x24]
mov dword [esp + 0x24], ebp
call fcn.00429990
add esp, 4
test eax, eax
jne 0x4285bc
cmp dword [esp + 0x20], ebp
jne 0x4285bc
cmp esi, 0xffffffff
je 0x428563
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x428563
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4285bc
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x1d], 0
je 0x428594
cmp dword [esp + 0xf4], 8
mov eax, dword [esp + 0xe0]
jae 0x428585
lea eax, [esp + 0xe0]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [esp + 0x38]
add dword [esp + 0x24], 0x20
inc edi
mov dword [esp + 0x38], edi
cmp edi, dword [esp + 0xa8]
jae 0x4285c4
jmp 0x4282c4
xor ebx, ebx
mov dword [esp + 0x1c], 2
jmp 0x4285c4
mov dword [esp + 0x1c], 0xb
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [esp + 0x38]
add esp, 8
xor ebp, ebp
lea edi, [esp + 0x2c]
lea eax, [esp + 0x8c]
call fcn.00429d00
push ebx
call fcn.004537a2
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, 0xffffffff
je 0x428614
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42860c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x428614
mov dword [esp + 0x78], 0xffffffff
mov ebx, dword [esp + 0x1c]
cmp ebx, ebp
jne 0x4286e0
mov esi, 8
cmp dword [esp + 0xf4], esi
jb 0x42863e
mov edx, dword [esp + 0xe0]
push edx
call fcn.00434a28
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebp
mov word [esp + 0xe0], ax
cmp dword [esp + 0x110], esi
jb 0x428674
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00434a28
add esp, 4
xor edx, edx
cmp dword [esp + 0x12c], 0x10
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebp
mov word [esp + 0xfc], dx
jb 0x4286a6
mov eax, dword [esp + 0x118]
push eax
call fcn.00434a28
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebp
mov byte [esp + 0x118], 0
cmp dword [esp + 0x148], esi
jb 0x4286d9
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00434a28
add esp, 4
xor eax, eax
jmp 0x42879b
mov edi, 8
cmp dword [esp + 0xf4], edi
jb 0x4286fe
mov edx, dword [esp + 0xe0]
push edx
call fcn.00434a28
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebp
mov word [esp + 0xe0], ax
cmp dword [esp + 0x110], edi
jb 0x428734
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00434a28
add esp, 4
xor edx, edx
cmp dword [esp + 0x12c], 0x10
mov dword [esp + 0x110], esi
mov dword [esp + 0x10c], ebp
mov word [esp + 0xfc], dx
jb 0x428766
mov eax, dword [esp + 0x118]
push eax
call fcn.00434a28
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebp
mov byte [esp + 0x118], 0
cmp dword [esp + 0x148], edi
jb 0x428799
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00434a28
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x4170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4158]
xor ecx, esp
call fcn.00452cf5
add esp, 0x4168
ret