Function at 0x41e939
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x140
mov dword [ebp - 0x864], eax
xor edi, edi
lea eax, [ebp - 0x860]
mov dword [ebp - 0x86c], ebx
push edi
push eax
call fcn.004c37f0
push 0x104
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004c37f0
push 0x104
lea eax, [ebp - 0x310]
push edi
push eax
call fcn.004c37f0
push 0x104
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004c37f0
push esi
call fcn.0048c30a
add esp, 0x34
test eax, eax
jne 0x41ea20
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x108]
push eax
call fcn.0048cf12
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x108]
add esp, 0x10
push edi
push eax
call esi
lea eax, [ebp - 0x108]
push eax
call fcn.0041fbe3
pop ecx
test eax, eax
jne 0x41ea32
push edi
lea eax, [ebp - 0x108]
push eax
call esi
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:5:CopyNewerFiles___FAILED:_CreateDirectory___s___FAILED:__s
call fcn.0041c80a
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
push 0x104
lea eax, [ebp - 0x310]
push ebx
push eax
call fcn.0048dd2a
mov esi, 0x4e86ec
push esi
push ebx
call fcn.004c3950
add esp, 0x14
test eax, eax
jne 0x41ea71
push ebx
call fcn.0041fbe3
pop ecx
test eax, eax
je 0x41ea71
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.0048a927
pop ecx
pop ecx
push 0x400001
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00420111
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x41ea20
lea eax, [ebp - 0x310]
push 0x4e86f0
push eax
call fcn.0048d9da
mov ebx, dword [ebp - 0x864]
xor esi, esi
pop ecx
pop ecx
mov dword [ebp - 0x870], eax
test byte [ebp - 0x860], 0x10
mov dword [ebp - 0x868], esi
jne 0x41eb85
push 0x104
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0048c896
lea eax, [ebp - 0x860]
push eax
push edi
call fcn.004206a3
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.0041ddf6
add esp, 0x28
test eax, eax
jne 0x41eb27
cmp dword [ebp + 0x14], eax
push 1
pop ecx
cmovne eax, ecx
jmp 0x41eb2a
xor ecx, ecx
inc ecx
test ebx, ebx
je 0x41eb64
test eax, eax
lea eax, [ebp - 0x20c]
jle 0x41eb57
push 0
push eax
lea eax, [ebp - 0x834]
push eax
call ebx
mov ecx, dword [ebp - 0x868]
add esp, 0xc
test eax, eax
lea esi, [ecx + 1]
cmove esi, ecx
jmp 0x41eb85
push ecx
push eax
lea eax, [ebp - 0x834]
push eax
call ebx
jmp 0x41eb7d
test eax, eax
jle 0x41eb85
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.0042078a
add esp, 0xc
test eax, eax
je 0x41eb85
inc esi
lea eax, [ebp - 0x860]
push eax
push edi
call fcn.004206dd
pop ecx
pop ecx
test eax, eax
jne 0x41eab4
mov ebx, dword [ebp - 0x86c]
cmp dword [ebp + 0x18], eax
je 0x41edbf
cmp dword [ebp - 0x870], eax
jne 0x41edbf
push 0x104
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.004c37f0
push 0x104
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004c37f0
push 0x104
lea eax, [ebp - 0x720]
push 0
push eax
call fcn.004c37f0
push 0x104
lea eax, [ebp - 0x518]
push 0
push eax
call fcn.004c37f0
push 0x104
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x414]
push eax
call fcn.0048ccf5
add esp, 0x40
lea eax, [ebp - 0x414]
push 0x4e86ec
push eax
call fcn.0048a927
push edi
call fcn.0041ffe4
push 0x400001
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00420111
mov edi, eax
add esp, 0x18
cmp edi, 0xffffffff
jne 0x41ec83
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x108]
push ecx
push ebx
push str.:7:CopyNewerFiles___s_____s___FAILED:_FindFirstFileOrdered___s___FAILED_to_find_subdirectories_
call fcn.0041c80a
add esp, 0x10
jmp 0x41ea20
mov ebx, dword [ebp - 0x864]
test byte [ebp - 0x860], 0x10
je 0x41eda8
lea eax, [ebp - 0x834]
push 0x4e803c
push eax
call fcn.004cd060
pop ecx
pop ecx
test eax, eax
je 0x41eda8
lea eax, [ebp - 0x834]
push 0x4f5908
push eax
call fcn.004cd060
pop ecx
pop ecx
test eax, eax
je 0x41eda8
push 0x104
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.0048a9af
push 0x104
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x518]
push eax
call fcn.0048ccf5
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.004cd1a7
add esp, 0x2c
test eax, eax
je 0x41eda8
lea eax, [ebp - 0x518]
push eax
call fcn.0048cb09
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.004cd1a7
add esp, 0xc
test eax, eax
je 0x41eda8
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x720]
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x720]
push eax
call fcn.0048a927
push ebx
push dword [ebp + 0x18]
lea eax, [ebp - 0x720]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.0041e939
add esp, 0x2c
add esi, eax
lea eax, [ebp - 0x860]
push eax
push edi
call fcn.004206dd
pop ecx
pop ecx
test eax, eax
jne 0x41ec89
push edi
call fcn.0041ffe4
pop ecx
mov eax, esi
jmp 0x41ea23