Function at 0x407029
Capabilities:
Create directory

Disassembly:
mov eax, 0x4506c5
call fcn.0041e4b8
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.0041e5e0
push 0x20
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0041e5e0
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.004048c7
mov ecx, eax
call fcn.00405b50
mov eax, dword [eax]
push 0xe
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041d970
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.00433cf8
lea eax, [ebp - 0x2a8]
push eax
push str.d:datazzfile
mov dword [ebp - 4], esi
call fcn.004341f2
test eax, eax
je 0x4070e3
cmp byte [ebp - 0x288], 0x10
je 0x4070ef
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.00405024
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.00405024
push str..log
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 5
call fcn.00405094
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.00433d0e
test eax, eax
jne 0x407192
lea ecx, [edi - 0x10]
jmp 0x4077e7
mov al, byte [ebx + 0x130c]
cmp al, 0x31
je 0x4071ac
cmp al, 0x49
je 0x4071ac
cmp al, 0x32
je 0x4071ac
cmp al, 0x30
je 0x4071ac
cmp al, 0x42
jne 0x4071c6
push 3
pop esi
lea eax, [ebx + 0x143c]
push esi
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.0041d970
add esp, 0xc
push 1
mov edi, 0x457d18
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041d970
add esp, 0xc
push str._Y_m_d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
inc esi
call fcn.004048c7
mov ecx, eax
call fcn.00405b50
mov eax, dword [eax]
push 8
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041d970
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.0041d970
push 4
lea eax, [ebx + 0x132a]
push eax
inc esi
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041d970
push 1
add esi, 4
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041d970
lea eax, [ebx + 0x2ea0]
push 4
push eax
inc esi
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041d970
push 1
add esi, 4
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041d970
movzx eax, byte [ebx + 0x130c]
add esp, 0x3c
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
inc esi
call fcn.004058b8
mov eax, dword [eax]
push 3
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041d970
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.0041d970
push 0x20
lea eax, [ebp - 0x54]
push 0
push eax
inc esi
call fcn.0041e5e0
push 0x13
lea eax, [ebx + 0x1400]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041d970
add esp, 0x24
cmp byte [ebp - 0x54], 0
je 0x407303
lea eax, [ebp - 0x54]
cmp byte [eax], 0x20
jne 0x4072fd
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x4072f5
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.0041d970
mov eax, dword [ebp - 0x2c]
add esi, dword [eax - 0xc]
push 1
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041d970
add esp, 0x18
inc esi
cmp byte [ebx + 0x130c], 0x49
jne 0x4073b4
push 0x20
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0041e5e0
push 0x13
lea eax, [ebx + 0x169f]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041d970
add esp, 0x18
cmp byte [ebp - 0x54], 0
je 0x407383
lea eax, [ebp - 0x54]
cmp byte [eax], 0x20
jne 0x40737d
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x407375
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.0041d970
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.0041d970
mov al, byte [ebx + 0x130c]
add esp, 0xc
inc esi
cmp al, 0x31
je 0x4073de
cmp al, 0x49
je 0x4073de
cmp al, 0x42
je 0x4073de
cmp al, 0x30
jne 0x40744c
push 0x20
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0041e5e0
push 0xc
lea eax, [ebx + 0x132e]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041d970
lea eax, [ebp - 0x54]
push eax
call fcn.0041fb69
fmul qword [0x457c80]
push 0x20
lea eax, [ebp - 0x54]
push 0
fstp qword [ebp - 0x5c]
push eax
call fcn.0041e5e0
fld qword [ebp - 0x5c]
add esp, 0x20
fstp qword [esp]
lea eax, [ebp - 0x54]
push str._09.2f
push eax
call fcn.0041e8d9
push 9
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041d970
add esp, 0x1c
add esi, 9
push 1
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041d970
push 5
lea eax, [ebx + 0x2e96]
push str.00000
push eax
inc esi
call fcn.0041efa0
add esp, 0x18
test eax, eax
je 0x4074e5
push 0x20
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0041e5e0
push 5
lea eax, [ebx + 0x2e96]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041d970
lea eax, [ebp - 0x54]
push eax
call fcn.0041fb69
fmul qword [0x457c80]
push 0x20
lea eax, [ebp - 0x54]
push 0
fstp qword [ebp - 0x5c]
push eax
call fcn.0041e5e0
fld qword [ebp - 0x5c]
add esp, 0x20
fstp qword [esp]
lea eax, [ebp - 0x54]
push str._06.2f
push eax
call fcn.0041e8d9
push 6
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041d970
add esp, 0x1c
add esi, 6
push 1
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041d970
push 4
lea eax, [ebx + 0x2ea5]
push eax
inc esi
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041d970
push 1
add esi, 4
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041d970
add esp, 0x24
inc esi
cmp byte [ebx + 0x130c], 0x30
jne 0x40758f
push 0x20
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0041e5e0
push 6
lea eax, [ebx + 0x1328]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041d970
lea eax, [ebp - 0x54]
push eax
call fcn.0041f0e0
dec eax
push 0x20
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0041e5e0
push dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push str._06d
push eax
call fcn.0041e8d9
push 6
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041d970
add esp, 0x40
add esi, 6
push 1
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041d970
add esp, 0xc
inc esi
cmp byte [ebx + 0x130c], 0x30
jne 0x4075c8
push 4
lea eax, [ebx + 0x2ea0]
push eax
lea eax, [ebp + esi - 0x180]
push eax
call fcn.0041d970
add esp, 0xc
add esi, 4
push 1
lea eax, [ebp + esi - 0x180]
push edi
push eax
call fcn.0041d970
push 1
inc esi
lea eax, [ebp + esi - 0x180]
push str.1234
push eax
call fcn.0041d970
push 1
inc esi
lea eax, [ebp + esi - 0x180]
push 0x457d0c
push eax
call fcn.0041d970
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.00433e85
lea ecx, [ebp - 0x80]
call fcn.00434091
cmp dword [ebx + 0x2eae], 1
jne 0x4077cb
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.00405024
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xc
call fcn.00405024
push str..log
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xd
call fcn.00405094
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.00405024
push str..xml
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x12
call fcn.00405094
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.00405024
push str..xml
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x16
call fcn.00405094
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 + 0x2eae], 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.004340cd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret