Function at 0x5833c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7337b4
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x899944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
push 0x75d15e
lea ecx, [ebp - 0x18]
call fcn.00577f20
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0x24
push eax
lea ecx, [ebp - 0x28]
call fcn.0057d860
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
add edx, 0x28
push edx
lea ecx, [ebp - 0x88]
call fcn.0057d860
mov eax, dword [ebp - 0x10]
or eax, 2
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x48
push ecx
lea ecx, [ebp - 0x38]
call fcn.0057d860
mov edx, dword [ebp - 0x10]
or edx, 4
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x130]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.00574df0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x130]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
lea edx, [ebp - 0x88]
push edx
call fcn.0057d860
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
lea eax, [ebp - 0x38]
push eax
call fcn.0057d860
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
call fcn.00596be0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x14]
mov edx, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [edx + 4]
sub ecx, dword [eax]
sar ecx, 6
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
jne 0x58361b
mov edx, dword [ebp - 0x14]
add edx, 8
push edx
lea ecx, [ebp - 0x40]
call fcn.0057d860
mov eax, dword [ebp - 0x10]
or eax, 8
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x94], ecx
mov byte [ebp - 4], 6
push str.Could_Not_Get_Target_SetUp_Details
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
push ecx
push str.Copy_failed_for_:__s__s_:__s
push str.CFTPGetFileTask::CopyToDestination
push 0xb7d
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 3
mov edx, dword [ebp - 0x14]
push edx
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x28
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40]
sub eax, 0x10
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
call fcn.00577240
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x2c], 1
mov edx, dword [ebp - 0x14]
add edx, 8
push edx
lea ecx, [ebp - 0x44]
call fcn.0057d860
mov eax, dword [ebp - 0x10]
or eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
push ecx
push str.Copy_Failed_from___s_to_Dir__s.
mov edx, dword [ebp - 0x24]
add edx, 0x1c
push edx
call fcn.00575ea0
add esp, 0x10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
sub eax, 0x10
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
call fcn.00577240
call fcn.005803b0
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x5835f8
mov dword [ebp - 0x4c], 0
jmp 0x583601
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x30]
push edx
push 0x178a
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00574dd0
jmp 0x58366e
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x20]
add edx, 0x40
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00574dd0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx]
jne 0x5836c7
mov dword [ebp - 0x58], 1
jmp 0x5836ce
mov dword [ebp - 0x58], 0
mov cl, byte [ebp - 0x58]
mov byte [ebp - 0x19], cl
movzx edx, byte [ebp - 0x19]
test edx, edx
jne 0x5836e5
mov dword [ebp - 0x5c], 1
jmp 0x5836ec
mov dword [ebp - 0x5c], 0
mov al, byte [ebp - 0x5c]
mov byte [ebp - 0x1a], al
movzx ecx, byte [ebp - 0x1a]
test ecx, ecx
je 0x583af4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
add eax, 0x10
push eax
lea ecx, [ebp - 0x64]
call fcn.0057d860
mov ecx, dword [ebp - 0x10]
or ecx, 0x20
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x64]
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xc4]
call fcn.005785c0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x58374c
mov dword [ebp - 0x60], 0
jmp 0x58375b
mov eax, dword [ebp - 0x30]
push eax
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x18]
call fcn.005772d0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x64]
sub eax, 0x10
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
call fcn.00577240
push 0x7606bc
push 0x7606bc
lea ecx, [ebp - 0x18]
call fcn.0059acf0
mov ecx, eax
call fcn.0059ab50
mov ecx, 0x7606bc
test ecx, ecx
jne 0x5837b1
mov dword [ebp - 0x68], 0
jmp 0x5837c1
push 0x7606bc
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
push edx
push 0x7606bc
lea ecx, [ebp - 0x18]
call fcn.005804a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0057fce0
push 0x7606bc
push 0x7606bc
lea ecx, [ebp - 0x18]
call fcn.0059acf0
mov ecx, eax
call fcn.0059ab50
mov ecx, 0x7606bc
test ecx, ecx
jne 0x583809
mov dword [ebp - 0x6c], 0
jmp 0x583819
push 0x7606bc
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
push edx
push 0x7606bc
lea ecx, [ebp - 0x18]
call fcn.005804a0
push ecx
mov ecx, esp
mov dword [ebp - 0x140], esp
lea eax, [ebp - 0x18]
push eax
call fcn.0057d860
mov ecx, dword [ebp - 0x14]
call fcn.00580650
mov ecx, dword [ebp - 0x14]
add ecx, 8
push ecx
lea ecx, [ebp - 0x74]
call fcn.0057d860
mov edx, dword [ebp - 0x10]
or edx, 0x40
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x74]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x18]
call fcn.005804a0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x74]
sub edx, 0x10
mov dword [ebp - 0xd4], edx
mov ecx, dword [ebp - 0xd4]
call fcn.00577240
lea ecx, [ebp - 0x34]
call fcn.00577fb0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x84]
call fcn.00577fb0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x34]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x144], esp
lea edx, [ebp - 0x18]
push edx
call fcn.0057d860
lea ecx, [ebp - 0x29]
call fcn.005bc130
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
lea eax, [ebp - 0x34]
push eax
call fcn.0057d860
mov ecx, dword [ebp - 0x14]
add ecx, 8
call fcn.00599fb0
mov ecx, dword [ebp - 0x14]
add ecx, 8
push ecx
lea ecx, [ebp - 0x78]
call fcn.0057d860
mov edx, dword [ebp - 0x10]
or edx, 0x80
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x78]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.005785c0
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xd8]
call fcn.005785c0
mov dword [ebp - 0xe0], eax
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 0x583310
mov edx, dword [ebp - 0xdc]
push edx
mov eax, dword [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x78]
sub ecx, 0x10
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0xe4]
call fcn.00577240
cmp dword [ebp - 0xe8], 0
jne 0x583ab6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0xfc]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00596cd0
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx]
sub edx, 0x10
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
push eax
call fcn.00578420
add esp, 4
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
add ecx, 0x10
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xfc]
sub edx, 0x10
mov dword [ebp - 0x100], edx
mov ecx, dword [ebp - 0x100]
call fcn.00577240
mov eax, dword [ebp - 0x14]
add eax, 8
push eax
lea ecx, [ebp - 0x7c]
call fcn.0057d860
mov ecx, dword [ebp - 0x10]
or ecx, 0x200
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x104], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
push eax
push str.Copy_failed_for_:__s:__s:__s
push str.CFTPGetFileTask::CopyToDestination
push 0xb97
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 3
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x28
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x7c]
sub edx, 0x10
mov dword [ebp - 0x108], edx
mov ecx, dword [ebp - 0x108]
call fcn.00577240
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x80]
sub eax, 0x10
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
call fcn.00577240
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x84]
sub ecx, 0x10
mov dword [ebp - 0x110], ecx
mov ecx, dword [ebp - 0x110]
call fcn.00577240
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x34]
sub edx, 0x10
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp - 0x114]
call fcn.00577240
jmp 0x583650
mov byte [ebp - 0x1b], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.0059c560
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
sub eax, 0x10
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
call fcn.00577240
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x88]
sub ecx, 0x10
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x11c]
call fcn.00577240
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x28]
sub edx, 0x10
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x120]
call fcn.00577240
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
sub eax, 0x10
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
call fcn.00577240
mov al, byte [ebp - 0x1b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret