Function at 0x406ad6
Capabilities:
Create directory

Disassembly:
mov eax, 0x44fcfb
call fcn.0041db18
sub esp, 0x29c
push ebx
push esi
push edi
push 0x100
xor esi, esi
lea eax, [ebp - 0x180]
push esi
push eax
mov ebx, ecx
call fcn.0041dc40
push 0x20
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0041dc40
add esp, 0x18
push str._Y_m_d_H_M_S
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004043a2
mov ecx, eax
call fcn.004055fd
mov eax, dword [eax]
push 0xe
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041cfd0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004011ce
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x2a8], esi
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x29c], esi
mov dword [ebp - 0x298], esi
mov dword [ebp - 0x294], esi
call fcn.00433358
lea eax, [ebp - 0x2a8]
push eax
push str.d:datazzfile
mov dword [ebp - 4], esi
call fcn.00433852
test eax, eax
je 0x406b90
cmp byte [ebp - 0x288], 0x10
je 0x406b9c
push esi
push str.d:datazzfile
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.d:datazzfile_
lea ecx, [ebp - 0x30]
call fcn.00401530
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401530
push str.atmtrans_
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00401530
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.00404ad1
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.00404ad1
push str..log
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 5
call fcn.00404b41
add esp, 0x24
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.004011ce
mov edi, dword [ebp - 0x34]
push esi
push 0x3001
push edi
lea ecx, [ebp - 0x80]
call fcn.0043336e
test eax, eax
jne 0x406c3f
lea ecx, [edi - 0x10]
jmp 0x407294
mov al, byte [ebx + 0x1300]
cmp al, 0x31
je 0x406c59
cmp al, 0x49
je 0x406c59
cmp al, 0x32
je 0x406c59
cmp al, 0x30
je 0x406c59
cmp al, 0x42
jne 0x406c73
push 3
pop esi
lea eax, [ebx + 0x142c]
push esi
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.0041cfd0
add esp, 0xc
push 1
mov edi, 0x457c54
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041cfd0
add esp, 0xc
push str._Y_m_d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
inc esi
call fcn.004043a2
mov ecx, eax
call fcn.004055fd
mov eax, dword [eax]
push 8
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004011ce
push 1
add esi, 0xe
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041cfd0
push 4
lea eax, [ebx + 0x131a]
push eax
inc esi
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
push 1
add esi, 4
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041cfd0
lea eax, [ebx + 0x2e8c]
push 4
push eax
inc esi
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
push 1
add esi, 4
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041cfd0
movzx eax, byte [ebx + 0x1300]
add esp, 0x3c
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
inc esi
call fcn.00405365
mov eax, dword [eax]
push 3
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004011ce
push 1
add esi, 3
push edi
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
push 0x20
lea eax, [ebp - 0x54]
push 0
push eax
inc esi
call fcn.0041dc40
push 0x13
lea eax, [ebx + 0x13f0]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041cfd0
add esp, 0x24
cmp byte [ebp - 0x54], 0
je 0x406db0
lea eax, [ebp - 0x54]
cmp byte [eax], 0x20
jne 0x406daa
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x406da2
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401530
mov eax, dword [ebp - 0x2c]
push dword [eax - 0xc]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x2c]
add esi, dword [eax - 0xc]
push 1
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041cfd0
add esp, 0x18
inc esi
cmp byte [ebx + 0x1300], 0x49
jne 0x406e61
push 0x20
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0041dc40
push 0x13
lea eax, [ebx + 0x168f]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041cfd0
add esp, 0x18
cmp byte [ebp - 0x54], 0
je 0x406e30
lea eax, [ebp - 0x54]
cmp byte [eax], 0x20
jne 0x406e2a
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x406e22
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401530
mov eax, dword [ebp - 0x20]
push dword [eax - 0xc]
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x20]
add esi, dword [eax - 0xc]
add esp, 0xc
lea ecx, [eax - 0x10]
call fcn.004011ce
push 1
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041cfd0
mov al, byte [ebx + 0x1300]
add esp, 0xc
inc esi
cmp al, 0x31
je 0x406e8b
cmp al, 0x49
je 0x406e8b
cmp al, 0x42
je 0x406e8b
cmp al, 0x30
jne 0x406ef9
push 0x20
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0041dc40
push 0xc
lea eax, [ebx + 0x131e]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041cfd0
lea eax, [ebp - 0x54]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push 0x20
lea eax, [ebp - 0x54]
push 0
fstp qword [ebp - 0x5c]
push eax
call fcn.0041dc40
fld qword [ebp - 0x5c]
add esp, 0x20
fstp qword [esp]
lea eax, [ebp - 0x54]
push str._09.2f
push eax
call fcn.0041df39
push 9
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
add esp, 0x1c
add esi, 9
push 1
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041cfd0
push 5
lea eax, [ebx + 0x2e82]
push str.00000
push eax
inc esi
call fcn.0041e600
add esp, 0x18
test eax, eax
je 0x406f92
push 0x20
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0041dc40
push 5
lea eax, [ebx + 0x2e82]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041cfd0
lea eax, [ebp - 0x54]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push 0x20
lea eax, [ebp - 0x54]
push 0
fstp qword [ebp - 0x5c]
push eax
call fcn.0041dc40
fld qword [ebp - 0x5c]
add esp, 0x20
fstp qword [esp]
lea eax, [ebp - 0x54]
push str._06.2f
push eax
call fcn.0041df39
push 6
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
add esp, 0x1c
add esi, 6
push 1
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041cfd0
push 4
lea eax, [ebx + 0x2e91]
push eax
inc esi
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
push 1
add esi, 4
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041cfd0
add esp, 0x24
inc esi
cmp byte [ebx + 0x1300], 0x30
jne 0x40703c
push 0x20
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0041dc40
push 6
lea eax, [ebx + 0x1318]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041cfd0
lea eax, [ebp - 0x54]
push eax
call fcn.0041e740
dec eax
push 0x20
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0041dc40
push dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push str._06d
push eax
call fcn.0041df39
push 6
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
add esp, 0x40
add esi, 6
push 1
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041cfd0
add esp, 0xc
inc esi
cmp byte [ebx + 0x1300], 0x30
jne 0x407075
push 4
lea eax, [ebx + 0x2e8c]
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041cfd0
add esp, 0xc
add esi, 4
push 1
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041cfd0
push 1
inc esi
lea eax, [ebp + esi - 0x180]
push 0x457c48
push eax
call fcn.0041cfd0
push 1
inc esi
lea eax, [ebp + esi - 0x180]
push 0x457c44
push eax
call fcn.0041cfd0
add esp, 0x24
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x60]
call fcn.00402d20
mov eax, dword [ebp - 0x80]
push 2
push 0
push 0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xa
call dword [eax + 0x28]
mov eax, dword [ebp - 0x60]
push dword [eax - 0xc]
lea ecx, [ebp - 0x80]
push eax
call fcn.004334e5
lea ecx, [ebp - 0x80]
call fcn.004336f1
cmp dword [ebx + 0x2e9a], 1
jne 0x407278
push str.c:ebms_
lea ecx, [ebp - 0x14]
call fcn.00401530
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xb
call fcn.00404ad1
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xc
call fcn.00404ad1
push str..log
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xd
call fcn.00404b41
add esp, 0x24
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xf
call fcn.004011ce
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edi, str.C:_fephost.ini
push edi
push dword [ebp - 0x34]
push str.SourceFile
push str.Rzflag
call esi
push edi
push dword [ebp - 0x10]
push str.DestFile
push str.Rzflag
call esi
push str.d:dataxml_
lea ecx, [ebp - 0x28]
call fcn.00401530
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x11
call fcn.00404ad1
push str..xml
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x12
call fcn.00404b41
add esp, 0x18
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x14
call fcn.004011ce
push str.c:ebmslogsRZ
lea ecx, [ebp - 0x20]
call fcn.00401530
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00404ad1
push str..xml
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x16
call fcn.00404b41
mov ecx, dword [ebp - 0x58]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.004011ce
push edi
push dword [ebp - 0x18]
push str.SourceFile
push str.xmlflag
call esi
push edi
mov edi, dword [ebp - 0x64]
push edi
push str.DestFile
push str.xmlflag
call esi
and dword [ebx + 0x2e9a], 0
lea ecx, [edi - 0x10]
call fcn.004011ce
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004011ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.0043372d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret