Function at 0x10072000
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10393368
push 0x102968f0
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [case.0x100be6e1.80]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x320], ecx
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x324], esi
push esi
call fcn.1004c9a0
add esp, 4
test eax, eax
je 0x1007237f
mov eax, 0x1031b50c
mov ecx, 0x1031b508
test edi, edi
cmove eax, ecx
push eax
push 0xa
push esi
call sym.VADAV.dll_VD_LogOpen
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x330]
push eax
call sym.VADAV.dll_VDACQ_GetFrameDim
mov eax, dword [ebp - 0x330]
imul eax, dword [ebp - 0x334]
mov dword [ebp - 0x32c], eax
movups xmm0, xmmword [0x103c9158]
movups xmmword [ebp - 0x34c], xmm0
movups xmmword [ebp - 0x384], xmm0
movups xmm0, xmmword [0x103c9168]
movups xmmword [ebp - 0x394], xmm0
movups xmmword [ebp - 0x374], xmm0
movups xmm0, xmmword [0x103c9178]
movups xmmword [ebp - 0x3a4], xmm0
movups xmmword [ebp - 0x364], xmm0
movq xmm0, qword [0x103c9188]
movq qword [ebp - 0x33c], xmm0
movq qword [ebp - 0x354], xmm0
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100c00fe
add esp, 4
mov dword [ebp - 0x328], eax
mov esi, dword [ebp - 0x320]
push esi
push 0
push dword [case.0x10063695.95]
push eax
push 0
call sym.VADAV.dll_VD_Set_Acquisition
push 0
push 0
push 0
push 0
push 0
call sym.VADAV.dll_VD_Set_Calibration
push esi
push 0
push 0
push 0
push 0
call sym.VADAV.dll_VD_Set_ImgProcess
mov dword [ebp - 4], 0
push 0x38
push 0
push 0x103c9158
call fcn.10296750
add esp, 0xc
movups xmm0, xmmword [ebp - 0x34c]
movd dword [0x103c9178], xmm0
movd dword [0x103c9158], xmm0
psrldq xmm0, 4
movd dword [0x103c917c], xmm0
movd dword [0x103c915c], xmm0
push 0
mov esi, dword [ebp + 0xc]
push esi
push dword [ebp + 0x10]
push 0
push 0
push 0
push 0
mov eax, dword [0x103c8e50]
push dword [eax + 0x20]
call fcn.10036cb0
cmp eax, 1
jne 0x10072345
push eax
mov ecx, 0x103c8e30
call fcn.100d2b35
lea eax, [ebp - 0x11c]
push eax
test edi, edi
jne 0x100722ac
call fcn.1004ca90
lea ecx, [esi + 1]
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x320], eax
push eax
push str.Temp__05d
lea eax, [ebp - 0x21c]
push eax
call fcn.100029e0
add esp, 0x10
lea edx, [ebp - 0x21c]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10072201
sub edx, esi
lea edi, [ebp - 0x11c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10072211
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp + 0x14]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x320]
cmp dword [ebp + 0x10], 0
jne 0x10072262
cmp dword [0x103c9f4c], 0
je 0x1007225b
push str.D_05d__05d.raw
jmp 0x10072267
push str.M_05d__05d.raw
jmp 0x10072267
push str.L_05d__05d.raw
push eax
call fcn.100029e0
add esp, 0x10
lea edx, [ebp - 0x21c]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10072278
sub edx, esi
lea edi, [ebp - 0x11c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10072288
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x328]
mov esi, dword [ebp - 0x32c]
jmp 0x100722cd
push 0xf
mov edi, dword [ebp - 0x328]
push edi
mov esi, dword [ebp - 0x32c]
push esi
call fcn.1004cce0
add esp, 0xc
push eax
call fcn.10050140
add esp, 8
push 1
push edi
lea eax, [esi + esi]
push eax
lea eax, [ebp - 0x11c]
push eax
push 1
call fcn.100bb150
add esp, 0x14
test eax, eax
je 0x10072331
lea eax, [ebp - 0x11c]
push eax
call fcn.100bbbe0
push eax
push str.Saved__s
lea eax, [ebp - 0x31c]
push eax
call fcn.100029e0
push 1
lea eax, [ebp - 0x31c]
push eax
call fcn.100bbda0
add esp, 0x18
mov esi, 1
mov dword [ebp - 0x324], esi
push 0xffffffffffffffff
mov ecx, 0x103c8e30
call fcn.100d2b35
jmp 0x10072351
mov esi, dword [ebp - 0x324]
push 0xffffffffffffffff
mov ecx, 0x103c8e30
call fcn.100d2b35
jmp 0x10072351
mov esi, dword [ebp - 0x324]
mov edi, dword [ebp - 0x328]
mov dword [ebp - 4], 0xfffffffe
movups xmm0, xmmword [ebp - 0x34c]
movups xmm1, xmmword [ebp - 0x394]
movups xmm2, xmmword [ebp - 0x3a4]
movq xmm3, qword [ebp - 0x33c]
call fcn.100723c8
call sym.VADAV.dll_VD_LogClose
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10291e04
mov esp, ebp
pop ebp
ret 0x10