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

Disassembly:
push 0xffffffffffffffff
push 0x487866
mov eax, dword fs:[0]
push eax
mov eax, 0x4100
call fcn.004575f0
mov eax, dword [0x4aeda0]
xor eax, esp
mov dword [esp + 0x40f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aeda0]
xor eax, esp
push eax
lea eax, [esp + 0x4114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4124]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push accept
push eax
mov dword [esp + 0x54], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x60], eax
cmp eax, 0xffffffff
jne 0x43071e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x43071e
lea eax, [ebx + 1]
jmp 0x430d0d
lea edx, [esp + 0x58]
mov dword [esp + 0x58], 0x430ed0
mov dword [esp + 0x5c], 0x430f00
mov dword [esp + 0xec], 0x433850
mov dword [esp + 0xf0], 0x4338b0
mov dword [esp + 0xf4], 0x4338c0
mov dword [esp + 0xf8], 0x433920
mov dword [esp + 0xfc], edx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], ebx
call fcn.00433940
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x58]
lea ecx, [esp + 0x30]
xor ebp, ebp
mov dword [esp + 0x30], 0x430680
mov dword [esp + 0x34], 0x430670
mov dword [esp + 0x58], 0x430680
mov dword [esp + 0x5c], 0x430670
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 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 + 0xb4], ebx
call fcn.00433190
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x430824
lea edi, [esp + 0x28]
lea eax, [esp + 0x64]
call fcn.00431100
mov dword [esp + 0x18], esi
cmp esi, ebx
jne 0x430cd9
xor edi, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], edi
cmp dword [esp + 0x80], ebx
jbe 0x430cc8
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], edx
nop
mov eax, dword [esp + 0xa4]
mov esi, dword [eax + edi*4 + 4]
sub esi, dword [eax + edi*4]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
cmp esi, dword [esp + 0x40]
jbe 0x4308a6
push ebp
call fcn.004539ce
mov dword [esp + 0x44], esi
add esi, esi
add esp, 4
cmp esi, ebx
je 0x430c03
push esi
call fcn.00453ad5
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x430c05
mov ecx, ebp
mov eax, edi
lea edx, [esp + 0x64]
call fcn.00432940
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x19], bl
jne 0x430903
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x108]
push edi
push edx
lea eax, [esp + 0x88]
call fcn.004335b0
add esp, 0x24
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x430cc8
mov esi, dword [esp + 0x38]
xor eax, eax
push esi
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], ax
call fcn.00450a1d
mov ecx, esi
add esp, 4
lea esi, [esp + 0xb4]
call fcn.00401b92
mov dword [esp + 0x411c], ebx
mov dword [esp + 0x20], ebx
cmp word [ebp], bx
je 0x430a58
mov edi, ebp
cmp word [edi], 0x2f
jne 0x430a3e
mov esi, dword [esp + 0x38]
xor ecx, ecx
xor edx, edx
push esi
mov word [edi], cx
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], dx
call fcn.00450a1d
mov ecx, esi
add esp, 4
lea esi, [esp + 0xd0]
call fcn.00401b92
push 0x49bf84
mov byte [esp + 0x4120], 1
call fcn.00450a1d
add esp, 4
push eax
mov eax, 0x49bf84
mov ecx, esi
call fcn.00401880
push ebp
call fcn.00450a1d
add esp, 4
push eax
mov eax, ebp
mov ecx, esi
call fcn.00401880
mov eax, dword [esp + 0xd4]
mov esi, 8
cmp dword [esp + 0xe8], esi
jae 0x4309e8
lea eax, [esp + 0xd4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4309fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x2f
mov byte [esp + 0x411c], bl
mov word [edi], ax
cmp dword [esp + 0xe8], esi
jb 0x430a22
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.0045061f
add esp, 4
xor edx, edx
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], dx
mov eax, dword [esp + 0x20]
inc eax
lea edi, [ebp + eax*2]
mov dword [esp + 0x20], eax
cmp word [edi], bx
jne 0x430951
mov edi, dword [esp + 0x30]
push 0x49bf84
call fcn.00450a1d
add esp, 4
push eax
mov eax, 0x49bf84
lea ecx, [esp + 0xb8]
call fcn.00401880
push ebp
call fcn.00450a1d
add esp, 4
push eax
mov eax, ebp
lea ecx, [esp + 0xb8]
call fcn.00401880
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x19], bl
mov eax, dword [esp + 0xb8]
je 0x430af3
mov esi, 8
cmp dword [esp + 0xcc], esi
jae 0x430ab4
lea eax, [esp + 0xb8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x430ac6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x411c], 0xffffffff
cmp dword [esp + 0xcc], esi
jb 0x430bcb
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0045061f
add esp, 4
jmp 0x430bcb
mov edi, 8
cmp dword [esp + 0xcc], edi
jae 0x430b08
lea eax, [esp + 0xb8]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x4c], esi
cmp esi, 0xffffffff
jne 0x430b38
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x430c12
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
lea eax, [ecx + edx]
lea ecx, [esp + 0x4c]
push ecx
lea edi, [esp + 0x24]
call fcn.00430dc0
add esp, 4
test eax, eax
jne 0x430c7f
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x20], edx
jne 0x430c7f
or edi, 0xffffffff
cmp esi, edi
je 0x430b92
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x430b92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x430c4a
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x1d], bl
je 0x430ba6
mov eax, dword [eax + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esp + 0x411c], edi
cmp dword [esp + 0xcc], 8
jb 0x430bc7
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0045061f
add esp, 4
mov edi, dword [esp + 0x30]
add dword [esp + 0x1c], 0x20
inc edi
xor edx, edx
mov word [esp + 0xb8], dx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], 7
mov dword [esp + 0x30], edi
cmp edi, dword [esp + 0x80]
jb 0x430860
jmp 0x430cc8
xor ebp, ebp
mov dword [esp + 0x18], 2
jmp 0x430cc8
mov dword [esp + 0x411c], 0xffffffff
mov dword [esp + 0x18], 0xb
cmp dword [esp + 0xcc], edi
jb 0x430c3e
mov eax, dword [esp + 0xb8]
push eax
call fcn.0045061f
add esp, 4
xor ecx, ecx
mov word [esp + 0xb8], cx
jmp 0x430cb6
mov dword [esp + 0x411c], edi
cmp dword [esp + 0xcc], 8
mov dword [esp + 0x18], 0xb
jb 0x430c73
mov edx, dword [esp + 0xb8]
push edx
call fcn.0045061f
add esp, 4
xor eax, eax
mov word [esp + 0xb8], ax
jmp 0x430cb6
mov dword [esp + 0x411c], 0xffffffff
cmp dword [esp + 0xcc], 8
mov dword [esp + 0x18], 0xb
jb 0x430cac
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0045061f
add esp, 4
xor edx, edx
mov word [esp + 0xb8], dx
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], ebx
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [esp + 0x34]
add esp, 8
lea edi, [esp + 0x28]
lea eax, [esp + 0x64]
call fcn.00431100
push ebp
call fcn.004539ce
mov eax, dword [esp + 0x64]
add esp, 4
cmp eax, 0xffffffff
je 0x430d09
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x430d09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40f8]
xor ecx, esp
call fcn.004504a7
add esp, 0x410c
ret