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

Disassembly:
push 0xffffffffffffffff
push 0x46eb98
mov eax, dword fs:[0]
push eax
mov eax, 0x415c
call fcn.00454980
mov eax, dword [0x488900]
xor eax, esp
mov dword [esp + 0x4158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x488900]
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.0045316c
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.00428f80
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 0x429300
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x134]
call fcn.00405bc0
mov eax, esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x4178], ebp
call fcn.0042a520
mov ecx, eax
mov byte [esp + 0x4178], 1
mov eax, dword [ecx + 0x14]
push 0x47731c
mov edi, 1
call fcn.00429d80
test eax, eax
mov edi, 8
setne byte [esp + 0x1b]
mov byte [esp + 0x4178], 0
cmp dword [esp + 0x60], edi
jb 0x429373
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0043438d
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x42938d
push 1
mov eax, 0x47731c
lea ecx, [esp + 0x134]
call fcn.00429be0
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 0x4293a5
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea esi, [esp + 0x4c]
call fcn.00405bc0
mov ecx, esi
lea esi, [esp + 0x114]
mov byte [esp + 0x4178], 2
call fcn.0041ee60
mov byte [esp + 0x4178], 4
cmp dword [esp + 0x60], edi
jb 0x4293f1
mov eax, dword [esp + 0x4c]
push eax
call fcn.0043438d
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.0041edf0
add esp, 4
mov byte [esp + 0x4178], 5
mov eax, dword [esp + 0xfc]
cmp dword [esp + 0x110], edi
jae 0x42943a
lea eax, [esp + 0xfc]
push eax
call fcn.00428bd0
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], 0x42af00
mov dword [esp + 0x30], 0x419f00
mov dword [esp + 0x84], 0x42af00
mov dword [esp + 0x88], 0x419f00
jae 0x4294ac
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 0x42959b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebp
je 0x42959b
mov esi, 8
cmp dword [esp + 0xf4], esi
jb 0x4294fc
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.0043438d
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 0x42952d
mov eax, dword [esp + 0xfc]
push eax
call fcn.0043438d
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 0x42955f
mov edx, dword [esp + 0x118]
push edx
call fcn.0043438d
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebp
mov byte [esp + 0x118], bl
cmp dword [esp + 0x148], esi
jb 0x429591
mov eax, dword [esp + 0x134]
push eax
call fcn.0043438d
add esp, 4
mov eax, 1
jmp 0x429bab
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x42aeb0
mov dword [esp + 0x74], 0x42aee0
mov dword [esp + 0x14c], 0x42d800
mov dword [esp + 0x150], 0x42d860
mov dword [esp + 0x154], 0x42d870
mov dword [esp + 0x158], 0x42d8d0
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x164], ebp
mov dword [esp + 0x160], ebp
call fcn.0042d8f0
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.0042d140
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x429697
lea edi, [esp + 0x2c]
lea eax, [esp + 0x8c]
call fcn.0042b100
mov dword [esp + 0x1c], esi
cmp esi, ebp
jne 0x4299e7
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 0x4299d4
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 0x42971b
push ebx
call fcn.004531e7
add esp, 4
mov dword [esp + 0x34], esi
add esi, esi
je 0x4299c0
push esi
call fcn.004532c4
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4299c2
mov eax, dword [ebp + edi*4]
mov ecx, dword [ebp + edi*4 + 4]
sub ecx, eax
test ebx, ebx
je 0x42974f
mov edx, dword [esp + 0xd0]
lea edx, [edx + eax*2]
test ecx, ecx
jbe 0x42974f
mov eax, ebx
sub edx, ebx
jmp 0x429740
mov si, word [edx + eax]
mov word [eax], si
add eax, 2
sub ecx, 1
jne 0x429740
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x19], 0
jne 0x4297a9
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.0042d560
add esp, 0x24
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4299d4
mov eax, dword [esp + 0x20]
add dword [esp + 0x3c], eax
mov ebp, 0
adc dword [esp + 0x40], ebp
cmp word [ebx], bp
je 0x429861
mov edi, ebx
cmp word [edi], 0x2f
jne 0x429852
lea edx, [esp + 0xf8]
xor ecx, ecx
push edx
lea esi, [esp + 0x4c]
mov word [edi], cx
call fcn.00429cc0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x4180], 7
call fcn.00405da0
mov esi, 8
mov byte [esp + 0x4178], 6
cmp dword [esp + 0x60], esi
jb 0x429820
mov eax, dword [esp + 0x4c]
push eax
call fcn.0043438d
add esp, 4
mov eax, dword [esp + 0xe0]
cmp dword [esp + 0xf4], esi
jae 0x429837
lea eax, [esp + 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42984a
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 0x4297c5
lea edx, [esp + 0xf8]
push edx
lea esi, [esp + 0x4c]
call fcn.00429cc0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xe4]
mov esi, 8
mov byte [esp + 0x4180], 8
call fcn.00405da0
mov byte [esp + 0x4178], 6
cmp dword [esp + 0x60], esi
jb 0x4298ad
mov eax, dword [esp + 0x4c]
push eax
call fcn.0043438d
add esp, 4
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x19], 0
mov eax, dword [esp + 0xe0]
je 0x4298ea
cmp dword [esp + 0xf4], esi
jae 0x4298ce
lea eax, [esp + 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4299a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4299a4
cmp dword [esp + 0xf4], esi
jae 0x4298fa
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 0x42992c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4299cc
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.0042ada0
add esp, 4
test eax, eax
jne 0x4299cc
cmp dword [esp + 0x20], ebp
jne 0x4299cc
cmp esi, 0xffffffff
je 0x429973
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x429973
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4299cc
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x1d], 0
je 0x4299a4
cmp dword [esp + 0xf4], 8
mov eax, dword [esp + 0xe0]
jae 0x429995
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 0x4299d4
jmp 0x4296d4
xor ebx, ebx
mov dword [esp + 0x1c], 2
jmp 0x4299d4
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.0042b100
push ebx
call fcn.004531e7
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, 0xffffffff
je 0x429a24
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x429a1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x429a24
mov dword [esp + 0x78], 0xffffffff
mov ebx, dword [esp + 0x1c]
cmp ebx, ebp
jne 0x429af0
mov esi, 8
cmp dword [esp + 0xf4], esi
jb 0x429a4e
mov edx, dword [esp + 0xe0]
push edx
call fcn.0043438d
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 0x429a84
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.0043438d
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 0x429ab6
mov eax, dword [esp + 0x118]
push eax
call fcn.0043438d
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebp
mov byte [esp + 0x118], 0
cmp dword [esp + 0x148], esi
jb 0x429ae9
mov ecx, dword [esp + 0x134]
push ecx
call fcn.0043438d
add esp, 4
xor eax, eax
jmp 0x429bab
mov edi, 8
cmp dword [esp + 0xf4], edi
jb 0x429b0e
mov edx, dword [esp + 0xe0]
push edx
call fcn.0043438d
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 0x429b44
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.0043438d
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 0x429b76
mov eax, dword [esp + 0x118]
push eax
call fcn.0043438d
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebp
mov byte [esp + 0x118], 0
cmp dword [esp + 0x148], edi
jb 0x429ba9
mov ecx, dword [esp + 0x134]
push ecx
call fcn.0043438d
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.00452675
add esp, 0x4168
ret