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

Disassembly:
push 0xffffffffffffffff
push 0x473548
mov eax, dword fs:[0]
push eax
mov eax, 0x415c
call fcn.00458ed0
mov eax, dword [0x48e900]
xor eax, esp
mov dword [esp + 0x4158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e900]
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.00457601
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.0042bac0
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 0x42be50
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.0042d070
mov ecx, eax
mov byte [esp + 0x4178], 1
mov eax, dword [ecx + 0x14]
push 0x47c2d4
mov edi, 1
call fcn.0042c8d0
test eax, eax
mov edi, 8
setne byte [esp + 0x1b]
mov byte [esp + 0x4178], 0
cmp dword [esp + 0x60], edi
jb 0x42bec3
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00438908
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x42bedd
push 1
mov eax, 0x47c2d4
lea ecx, [esp + 0x134]
call fcn.0042c730
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 0x42bef5
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.004218d0
mov byte [esp + 0x4178], 4
cmp dword [esp + 0x60], edi
jb 0x42bf41
mov eax, dword [esp + 0x4c]
push eax
call fcn.00438908
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.00421860
add esp, 4
mov byte [esp + 0x4178], 5
mov eax, dword [esp + 0xfc]
cmp dword [esp + 0x110], edi
jae 0x42bf8a
lea eax, [esp + 0xfc]
push eax
call fcn.0042b710
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], 0x42da50
mov dword [esp + 0x30], 0x41afa0
mov dword [esp + 0x84], 0x42da50
mov dword [esp + 0x88], 0x41afa0
jae 0x42bffc
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 0x42c0eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebp
je 0x42c0eb
mov esi, 8
cmp dword [esp + 0xf4], esi
jb 0x42c04c
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.00438908
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 0x42c07d
mov eax, dword [esp + 0xfc]
push eax
call fcn.00438908
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 0x42c0af
mov edx, dword [esp + 0x118]
push edx
call fcn.00438908
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebp
mov byte [esp + 0x118], bl
cmp dword [esp + 0x148], esi
jb 0x42c0e1
mov eax, dword [esp + 0x134]
push eax
call fcn.00438908
add esp, 4
mov eax, 1
jmp 0x42c6fb
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x42da00
mov dword [esp + 0x74], 0x42da30
mov dword [esp + 0x14c], 0x430350
mov dword [esp + 0x150], 0x4303b0
mov dword [esp + 0x154], 0x4303c0
mov dword [esp + 0x158], 0x430420
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x164], ebp
mov dword [esp + 0x160], ebp
call fcn.00430440
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.0042fc90
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x42c1e7
lea edi, [esp + 0x2c]
lea eax, [esp + 0x8c]
call fcn.0042dc50
mov dword [esp + 0x1c], esi
cmp esi, ebp
jne 0x42c537
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 0x42c524
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 0x42c26b
push ebx
call fcn.0045767c
add esp, 4
mov dword [esp + 0x34], esi
add esi, esi
je 0x42c510
push esi
call fcn.00457759
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42c512
mov eax, dword [ebp + edi*4]
mov ecx, dword [ebp + edi*4 + 4]
sub ecx, eax
test ebx, ebx
je 0x42c29f
mov edx, dword [esp + 0xd0]
lea edx, [edx + eax*2]
test ecx, ecx
jbe 0x42c29f
mov eax, ebx
sub edx, ebx
jmp 0x42c290
mov si, word [edx + eax]
mov word [eax], si
add eax, 2
sub ecx, 1
jne 0x42c290
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x19], 0
jne 0x42c2f9
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.004300b0
add esp, 0x24
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x42c524
mov eax, dword [esp + 0x20]
add dword [esp + 0x3c], eax
mov ebp, 0
adc dword [esp + 0x40], ebp
cmp word [ebx], bp
je 0x42c3b1
mov edi, ebx
cmp word [edi], 0x2f
jne 0x42c3a2
lea edx, [esp + 0xf8]
xor ecx, ecx
push edx
lea esi, [esp + 0x4c]
mov word [edi], cx
call fcn.0042c810
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 0x42c370
mov eax, dword [esp + 0x4c]
push eax
call fcn.00438908
add esp, 4
mov eax, dword [esp + 0xe0]
cmp dword [esp + 0xf4], esi
jae 0x42c387
lea eax, [esp + 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42c39a
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 0x42c315
lea edx, [esp + 0xf8]
push edx
lea esi, [esp + 0x4c]
call fcn.0042c810
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 0x42c3fd
mov eax, dword [esp + 0x4c]
push eax
call fcn.00438908
add esp, 4
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x19], 0
mov eax, dword [esp + 0xe0]
je 0x42c43a
cmp dword [esp + 0xf4], esi
jae 0x42c41e
lea eax, [esp + 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42c4f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42c4f4
cmp dword [esp + 0xf4], esi
jae 0x42c44a
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 0x42c47c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42c51c
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.0042d8f0
add esp, 4
test eax, eax
jne 0x42c51c
cmp dword [esp + 0x20], ebp
jne 0x42c51c
cmp esi, 0xffffffff
je 0x42c4c3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42c4c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42c51c
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x1d], 0
je 0x42c4f4
cmp dword [esp + 0xf4], 8
mov eax, dword [esp + 0xe0]
jae 0x42c4e5
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 0x42c524
jmp 0x42c224
xor ebx, ebx
mov dword [esp + 0x1c], 2
jmp 0x42c524
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.0042dc50
push ebx
call fcn.0045767c
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, 0xffffffff
je 0x42c574
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42c56c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42c574
mov dword [esp + 0x78], 0xffffffff
mov ebx, dword [esp + 0x1c]
cmp ebx, ebp
jne 0x42c640
mov esi, 8
cmp dword [esp + 0xf4], esi
jb 0x42c59e
mov edx, dword [esp + 0xe0]
push edx
call fcn.00438908
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 0x42c5d4
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00438908
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 0x42c606
mov eax, dword [esp + 0x118]
push eax
call fcn.00438908
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebp
mov byte [esp + 0x118], 0
cmp dword [esp + 0x148], esi
jb 0x42c639
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00438908
add esp, 4
xor eax, eax
jmp 0x42c6fb
mov edi, 8
cmp dword [esp + 0xf4], edi
jb 0x42c65e
mov edx, dword [esp + 0xe0]
push edx
call fcn.00438908
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 0x42c694
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00438908
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 0x42c6c6
mov eax, dword [esp + 0x118]
push eax
call fcn.00438908
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebp
mov byte [esp + 0x118], 0
cmp dword [esp + 0x148], edi
jb 0x42c6f9
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00438908
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.00456bcf
add esp, 0x4168
ret