Function at 0x654cf0
Capabilities:
Create directory

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x39c
mov esi, dword [sym.imp.libpcaewin.dll_DTEGetEnv]
mov dword [esp], 0x7acd71
call esi
test eax, eax
je 0x654d90
lea ebx, [esp + 0x59]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strcpy
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov ecx, 0x53
add eax, ebx
mov dword [eax], 0x44414e5c
mov word [eax + 4], cx
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.msvcrt.dll__access
test eax, eax
jne 0x654d60
add esp, 0x39c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call sub.msvcrt.dll__mkdir
mov edx, eax
mov eax, 2
test edx, edx
je 0x654db0
mov dword [esp + 4], eax
mov dword [esp], str.Safeguard_Proper_Version:_ERROR__d_n
call fcn.00654b10
add esp, 0x39c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 1
mov dword [esp], str.Safeguard_Proper_Version:_ERROR__d_n
mov dword [esp + 4], eax
call fcn.00654b10
jmp 0x654d83
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.msvcrt.dll__access
mov edx, eax
mov eax, 3
test edx, edx
jne 0x654d73
mov dword [esp], 0x7acd71
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcpy
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, 0x46
add eax, ebx
mov dword [eax], 0x44414e5c
mov dword [eax + 4], 0x43452d73
mov dword [eax + 8], 0x45442e32
mov word [eax + 0xc], dx
mov dword [esp], ebx
mov dword [esp + 4], 0x7acd87
call sub.msvcrt.dll_fopen
mov ebx, eax
test eax, eax
je 0x654d4e
mov dword [esp + 0x18], 1
lea edi, [esp + 0x263]
lea ebp, [esp + 0x2d]
lea esi, [esi]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x12c
mov dword [esp], edi
call sub.msvcrt.dll_fgets
test eax, eax
je 0x654f88
cmp dword [edi], 0x44414e23
jne 0x654e38
lea eax, [esp + 0x28]
mov dword [esp + 4], 0x7acd8e
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00654a80
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.006e9400
mov dword [esp + 4], 0x8d61a8
mov dword [esp], ebx
call fcn.00639550
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8d6708
mov dword [esp], ebx
call fcn.00647e60
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8d67f8
mov dword [esp], ebx
call fcn.00648e30
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8d5548
mov dword [esp], ebx
call fcn.0062b4c0
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x28]
mov dword [esp], 0x8d552c
mov dword [0x8d5520], eax
mov dword [0x8d5528], 0
call sub.msvcrt.dll_strcpy
mov eax, dword [esp + 0x18]
mov dword [esp], 0x7acd71
lea edx, [eax + 1]
mov dword [esp + 0x1c], edx
call esi
test eax, eax
je 0x654f78
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x15e]
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], str._sNADS_d.NAD
call fcn.00654ae0
lea edx, [esp + 0x15e]
mov dword [esp + 4], 0x7acd85
mov dword [esp], edx
call sub.msvcrt.dll_fopen
test eax, eax
je 0x654f78
mov dword [esp], eax
mov dword [esp + 4], 0x8d5520
mov dword [esp + 0x18], eax
call fcn.00654b40
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
lea esi, [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jmp 0x654e38
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
jmp 0x654d4e