Function at 0x43b3d0
Capabilities:
Create directory
Get common file path
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x49f080]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x268], eax
mov edi, ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x274], edx
push eax
push 0x104
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x234], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esi]
mov edx, 2
mov eax, ecx
and eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x43b566
mov eax, dword [esi + 8]
and eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x43b566
mov eax, dword [ebp - 0x258]
add eax, ecx
mov dword [ebp - 0x240], eax
mov ecx, dword [eax]
movzx eax, word [ecx + edi]
add ecx, edi
add ecx, 4
lea eax, [ecx + eax*4]
mov edi, eax
mov dword [ebp - 0x248], eax
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x43b480
sub edi, ecx
xor ebx, ebx
lea eax, [edi + 1]
mul edx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.00444098
add esp, 4
mov esi, eax
push ebx
push 0
push esi
call fcn.00445500
add esp, 0xc
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x248]
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call fcn.004435f0
mov ecx, dword [ebp - 0x240]
add esp, 4
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x24c]
movzx eax, word [ecx]
add ecx, 4
lea eax, [ecx + eax*4]
mov edi, eax
mov dword [ebp - 0x248], eax
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x43b500
sub edi, ecx
xor ebx, ebx
mov ecx, 2
lea eax, [edi + 1]
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.00444098
add esp, 4
mov esi, eax
push ebx
push 0
push esi
call fcn.00445500
add esp, 0xc
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x248]
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.004435f0
mov ebx, dword [ebp - 0x234]
add esp, 4
mov esi, dword [ebp - 0x270]
mov edi, dword [esi + 0x18]
mov edx, dword [ebp - 0x258]
add edi, edx
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x248], 0
jb 0x43ba86
ja 0x43b597
cmp dword [esi + 0x10], 0
jbe 0x43ba86
mov eax, dword [edi + 8]
and eax, 0x10
or eax, 0
je 0x43b5d3
push dword [ebp - 0x268]
mov eax, dword [edi + 0x28]
add eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x24c]
push ebx
push eax
push dword [ebp - 0x25c]
push edx
mov edx, dword [ebp - 0x274]
call fcn.0043b3d0
add esp, 0x14
jmp 0x43ba54
push 0x1000000
call fcn.00452ab4
add esp, 4
mov dword [ebp - 0x250], eax
test eax, eax
je 0x43baa6
mov edx, dword [edi]
add edx, dword [ebp - 0x24c]
movzx ecx, word [edx]
inc ecx
lea eax, [edx + ecx*4]
mov edi, eax
mov dword [ebp - 0x240], eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x43b608
sub edi, ecx
xor ebx, ebx
mov ecx, 2
lea eax, [edi + 1]
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.00444098
add esp, 4
mov esi, eax
push ebx
push 0
push esi
call fcn.00445500
add esp, 0xc
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x240]
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x497410
push esi
call fcn.0045238f
push esi
mov dword [ebp - 0x26c], eax
call fcn.004435f0
mov ebx, dword [ebp - 0x254]
add esp, 0xc
mov ecx, dword [ebx + 0x30]
or ecx, dword [ebx + 0x34]
je 0x43b8c0
mov esi, dword [ebp - 0x234]
push esi
call fcn.00452a43
mov ecx, eax
mov edi, edx
mov eax, dword [ebp - 0x25c]
add esp, 4
mov eax, dword [eax + 8]
add eax, dword [ebx + 0x28]
cdq
cmp ecx, eax
jne 0x43b6a6
cmp edi, edx
je 0x43b6c5
mov edx, dword [ebp - 0x25c]
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
push 0
add ecx, dword [edx + 8]
adc eax, dword [edx + 0xc]
push eax
push ecx
push esi
call fcn.00452042
add esp, 0x10
mov ecx, dword [ebx + 0x38]
mov eax, ecx
and eax, dword [ebx + 0x3c]
cmp eax, 0xffffffff
je 0x43b78c
mov eax, dword [ebx + 0x30]
add eax, ecx
push eax
call fcn.00452ab4
mov ecx, dword [ebx + 0x38]
mov esi, eax
mov edi, dword [ebx + 0x30]
add esp, 4
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x230], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x238], ecx
mov ecx, edi
and ecx, eax
mov dword [ebp - 0x260], eax
cmp ecx, 0xffffffff
jne 0x43b723
push dword [ebp - 0x234]
call fcn.00452a43
add esp, 4
mov dword [ebp - 0x260], edx
mov edi, eax
push dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
mov ecx, esi
push dword [ebp - 0x230]
call fcn.00438cb0
push dword [ebp - 0x260]
mov edx, dword [ebp - 0x268]
mov ecx, esi
push edi
push dword [ebp - 0x238]
push dword [ebp - 0x230]
call fcn.0043b2f0
mov edx, dword [ebx + 0x38]
mov ecx, esi
add edx, esi
call fcn.00439e10
push dword [ebx + 0x34]
mov ecx, dword [ebx + 0x38]
push dword [ebx + 0x30]
mov edx, dword [ebp - 0x26c]
add ecx, esi
call fcn.00438c30
push esi
call fcn.004480c3
add esp, 0x24
jmp 0x43b8c0
mov edi, dword [ebx + 0x34]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x30]
movlpd qword [ebp - 0x244], xmm0
test edi, edi
jb 0x43b8c0
ja 0x43b7af
test esi, esi
je 0x43b8c0
mov eax, dword [ebp - 0x240]
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x240], edx
mov ecx, esi
mov eax, edi
sub ecx, edx
sbb eax, dword [ebp - 0x230]
mov dword [ebp - 0x260], eax
jne 0x43b7ff
cmp ecx, 0x1000000
ja 0x43b7ff
mov eax, dword [ebp - 0x230]
mov ecx, esi
sub ecx, edx
mov dword [ebp - 0x260], ecx
mov ecx, edi
sbb ecx, eax
mov dword [ebp - 0x238], ecx
jmp 0x43b819
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x260], 0x1000000
mov dword [ebp - 0x238], 0
add esi, edx
adc edi, eax
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
jne 0x43b838
push dword [ebp - 0x234]
call fcn.00452a43
add esp, 4
mov esi, eax
mov edi, edx
push dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
push dword [ebp - 0x260]
mov ecx, dword [ebp - 0x250]
call fcn.00438cb0
mov edx, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x250]
push edi
mov edi, dword [ebp - 0x238]
push esi
mov esi, dword [ebp - 0x260]
push edi
push esi
call fcn.0043b2f0
mov edx, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x250]
push edi
push esi
call fcn.00438c30
mov edx, dword [ebp - 0x240]
add esp, 0x20
mov eax, dword [ebp - 0x230]
add edx, esi
mov esi, dword [ebx + 0x30]
adc eax, edi
mov dword [ebp - 0x240], edx
mov edi, dword [ebx + 0x34]
mov dword [ebp - 0x230], eax
cmp eax, edi
jb 0x43b7c7
ja 0x43b8c0
cmp edx, esi
jb 0x43b7c7
push dword [ebp - 0x26c]
call fcn.0044be27
add esp, 4
push dword [ebp - 0x250]
call fcn.004480c3
mov ecx, dword [ebx]
add esp, 4
add ecx, dword [ebp - 0x24c]
movzx eax, word [ecx]
add ecx, 4
lea eax, [ecx + eax*4]
mov edi, eax
mov dword [ebp - 0x240], eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x43b8f8
sub edi, ecx
xor ebx, ebx
mov ecx, 2
lea eax, [edi + 1]
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.00444098
add esp, 4
mov esi, eax
push ebx
push 0
push esi
call fcn.00445500
add esp, 0xc
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x240]
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
mov edi, eax
call fcn.004435f0
mov ebx, dword [ebp - 0x254]
add esp, 4
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebx + 0x18]
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x224], ecx
mov ecx, dword [ebx + 0x20]
push eax
push edi
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x21c], ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx]
add ecx, dword [ebp - 0x24c]
movzx eax, word [ecx]
add ecx, 4
lea eax, [ecx + eax*4]
mov edi, eax
mov dword [ebp - 0x240], eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x43b9e1
sub edi, ecx
xor ebx, ebx
mov ecx, 2
lea eax, [edi + 1]
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.00444098
add esp, 4
mov esi, eax
push ebx
push 0
push esi
call fcn.00445500
add esp, 0xc
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x240]
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [ebp - 0x254]
mov eax, dword [edi + 8]
and eax, 0xfffffff9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call fcn.004435f0
mov ebx, dword [ebp - 0x234]
add esp, 4
mov esi, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x248]
add edi, 0x40
mov edx, dword [ebp - 0x258]
inc ecx
xor eax, eax
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x254], edi
cmp eax, dword [esi + 0x14]
jb 0x43b597
ja 0x43ba86
cmp ecx, dword [esi + 0x10]
jb 0x43b597
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004435e2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004435e2
mov esp, ebp
pop ebp
ret