Function at 0x4cfe30
Capabilities:
Delete file
Get file size
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4f8a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x44], 2
lea eax, [esp + 0x20]
push eax
call fcn.00465390
mov byte [esp + 0x48], 3
push 0x502b3c
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00402a60
add esp, 0x10
mov byte [esp + 0x44], 5
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x4ff418
push 0x502d68
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
mov ebp, dword [esp + 0x54]
cmp ebp, 1
jne 0x4cff55
xor esi, esi
push esi
call fcn.0046adb0
add esp, 4
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
push ebp
push ebp
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
call fcn.004df300
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
push 0x5116d8
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
push 0xff62
lea ecx, [esp + 0x2c]
push str.Set_d_s_d_d_d_s
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x1c
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x48], 6
mov eax, dword [esp + 0x50]
push eax
mov byte [esp + 0x4c], 5
mov ecx, edi
call fcn.004aa4c0
jmp 0x4d06cb
push 0x51c210
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x4d0062
lea ecx, [esp + 0x2c]
push ecx
call fcn.00465390
mov byte [esp + 0x48], 7
push 0x4ff418
push eax
lea edx, [esp + 0x34]
push edx
call fcn.00402a60
mov byte [esp + 0x54], 8
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.004029d0
mov byte [esp + 0x60], 9
push str..SAL.txt
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00402a60
add esp, 0x28
mov byte [esp + 0x44], 0xb
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0xc
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov bl, 0xd
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x18]
push 0
push 1
push ecx
call fcn.0046aae0
add esp, 0xc
test eax, eax
je 0x4d0053
mov edx, dword [esp + 0x50]
push 0
push 0x51c210
push edx
push 0xee68
lea eax, [esp + 0x24]
push str.Set_d_s_s_d
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x14
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x48], 0xe
mov eax, dword [esp + 0x50]
push eax
mov byte [esp + 0x4c], bl
mov ecx, edi
call fcn.004aa4c0
mov byte [esp + 0x44], 5
lea ecx, [esp + 0x18]
jmp 0x4d06c5
mov byte [esp + 0x44], 5
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [0x53eff4]
mov byte [0x10d7c70], 1
cmp eax, 0xffffffff
je 0x4d0084
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x53eff4], 0xffffffff
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x44], 0xf
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebp, 3
jne 0x4d0107
lea ecx, [esp + 0x28]
push ecx
call fcn.00465390
mov bl, 0x10
mov byte [esp + 0x48], bl
push str.LogPerfPerf.zip
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00402a60
add esp, 0x10
mov byte [esp + 0x44], 0x11
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0xf
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x4ff418
push 0x502d68
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
jmp 0x4d0539
push 0x51c210
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4d01ee
push str.SALOld
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4d01ee
push str.SALNew
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4d01ee
lea eax, [esp + 0x18]
push eax
call fcn.00465390
mov byte [esp + 0x48], 0x16
push 0x4ff418
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00402a60
mov byte [esp + 0x54], 0x17
lea edx, [esp + 0x60]
push edx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004029d0
mov bl, 0x18
mov byte [esp + 0x60], bl
push str..zip
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.00402a60
add esp, 0x28
mov byte [esp + 0x44], 0x19
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0x17
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0x16
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0xf
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
call fcn.004b0350
jmp 0x4d0286
lea edx, [esp + 0x18]
push edx
call fcn.00465390
mov byte [esp + 0x48], 0x12
push 0x4ff418
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00402a60
mov byte [esp + 0x54], 0x13
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
call fcn.004029d0
mov bl, 0x14
mov byte [esp + 0x60], bl
push str..SAL.zip
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00402a60
add esp, 0x28
mov byte [esp + 0x44], 0x15
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0x13
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0x12
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0xf
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x4ff418
push 0x502d68
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
lea ecx, [esp + 0x2c]
push ecx
call fcn.00465390
add esp, 4
mov byte [esp + 0x44], 0x1a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov byte [esp + 0x44], 0xf
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x54]
cmp dword [eax - 0xc], 0xa
jle 0x4d02e9
push eax
push str.DeleteFile_30__s_
push 8
call fcn.0043d500
mov edx, dword [esp + 0x60]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x1e
call edi
mov eax, dword [esp + 0x54]
push 0
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0043b750
test eax, eax
jne 0x4d0539
push 0x51c210
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4d035a
push str.SALOld
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4d035a
push str.SALNew
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4d035a
mov edx, dword [esp + 0x20]
push 0
push 0x515814
push edx
call fcn.0043ccb0
call fcn.004984a0
jmp 0x4d052f
lea eax, [esp + 0x24]
push eax
call fcn.00465390
mov byte [esp + 0x48], 0x1b
push 0x4ff418
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00402a60
mov byte [esp + 0x54], 0x1c
lea edx, [esp + 0x60]
push edx
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004029d0
mov byte [esp + 0x60], 0x1d
push str..txt
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00402a60
add esp, 0x28
mov byte [esp + 0x44], 0x1f
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0x20
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov bl, 0x21
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x51c210
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x4d0411
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x4c], 0x22
mov byte [esp + 0x4c], bl
call fcn.004cb560
add esp, 8
jmp 0x4d04e4
push str.SALNew
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x4d044d
push eax
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x4c], 0x23
mov byte [esp + 0x4c], bl
call fcn.004cb560
add esp, 8
jmp 0x4d04e4
lea ecx, [esp + 0x30]
push ecx
call fcn.00465390
mov byte [esp + 0x48], 0x24
push 0x4ff418
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00402a60
mov byte [esp + 0x54], 0x25
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
call fcn.004029d0
mov byte [esp + 0x60], 0x26
push str..SAL.txt
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00402a60
add esp, 0x28
mov byte [esp + 0x44], 0x27
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x44], 0x26
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0x25
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0x24
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push str..txt
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00402a60
add esp, 0xc
mov byte [esp + 0x44], 0x28
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
push ecx
push eax
push edx
call fcn.0043cc90
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0xf
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x20]
push eax
call fcn.0043b4c0
mov ecx, dword [esp + 0x54]
push 0
push 0
push 3
push 0
push 3
push bind
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x1e
mov esi, eax
call edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, 0xffffffff
je 0x4d06bc
lea edx, [esp + 0x50]
push edx
mov ecx, 0x10de388
call dword [sym.imp.mfc90.dll_Ordinal_817]
push 0x51c210
lea ecx, [esp + 0x5c]
mov dword [0x53eff4], esi
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4d065a
push str.SALOld
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4d065a
push str.SALNew
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4d065a
cmp ebp, 3
jne 0x4d063b
lea eax, [esp + 0x30]
push eax
call fcn.00410ab0
lea ecx, [esp + 0x30]
call fcn.004093d0
push eax
lea ecx, [esp + 0x34]
call fcn.004093a0
push eax
lea ecx, [esp + 0x38]
call fcn.00409370
push eax
lea ecx, [esp + 0x3c]
call fcn.00409350
push eax
lea ecx, [esp + 0x40]
call fcn.00409320
mov esi, dword [sym.imp.mfc90.dll_Ordinal_2539]
push eax
push str._02d__02d__02d__02d__02d
push 0x10dd3a0
call esi
mov ecx, dword [0x10dd3a0]
mov edx, dword [esp + 0x6c]
push ecx
push edx
push 0xee68
lea eax, [esp + 0x3c]
push str.Set_d_sPERF_s
push eax
call esi
add esp, 0x30
jmp 0x4d067e
mov ecx, dword [esp + 0x50]
push ecx
push 0xee68
lea edx, [esp + 0x1c]
push 0x504d08
push edx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x10
jmp 0x4d067e
mov eax, dword [esp + 0x50]
push 1
push 0x51c210
push eax
push 0xee68
lea ecx, [esp + 0x24]
push str.Set_d_s_s_d
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x18
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x48], 0x29
mov eax, dword [esp + 0x50]
push eax
mov byte [esp + 0x4c], 0xf
mov ecx, dword [esp + 0x40]
call fcn.004aa4c0
mov ecx, dword [esp + 0x50]
push ecx
push str.SendCommand_TC_SET_ZIP__s_
push 8
call fcn.0043d500
add esp, 0xc
mov byte [esp + 0x44], 5
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 2
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x44], 0
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x10