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

Disassembly:
push 0xffffffffffffffff
push 0x494f68
mov eax, dword fs:[0]
push eax
mov eax, 0x4160
call fcn.00464810
mov eax, dword [0x4b7a40]
xor eax, esp
mov dword [esp + 0x4158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7a40]
xor eax, esp
push eax
lea eax, [esp + 0x4174]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4184]
xor ebx, ebx
push ebx
mov esi, ecx
call fcn.00460ada
lea eax, [esp + 0x68]
add esp, 4
push eax
mov ecx, ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.00430220
add esp, 4
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x148], 7
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4305a3
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x138]
call fcn.00405e60
lea eax, [esp + 0x130]
lea ecx, [esp + 0x48]
mov dword [esp + 0x417c], ebx
call fcn.00432000
mov ecx, eax
mov byte [esp + 0x417c], 1
mov eax, dword [ecx + 0x14]
push 0x49f3ec
mov edi, 1
call fcn.00431050
test eax, eax
setne byte [esp + 0x1b]
mov byte [esp + 0x417c], 0
cmp dword [esp + 0x60], 8
jb 0x430616
mov edx, dword [esp + 0x4c]
push edx
call fcn.00441318
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x430630
push 1
push 0x49f3ec
lea esi, [esp + 0x138]
call fcn.00430e80
xor eax, eax
mov word [esp + 0x4c], ax
mov eax, ebp
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
lea edx, [eax + 2]
jmp 0x430650
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x430650
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x50]
call fcn.00405e60
lea ecx, [esp + 0x48]
lea esi, [esp + 0x114]
mov byte [esp + 0x417c], 2
call fcn.00425810
mov edi, 8
mov byte [esp + 0x417c], 4
cmp dword [esp + 0x60], edi
jb 0x4306a2
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00441318
add esp, 4
xor edx, edx
mov word [esp + 0x4c], dx
lea edx, [esp + 0x130]
lea esi, [esp + 0xf8]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
call fcn.004257a0
mov byte [esp + 0x417c], 5
mov edx, dword [esp + 0xfc]
cmp dword [esp + 0x110], edi
jae 0x4306e7
lea edx, [esp + 0xfc]
call fcn.0042ff80
xor eax, eax
mov dword [esp + 0xf4], 7
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], ax
mov byte [esp + 0x417c], 6
mov eax, dword [esp + 0x118]
mov esi, 0x10
xor ebp, ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], 0x434870
mov dword [esp + 0x30], 0x41a7e0
mov dword [esp + 0x84], 0x434870
mov dword [esp + 0x88], 0x41a7e0
cmp dword [esp + 0x12c], esi
jae 0x430758
lea eax, [esp + 0x118]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x78], eax
cmp eax, 0xffffffff
jne 0x430847
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x430847
cmp dword [esp + 0xf4], edi
jb 0x4307a3
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.00441318
add esp, 4
xor edx, edx
mov ebp, 7
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], dx
cmp dword [esp + 0x110], edi
jb 0x4307d9
mov eax, dword [esp + 0xfc]
push eax
call fcn.00441318
add esp, 4
xor ecx, ecx
mov dword [esp + 0x110], ebp
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], cx
cmp dword [esp + 0x12c], esi
jb 0x43080a
mov edx, dword [esp + 0x118]
push edx
call fcn.00441318
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], 0
cmp dword [esp + 0x148], edi
jb 0x43083d
mov eax, dword [esp + 0x134]
push eax
call fcn.00441318
add esp, 4
mov eax, 1
jmp 0x430e4d
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x434820
mov dword [esp + 0x74], 0x434850
mov dword [esp + 0x14c], 0x437170
mov dword [esp + 0x150], 0x4371d0
mov dword [esp + 0x154], 0x4371e0
mov dword [esp + 0x158], 0x437240
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x164], ebx
mov dword [esp + 0x160], ebx
call fcn.00437260
lea edx, [esp + 0x14c]
push edx
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
call fcn.00436ab0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x430943
lea edi, [esp + 0x2c]
lea eax, [esp + 0x8c]
call fcn.00434a70
mov dword [esp + 0x20], esi
cmp esi, ebx
jne 0x430c93
xor ebx, ebx
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x28], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x34], ebx
cmp dword [esp + 0xa8], ebx
jbe 0x430c80
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0xcc]
mov esi, dword [edi + ebx*4 + 4]
sub esi, dword [edi + ebx*4]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
cmp esi, dword [esp + 0x44]
jbe 0x4309c9
push ebp
call fcn.00460b55
lea eax, [esi + esi]
add esp, 4
mov dword [esp + 0x44], esi
test eax, eax
je 0x430c6c
push eax
call fcn.00460c32
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x430c6e
mov eax, dword [edi + ebx*4]
mov ecx, dword [edi + ebx*4 + 4]
sub ecx, eax
test ebp, ebp
je 0x4309ff
mov edx, dword [esp + 0xd0]
lea edx, [edx + eax*2]
test ecx, ecx
jbe 0x4309ff
mov eax, ebp
sub edx, ebp
jmp 0x4309f0
mov si, word [edx + eax]
mov word [eax], si
add eax, 2
sub ecx, 1
jne 0x4309f0
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x19], 0
jne 0x430a59
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
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 ebx
push edx
lea eax, [esp + 0xb0]
call fcn.00436ed0
add esp, 0x24
mov dword [esp + 0x20], eax
test eax, eax
jne 0x430c80
mov eax, dword [esp + 0x24]
add dword [esp + 0x3c], eax
mov ebx, 0
adc dword [esp + 0x40], ebx
cmp word [ebp], bx
je 0x430b0c
mov esi, ebp
cmp word [esi], 0x2f
jne 0x430afb
xor ecx, ecx
mov word [esi], cx
mov edx, ebp
lea ecx, [esp + 0xf8]
lea edi, [esp + 0x48]
call fcn.00430f90
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x4188], 7
call fcn.00406080
mov byte [esp + 0x417c], 6
cmp dword [esp + 0x60], 8
jb 0x430ac8
mov edx, dword [esp + 0x4c]
push edx
call fcn.00441318
add esp, 4
cmp dword [esp + 0xf4], 8
mov eax, dword [esp + 0xe0]
jae 0x430ae0
lea eax, [esp + 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x430af3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x5c
mov word [esi], ax
inc ebx
cmp word [ebp + ebx*2], 0
lea esi, [ebp + ebx*2]
jne 0x430a76
mov edx, ebp
lea ecx, [esp + 0xf8]
lea edi, [esp + 0x48]
call fcn.00430f90
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x4188], 8
call fcn.00406080
mov esi, 8
mov byte [esp + 0x417c], 6
cmp dword [esp + 0x60], esi
jb 0x430b57
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00441318
add esp, 4
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x19], 0
mov eax, dword [esp + 0xe0]
je 0x430b94
cmp dword [esp + 0xf4], esi
jae 0x430b78
lea eax, [esp + 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x430c4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x430c4e
cmp dword [esp + 0xf4], esi
jae 0x430ba4
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 0x430bd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x430c78
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x64]
add eax, ecx
push edx
lea edi, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.00434710
add esp, 4
test eax, eax
jne 0x430c78
cmp dword [esp + 0x24], ebx
jne 0x430c78
cmp esi, 0xffffffff
je 0x430c1d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x430c1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x430c78
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x1d], 0
je 0x430c4e
cmp dword [esp + 0xf4], 8
mov eax, dword [esp + 0xe0]
jae 0x430c3f
lea eax, [esp + 0xe0]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], 0x20
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0xa8]
jae 0x430c80
mov ebx, eax
jmp 0x430980
xor ebp, ebp
mov dword [esp + 0x20], 2
jmp 0x430c80
mov dword [esp + 0x20], 0xb
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [esp + 0x38]
add esp, 8
xor ebx, ebx
lea edi, [esp + 0x2c]
lea eax, [esp + 0x8c]
mov esi, 7
call fcn.00434a70
push ebp
call fcn.00460b55
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, 0xffffffff
je 0x430cd5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x430ccd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x430cd5
mov dword [esp + 0x78], 0xffffffff
mov ebp, dword [esp + 0x20]
mov edi, 8
cmp ebp, ebx
jne 0x430d9c
cmp dword [esp + 0xf4], edi
jb 0x430cff
mov edx, dword [esp + 0xe0]
push edx
call fcn.00441318
add esp, 4
xor eax, eax
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], ax
cmp dword [esp + 0x110], edi
jb 0x430d30
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00441318
add esp, 4
xor edx, edx
cmp dword [esp + 0x12c], 0x10
mov dword [esp + 0x110], esi
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], dx
jb 0x430d62
mov eax, dword [esp + 0x118]
push eax
call fcn.00441318
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], 0
cmp dword [esp + 0x148], edi
jb 0x430d95
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00441318
add esp, 4
xor eax, eax
jmp 0x430e4d
cmp dword [esp + 0xf4], edi
jb 0x430db5
mov edx, dword [esp + 0xe0]
push edx
call fcn.00441318
add esp, 4
xor eax, eax
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], ax
cmp dword [esp + 0x110], edi
jb 0x430de6
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00441318
add esp, 4
xor edx, edx
cmp dword [esp + 0x12c], 0x10
mov dword [esp + 0x110], esi
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], dx
jb 0x430e18
mov eax, dword [esp + 0x118]
push eax
call fcn.00441318
add esp, 4
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], 0
cmp dword [esp + 0x148], edi
jb 0x430e4b
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00441318
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x4174]
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.0045ff59
add esp, 0x416c
ret