Function at 0x410cdb
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [0x49d70c]
mov dword [ebp - 0x14], ebx
push str.datamain_flashRole_
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x410d3e
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [0x49d70c]
mov dword [ebp - 0x14], ebx
push str.datamain.dds
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push dword [ebp - 0x18]
mov eax, 0
call fcn.00446c30
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x410d93
push ebx
call fcn.004430f9
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410da7
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00402387
and eax, 1
xor eax, 1
test eax, eax
je 0x410dcb
lea eax, [ebp - 4]
push eax
call fcn.004023aa
push 0x4722d5
push dword [ebp - 8]
call fcn.004010c7
add esp, 8
cmp eax, 0
je 0x410f51
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00402a7d
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410e16
push ebx
call fcn.004430f9
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x410ebb
mov ebx, dword [0x49d70c]
mov dword [ebp - 0x14], ebx
push dword [ebp - 8]
push str.datamain_
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 3
call fcn.0040106b
add esp, 0xc
mov dword [ebp - 0x18], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x1c], eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x410e6f
mov eax, 0x4722d5
push eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x410e83
mov eax, 0x4722d5
push eax
push 2
mov ebx, 0x240
call fcn.00447040
add esp, 0x1c
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x410ea6
push ebx
call fcn.004430f9
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x410eb6
push ebx
call fcn.004430f9
add esp, 4
jmp 0x410f17
mov ebx, dword [0x49d70c]
mov dword [ebp - 0x14], ebx
push dword [ebp - 8]
push str.datamain_
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 3
call fcn.0040106b
add esp, 0xc
mov dword [ebp - 0x18], eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x410ef4
mov eax, 0x4722d5
push eax
push 1
mov ebx, 0x244
call fcn.00445bc0
add esp, 0x10
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x410f17
push ebx
call fcn.004430f9
add esp, 4
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push 0
mov eax, 0
call fcn.00446c30
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410f48
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x410dcb
mov eax, str.C:Program_FilesProtect.sys
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x410f67
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, str.C:Program_FilesProtect.sysCON1.._
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410f81
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00402a7d
test eax, eax
je 0x410fee
push 0x80000301
push 0
push 0x20
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x410fb5
mov eax, 0x4722d5
push eax
push 2
mov ebx, 0x260
call fcn.00446100
add esp, 0x1c
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x410fdb
mov eax, 0x4722d5
push eax
push 1
mov ebx, 0x244
call fcn.00445bc0
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
call fcn.00402387
and eax, 1
xor eax, 1
test eax, eax
je 0x4110c6
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.00445fd0
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41104c
push ebx
call fcn.004430f9
add esp, 4
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
nop
nop
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41106e
push ebx
call fcn.004430f9
add esp, 4
push 0
push str.C:Program_FilesProtect.sysCON_
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
nop
nop
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
nop
nop
push 0x80000301
push 0
push 2
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4110b3
mov eax, 0x4722d5
push eax
push 2
mov ebx, 0x260
call fcn.00446100
add esp, 0x1c
push dword [ebp - 0x20]
mov eax, 1
call fcn.00446d80
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4110e6
push ebx
call fcn.004430f9
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4110f6
push ebx
call fcn.004430f9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x411106
push ebx
call fcn.004430f9
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x411116
push ebx
call fcn.004430f9
add esp, 4
mov esp, ebp
pop ebp
ret