Function at 0x424670
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbdc
mov eax, dword [0x488fdc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x858], 0
mov dword [ebp - 0xbcc], 0
mov dword [ebp - 0x6b4], 0
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x858]
push eax
lea ecx, [ebp - 0x5a8]
push ecx
call fcn.00445510
add esp, 8
lea edx, [ebp - 0x5a8]
push edx
call fcn.00445950
add esp, 4
mov ecx, dword [ebp - 0x858]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x858], edx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x858]
push eax
lea ecx, [ebp - 0x4a3]
push ecx
call fcn.00445510
add esp, 8
lea edx, [ebp - 0x4a3]
push edx
call fcn.00445950
add esp, 4
mov ecx, dword [ebp - 0x858]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x858], edx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x858]
push eax
lea ecx, [ebp - 0x299]
push ecx
call fcn.00445510
add esp, 8
lea edx, [ebp - 0x299]
push edx
call fcn.00445950
add esp, 4
mov ecx, dword [ebp - 0x858]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x858], edx
push 4
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x858]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00445d50
add esp, 0xc
mov edx, dword [ebp - 0x858]
add edx, 4
mov dword [ebp - 0x858], edx
push 4
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x858]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00445d50
add esp, 0xc
mov edx, dword [ebp - 0x858]
add edx, 4
mov dword [ebp - 0x858], edx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x858]
push eax
lea ecx, [ebp - 0xb00]
push ecx
call fcn.00445510
add esp, 8
lea edx, [ebp - 0xb00]
push edx
call fcn.00445950
add esp, 4
mov ecx, dword [ebp - 0x858]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x858], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
lea edx, [ebp - 0x5a8]
push edx
push str.sisterInfo.FileName:__s_
call fcn.00428bf0
add esp, 8
lea eax, [ebp - 0x4a3]
push eax
push str.sisterInfo.ServerDirectory:__s_
call fcn.00428bf0
add esp, 8
lea ecx, [ebp - 0x299]
push ecx
push str.sisterInfo.ServerAddress:__s_
call fcn.00428bf0
add esp, 8
mov edx, dword [ebp - 0x24]
push edx
push str.sisterInfo.UserId:__d_
call fcn.00428bf0
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
push str.sisterInfo.HimId:__d_
call fcn.00428bf0
add esp, 8
push 0x100
push 0
push 0x48ff00
call fcn.004456b0
add esp, 0xc
push 0
push 0x48ff00
call fcn.0043ce10
add esp, 8
push 0x48ff00
lea ecx, [ebp - 0x39e]
push ecx
call fcn.00445510
add esp, 8
push 0x100
push 0
push 0x48cd68
call fcn.004456b0
add esp, 0xc
push 0x100
push 0x48cd68
call fcn.0043c190
add esp, 8
push 0x48cd68
lea edx, [ebp - 0x194]
push edx
call fcn.00445510
add esp, 8
lea eax, [ebp - 0xa38]
push eax
call fcn.00424eb0
add esp, 4
lea ecx, [ebp - 0xa38]
push ecx
call fcn.00424e90
add esp, 4
push eax
lea edx, [ebp - 0x850]
push edx
call fcn.00445510
add esp, 8
mov dword [ebp - 0x6b8], 0
jmp 0x4248ef
mov eax, dword [ebp - 0x6b8]
add eax, 1
mov dword [ebp - 0x6b8], eax
lea ecx, [ebp - 0x850]
push ecx
call fcn.00445950
add esp, 4
cmp dword [ebp - 0x6b8], eax
jge 0x42495f
mov edx, dword [ebp - 0x6b8]
movsx eax, byte [ebp + edx - 0x850]
cmp eax, 0xa
je 0x42492c
mov ecx, dword [ebp - 0x6b8]
movsx edx, byte [ebp + ecx - 0x850]
cmp edx, 0xd
jne 0x42493c
mov eax, dword [ebp - 0x6b8]
mov byte [ebp + eax - 0x850], 0
jmp 0x42495d
mov ecx, dword [ebp - 0x6b8]
movsx edx, byte [ebp + ecx - 0x850]
cmp edx, 0x20
jne 0x42495d
mov eax, dword [ebp - 0x6b8]
mov byte [ebp + eax - 0x850], 0x5f
jmp 0x4248e0
lea ecx, [ebp - 0x850]
push ecx
lea edx, [ebp - 0x8f]
push edx
call fcn.00445510
add esp, 8
movzx eax, word [ebp - 0xa30]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x5a8]
push ecx
push str.C:medent_faxrecv_
push 0x46b0d4
lea edx, [ebp - 0x788]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 0x854], 0
lea eax, [ebp - 0x5a8]
push eax
push 0x48c670
push 0x46b0dc
lea ecx, [ebp - 0x6b0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x46b0e8
lea edx, [ebp - 0x6b0]
push edx
call fcn.00448c8e
add esp, 8
mov dword [ebp - 0x6bc], eax
cmp dword [ebp - 0x6bc], 0
jne 0x424a53
mov eax, dword [ebp - 0x854]
mov dword [ebp - 0xbd0], eax
mov ecx, dword [ebp - 0xbd0]
push ecx
call fcn.00449be2
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x6b0]
push eax
push str.fopen__s_w__Failed_In_SetTextFile___With_errno___d__ctr:_d
call fcn.00428bf0
add esp, 0x10
mov ecx, dword [ebp - 0x854]
add ecx, 1
mov dword [ebp - 0x854], ecx
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x6bc], 0
jne 0x424a65
cmp dword [ebp - 0x854], 0xa
jl 0x4249e7
cmp dword [ebp - 0x6bc], 0
je 0x424bb2
lea edx, [ebp - 0x4a3]
push edx
push 0x46b12c
mov eax, dword [ebp - 0x6bc]
push eax
call fcn.00449a3b
add esp, 0xc
lea ecx, [ebp - 0x39e]
push ecx
push 0x46b130
mov edx, dword [ebp - 0x6bc]
push edx
call fcn.00449a3b
add esp, 0xc
lea eax, [ebp - 0x299]
push eax
push 0x46b134
mov ecx, dword [ebp - 0x6bc]
push ecx
call fcn.00449a3b
add esp, 0xc
lea edx, [ebp - 0x194]
push edx
push 0x46b138
mov eax, dword [ebp - 0x6bc]
push eax
call fcn.00449a3b
add esp, 0xc
lea ecx, [ebp - 0x8f]
push ecx
push 0x46b13c
mov edx, dword [ebp - 0x6bc]
push edx
call fcn.00449a3b
add esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
push 0x46b140
mov ecx, dword [ebp - 0x6bc]
push ecx
call fcn.00449a3b
add esp, 0xc
mov edx, dword [ebp - 0x24]
push edx
push 0x46b144
mov eax, dword [ebp - 0x6bc]
push eax
call fcn.00449a3b
add esp, 0xc
mov ecx, dword [ebp - 0x20]
push ecx
push 0x46b148
mov edx, dword [ebp - 0x6bc]
push edx
call fcn.00449a3b
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
push 0x46b14c
mov ecx, dword [ebp - 0x6bc]
push ecx
call fcn.00449a3b
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
push 0x46b150
mov eax, dword [ebp - 0x6bc]
push eax
call fcn.00449a3b
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
push 0x46b154
mov edx, dword [ebp - 0x6bc]
push edx
call fcn.00449a3b
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
push 0x46b158
mov ecx, dword [ebp - 0x6bc]
push ecx
call fcn.00449a3b
add esp, 0xc
mov edx, dword [ebp - 0x6bc]
push edx
call fcn.004484c1
add esp, 4
jmp 0x424be0
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x6b0]
push ecx
push str.Failed_To_Write_Sister_File___s__In_SetTextFile___HimId:_d
call fcn.00428bf0
add esp, 0xc
lea edx, [ebp - 0x788]
push edx
call fcn.004494cd
add esp, 4
xor eax, eax
jmp 0x424e7f
lea eax, [ebp - 0x5a8]
push eax
push 0x48c670
push 0x46b198
lea ecx, [ebp - 0x6b0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x5a8]
push edx
push 0x48c460
push str._s_s.txt
lea eax, [ebp - 0xa28]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x46b1b0
push 0x48c460
call fcn.0040fd70
add esp, 8
test eax, eax
jne 0x424ca7
cmp dword [0x4ba0c0], 0
jne 0x424c56
cmp dword [0x4ba0c4], 0
jne 0x424c56
mov dword [ebp - 0xbd4], 0x1000
jmp 0x424c60
mov dword [ebp - 0xbd4], 0
mov ecx, dword [ebp - 0xbd4]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0xa28]
push edx
lea eax, [ebp - 0x6b0]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
test eax, eax
jne 0x424ca7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xa28]
push ecx
lea edx, [ebp - 0x6b0]
push edx
push str.CopyFileEx___s___s__NULL__NULL__NULL__COPY_FILE_NO_BUFFERING__Failed_In_SetTextFile___With_Error___d_
call fcn.00428bf0
add esp, 0x10
lea eax, [ebp - 0x5a8]
push eax
push 0x48c670
push 0x46b220
lea ecx, [ebp - 0x920]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x5a8]
push edx
push 0x48c460
push 0x46b228
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [0x4ba0c0], 0
jne 0x424d07
cmp dword [0x4ba0c4], 0
jne 0x424d07
mov dword [ebp - 0xbd8], 0x1000
jmp 0x424d11
mov dword [ebp - 0xbd8], 0
mov ecx, dword [ebp - 0xbd8]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x920]
push edx
lea eax, [ebp - 0x788]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
mov dword [ebp - 0xbcc], eax
cmp dword [ebp - 0xbcc], 0
jne 0x424d63
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x920]
push ecx
lea edx, [ebp - 0x788]
push edx
push 0x46b230
call fcn.00428bf0
add esp, 0x10
push str.NONE
push 0x48c460
call fcn.0040fd70
add esp, 8
test eax, eax
jne 0x424df3
cmp dword [0x4ba0c0], 0
jne 0x424d97
cmp dword [0x4ba0c4], 0
jne 0x424d97
mov dword [ebp - 0xbdc], 0x1000
jmp 0x424da1
mov dword [ebp - 0xbdc], 0
mov eax, dword [ebp - 0xbdc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0xbc8]
push ecx
lea edx, [ebp - 0x788]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
mov dword [ebp - 0x6b4], eax
cmp dword [ebp - 0x6b4], 0
jne 0x424df3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xbc8]
push eax
lea ecx, [ebp - 0x788]
push ecx
push str.CopyFileEx___s___s_NULL_NULL_NULL_COPY_FILE_NO_BUFFERING__Failed_In_SetTextFile___With_Error___d_
call fcn.00428bf0
add esp, 0x10
cmp dword [ebp - 0xbcc], 0
jne 0x424e29
cmp dword [ebp - 0x6b4], 0
jne 0x424e29
mov edx, dword [ebp - 0x10]
push edx
push str.CopyFileEx___Failed_In_SetTextFile___For_BOTH_TODAYS_FILE_DIR_and_REDUNDANT_DIR_HimId:_d
call fcn.00428bf0
add esp, 8
lea eax, [ebp - 0x788]
push eax
call fcn.004494cd
add esp, 4
xor eax, eax
jmp 0x424e7f
lea ecx, [ebp - 0x788]
push ecx
call fcn.004494cd
add esp, 4
mov dword [ebp - 0x854], 0
lea edx, [ebp - 0xb00]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x424e7a
mov eax, dword [ebp - 0x854]
mov ecx, dword [ebp - 0x854]
add ecx, 1
mov dword [ebp - 0x854], ecx
cmp eax, 0x3c
jge 0x424e7a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x424e42
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044545a
mov esp, ebp
pop ebp
ret