Function at 0x42d3e0
Capabilities:
Access peb ldr_data
Copy file
Delete file
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x473ac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x48fb24]
push ebx
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
push 0xffffffffffffffff
push 0
mov ecx, 0x4c5c88
mov byte [esp + 0x40], 3
call fcn.00461f8c
mov esi, dword [esp + 0x40]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
lea edi, [esi + 0x80]
mov dword [0x4c5c84], 0
push edi
mov byte [0x493bac], 1
call fcn.0046260d
call fcn.004387f0
add esp, 4
mov byte [0x493bac], 0
test al, al
je 0x42d754
push 0x48ed88
lea ecx, [esi + 0x3e0]
call fcn.004672ef
mov eax, dword [edi]
lea ecx, [esi + 0x68]
push eax
push str._s.
push ecx
call fcn.00461a66
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.Copy_No_send_Log_File
call fcn.00462906
mov ecx, esi
call fcn.00403ee0
mov eax, dword [0x4c5c90]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x40], ebx
jle 0x42d754
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [0x491f50]
push edx
push 0
push str.Enable
push str.CloseAP
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
je 0x42d73c
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, 0x4c5c88
call fcn.00407870
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 4
call fcn.004629d1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 3
call fcn.00462898
push str.All_ReportsDataLog_
lea ecx, [esp + 0x10]
call fcn.00461725
cmp eax, 0xffffffff
je 0x42d724
lea ecx, [esp + 0x24]
push 4
push ecx
lea ecx, [esp + 0x14]
call fcn.0046160f
mov eax, dword [eax]
push str..log
push eax
mov byte [esp + 0x40], 5
call fcn.0044bf3e
add esp, 8
test eax, eax
je 0x42d58f
lea edx, [esp + 0x20]
push 4
push edx
lea ecx, [esp + 0x14]
call fcn.0046160f
mov eax, dword [eax]
push str..txt
push eax
call fcn.0044bf3e
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne bl
call fcn.00462898
test bl, bl
je 0x42d58f
mov bl, 1
jmp 0x42d591
xor bl, bl
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 3
call fcn.00462898
test bl, bl
jne 0x42d724
mov eax, dword [esp + 0x18]
push str.DG1__DS_DIR_HDR
push eax
call fcn.0044bf3e
add esp, 8
test eax, eax
je 0x42d724
push 0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
push str.Process_No_send_Log_File_:
push ecx
call fcn.00462ba1
mov ecx, esi
call fcn.004089b0
push 0x5c
lea ecx, [esp + 0x10]
call fcn.00461703
mov ecx, dword [esp + 0xc]
inc eax
lea edx, [esp + 0x28]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.0046160f
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.004629d1
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 3
call fcn.00462898
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
lea edx, [esp + 0x1c]
push str._s_s
push edx
call fcn.00461a66
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push 1
push eax
push ecx
call edi
test eax, eax
jne 0x42d6a6
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push 1
push edx
push eax
call edi
test eax, eax
jne 0x42d6a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push str._Error__Copy__s_to__s_failed____OSLastError_d
push eax
call fcn.00461a66
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
mov eax, dword [esp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
test eax, eax
jne 0x42d704
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0xc]
push ecx
call ebx
test eax, eax
jne 0x42d724
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xc]
push eax
push edx
lea eax, [esp + 0x18]
push str._Error__Delete__s_failed____OSLastError_d
push eax
call fcn.00461a66
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
jmp 0x42d724
push 0
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x34], esp
push ecx
push str.Delete_Log_File_Pass_:
push eax
call fcn.00462ba1
mov ecx, esi
call fcn.004089b0
mov ebx, dword [esp + 0x40]
mov eax, dword [0x4c5c90]
inc ebx
cmp ebx, eax
mov dword [esp + 0x40], ebx
jl 0x42d4ca
jmp 0x42d754
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.Close_AP_Event...
call fcn.00462906
mov ecx, esi
call fcn.00403ee0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.Check_No_send_Log_File_Done
call fcn.00462906
mov ecx, esi
call fcn.00403ee0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x491f50
call fcn.0046260d
push ecx
mov byte [esp + 0x40], 7
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x48bde0
call fcn.00462906
push ecx
mov byte [esp + 0x44], 8
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Enable
call fcn.00462906
push ecx
mov byte [esp + 0x48], 9
mov ecx, esp
mov dword [esp + 0x30], esp
push str.SeachNoSendFile
call fcn.00462906
mov byte [esp + 0x48], 3
call fcn.0040b2a0
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00462898
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.00462898
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.00462898
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.00462898
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret