Function at 0x10042b00
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x42dc
call fcn.100567b0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x424c], edx
push 0x206
push eax
mov word [ebp - 0x210], ax
xor ebx, ebx
lea eax, [ebp - 0x20e]
mov dword [ebp - 0x4260], ebx
push eax
mov esi, ecx
call fcn.100567e0
add esp, 0xc
mov dword [ebp - 0x4238], 0x10043380
mov dword [ebp - 0x4234], 0x100433a0
mov dword [ebp - 0x4278], 0x10043380
mov dword [ebp - 0x4274], 0x100433a0
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x427c], eax
cmp eax, 0xffffffff
jne 0x10042ba2
call esi
test eax, eax
jne 0x10043149
lea eax, [ebp - 0x4284]
mov dword [ebp - 0x4284], 0x100432f0
mov dword [ebp - 0x4280], 0x10043310
mov dword [ebp - 0x4230], 0x10045c00
mov dword [ebp - 0x422c], 0x10045c60
mov dword [ebp - 0x4228], 0x10045c70
mov dword [ebp - 0x4224], 0x10045cc0
mov dword [ebp - 0x4220], eax
mov dword [ebp - 0x4218], ebx
mov dword [ebp - 0x421c], ebx
call fcn.10045ce0
lea ecx, [ebp - 0x42d8]
call fcn.100436b0
lea eax, [ebp - 0x4278]
push eax
lea eax, [ebp - 0x4238]
push eax
lea edx, [ebp - 0x4230]
call fcn.10045590
mov edi, eax
add esp, 8
test edi, edi
je 0x10042c41
lea edx, [ebp - 0x4238]
lea ecx, [ebp - 0x42d8]
call fcn.10043720
test edi, edi
jne 0x10043063
xor ecx, ecx
mov dword [ebp - 0x4270], 0xffffffff
mov dword [ebp - 0x4248], ebx
mov dword [ebp - 0x4268], ebx
mov dword [ebp - 0x4240], ecx
cmp dword [ebp - 0x42bc], ecx
jbe 0x1004304d
mov eax, dword [ebp - 0x42c8]
add eax, 0x19
mov dword [ebp - 0x423c], eax
lea ebx, [ebx]
mov edi, dword [ebp - 0x4298]
mov dword [ebp - 0x4250], 0
mov dword [ebp - 0x4244], 0
mov esi, dword [edi + ecx*4 + 4]
sub esi, dword [edi + ecx*4]
cmp esi, dword [ebp - 0x4260]
jbe 0x10042cd9
push ebx
call fcn.10055d78
add esp, 4
mov dword [ebp - 0x4260], esi
add esi, esi
je 0x10043133
push esi
call fcn.10055db0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10043135
mov ecx, dword [ebp - 0x4240]
mov edx, dword [edi + ecx*4 + 4]
mov eax, dword [edi + ecx*4]
sub edx, eax
test ebx, ebx
je 0x10042d0d
mov ecx, dword [ebp - 0x4294]
lea esi, [ecx + eax*2]
test edx, edx
je 0x10042d0d
mov ecx, ebx
sub esi, ebx
jmp 0x10042d00
mov ax, word [esi + ecx]
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10042d00
push ecx
mov edx, ebx
mov dword [ebp - 0x425c], 0
lea ecx, [ebp - 0x425c]
mov dword [ebp - 0x4258], 0
call fcn.10042a40
mov esi, dword [ebp - 0x425c]
mov edi, eax
add esp, 4
mov dword [ebp - 0x4264], edi
test edi, edi
jne 0x10042d56
call fcn.10058f6e
add eax, 0x20
push eax
push esi
call fcn.100c062d
add esp, 8
push esi
push 0x10175284
call dword [0x10175288]
add esp, 8
mov dword [ebp - 0x425c], 0
mov dword [ebp - 0x4258], 0
test edi, edi
jne 0x10043047
mov esi, dword [ebp - 0x423c]
cmp byte [esi], 0
je 0x10042d9b
push 0x100e42ac
call fcn.100592fb
add esp, 4
jmp 0x10042df6
lea eax, [ebp - 0x4278]
push eax
lea eax, [ebp - 0x4238]
push eax
lea eax, [ebp - 0x4244]
push eax
lea eax, [ebp - 0x4250]
push eax
lea eax, [ebp - 0x4268]
push eax
lea eax, [ebp - 0x4248]
push eax
lea eax, [ebp - 0x4270]
push eax
push dword [ebp - 0x4240]
lea edx, [ebp - 0x4230]
lea ecx, [ebp - 0x42d8]
call fcn.10045930
mov edi, eax
mov dword [ebp - 0x4264], eax
add esp, 0x20
test edi, edi
jne 0x10043047
xor edi, edi
cmp word [ebx], di
je 0x10042ea9
mov esi, ebx
cmp word [esi], 0x2f
jne 0x10042e94
push dword [ebp - 0x424c]
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10055fa4
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100dd6d4
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x210]
push ebx
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100dd6d4
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10042e8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x5c
mov word [esi], ax
inc edi
cmp word [ebx + edi*2], 0
lea esi, [ebx + edi*2]
jne 0x10042e03
mov esi, dword [ebp - 0x423c]
cmp byte [esi], 0
lea eax, [ebp - 0x210]
push dword [ebp - 0x424c]
push 0x104
push eax
je 0x10042f33
call fcn.10055fa4
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100dd6d4
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x210]
push ebx
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100dd6d4
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1004301f
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
jmp 0x1004301f
call fcn.10055fa4
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100dd6d4
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x210]
push ebx
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x426c], esi
cmp esi, 0xffffffff
jne 0x10042fa5
call edi
test eax, eax
jne 0x1004313f
mov ecx, dword [ebp - 0x4248]
mov edx, dword [ebp - 0x4250]
mov eax, dword [ebp - 0x4244]
mov dword [ebp - 0x4254], eax
lea eax, [ebp - 0x4254]
push eax
lea edx, [edx + ecx]
lea ecx, [ebp - 0x426c]
call fcn.100431e0
add esp, 4
test eax, eax
jne 0x1004313f
mov eax, dword [ebp - 0x4244]
cmp dword [ebp - 0x4254], eax
jne 0x1004313f
cmp esi, 0xffffffff
je 0x10043009
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10043009
call edi
test eax, eax
jne 0x1004313f
mov esi, dword [ebp - 0x423c]
cmp byte [esi + 4], 0
je 0x1004301f
push dword [esi - 5]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x4240]
add esi, 0x20
inc ecx
mov dword [ebp - 0x423c], esi
mov dword [ebp - 0x4240], ecx
cmp ecx, dword [ebp - 0x42bc]
jb 0x10042c80
mov edi, dword [ebp - 0x4264]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x4248]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
add esp, 8
push dword [ebp - 0x42a8]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
push dword [ebp - 0x42a4]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
push dword [ebp - 0x42a0]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
push dword [ebp - 0x429c]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
push dword [ebp - 0x4298]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
push dword [ebp - 0x4294]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
lea edx, [ebp - 0x4238]
mov dword [ebp - 0x4294], 0
lea ecx, [ebp - 0x42d8]
mov dword [ebp - 0x4290], 0
call fcn.10043600
push ebx
call fcn.10055d78
mov eax, dword [ebp - 0x427c]
add esp, 0x34
cmp eax, 0xffffffff
je 0x1004311b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1004311b
call esi
test edi, edi
jne 0x10043149
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056351
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov edi, 2
jmp 0x10043047
mov edi, 0xb
jmp 0x10043047
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056351
mov esp, ebp
pop ebp
ret