Function at 0x445fd0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5f2064
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x68400c
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
call fcn.005df287
mov edx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xa8]
xor eax, eax
mov dword [esp + 0xa0], esi
cmp eax, edx
mov dword [esp + 0x5c], esi
sbb eax, eax
neg eax
cmp ebp, esi
mov dword [esp + 0x58], eax
je 0x4466a0
mov edx, dword [esp + 0xb0]
cmp edx, esi
je 0x4466a0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4466a0
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4466a0
push edx
lea ecx, [esp + 0x1c]
call fcn.005df235
push 0x6433d8
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 1
call fcn.005dcbba
mov edi, 0x6067b4
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov edx, dword [esp + 0xac]
lea ecx, [esp + 0x44]
push ecx
push edx
push ebp
mov byte [esp + 0xac], 2
call fcn.00445bd0
mov eax, dword [0x6844b0]
add esp, 0xc
cmp eax, esi
je 0x446105
mov ebx, dword [esp + 0x4c]
push ebp
lea ecx, [esp + 0x24]
call fcn.00466880
mov eax, dword [eax]
push ebx
push eax
push str.CUpAgentFileMgr::InstallZIPDatFile_1___s____d_
push str.Update
push 0xf
push 0x684444
mov byte [esp + 0xb8], 3
call fcn.00431aa0
add esp, 0x18
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 2
call fcn.00467200
cmp dword [esp + 0x4c], esi
je 0x446582
push 0x68400c
lea ecx, [esp + 0x18]
call fcn.005df287
push 0x68400c
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 5
call fcn.005df287
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xa0], 7
cmp eax, esi
mov dword [esp + 0x1c], esi
jle 0x4462bb
mov ebx, dword [esp + 0xbc]
xor ebp, ebp
jmp 0x44616c
xor esi, esi
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
lea edx, [ecx + ebp]
lea ecx, [esp + 0x14]
push edx
push eax
push 0x643284
push ecx
call fcn.005dca8f
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0xc4]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], esi
mov ecx, dword [eax + ebp + 0x108]
push ebx
push edx
mov edx, dword [eax + ebp + 0x110]
push ecx
mov ecx, dword [eax + ebp + 0x10c]
push edx
mov edx, dword [eax + ebp + 0x104]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
mov dword [esp + 0x50], edi
call fcn.004459f0
mov esi, eax
mov eax, dword [0x6844b0]
add esp, 0x2c
test eax, eax
je 0x446228
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x64]
call fcn.00466880
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
push ebx
push edx
push esi
push eax
push ecx
push str.CUpAgentFileMgr::InstallZIPDatFile_2__i_d____s____d____d____d_
push str.Update
push 0xf
push 0x684444
mov byte [esp + 0xc4], 8
call fcn.00431aa0
add esp, 0x24
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0], 7
call fcn.00467200
test esi, esi
jne 0x446234
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x44623c
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x446243
mov eax, 1
jmp 0x44624b
test edi, edi
je 0x446292
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x44625b
mov dword [esp + 0x5c], 1
test eax, eax
je 0x446292
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
lea eax, [edi + 1]
lea esi, [edx + ebp]
push eax
call fcn.00447720
mov edx, dword [esp + 0x34]
lea eax, [edi + edi*2]
shl eax, 3
sub eax, edi
lea ecx, [eax + eax*2]
lea edi, [edx + ecx*4]
mov ecx, 0x45
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
inc eax
add ebp, 0x114
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x44616a
mov ebp, dword [esp + 0xa8]
xor esi, esi
mov edi, 0x6067b4
cmp dword [0x6844b0], esi
je 0x4462e1
mov eax, dword [esp + 0x38]
push eax
push str.CUpAgentFileMgr::InstallZIPDatFile_3___d_
push str.Update
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x14
cmp dword [esp + 0x38], esi
je 0x4465b5
lea ecx, [esp + 0x64]
call fcn.00480e90
mov bl, 0xb
push esi
push ebp
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], bl
call fcn.004810e0
test eax, eax
je 0x446612
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_newtemp__d
push edx
call fcn.005dca8f
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.0040e590
add esp, 0x18
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push 0x6433d8
push ecx
push edx
call fcn.005df45c
mov eax, dword [eax]
push esi
push 0x80
push eax
mov byte [esp + 0xac], 0xe
call fcn.00410c00
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], bl
call fcn.005df1c7
mov eax, dword [esp + 0x10]
push 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov esi, dword [esp + 0x10]
call fcn.004989d0
push eax
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0040e410
mov eax, dword [esp + 0x3c]
xor esi, esi
add esp, 4
xor edi, edi
cmp eax, esi
mov dword [esp + 0x1c], esi
jle 0x4464f8
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
lea eax, [esi + edx]
lea edx, [esp + 0x14]
push eax
push ecx
push 0x643284
push edx
call fcn.005dca8f
mov ebp, dword [esp + 0x24]
call fcn.004989f0
push eax
push 0x80
push ebp
call fcn.00410c00
mov eax, dword [esp + 0x50]
add esp, 0x1c
mov ecx, dword [esi + eax + 0x104]
test ecx, ecx
jne 0x446485
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
call fcn.005def3c
mov eax, dword [eax]
mov edx, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x68]
lea eax, [esi + edx]
mov byte [esp + 0xa4], 0xf
push eax
call fcn.00482160
lea ecx, [esp + 0x24]
mov ebp, eax
mov byte [esp + 0xa0], bl
call fcn.005df1c7
test ebp, ebp
je 0x446485
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
lea edx, [esi + ecx]
lea ecx, [esp + 0x28]
push edx
push eax
push 0x643284
push ecx
call fcn.005dca8f
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
push 0
push edx
push 0
push eax
push ecx
call fcn.004444c0
mov edi, eax
mov eax, dword [esp + 0x50]
add esp, 0x24
or eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [0x6844b0]
test eax, eax
je 0x4464dd
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push edx
call fcn.00466880
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
push edi
mov byte [esp + 0xa4], 0x10
mov edx, dword [esi + ecx + 0x104]
push edx
push eax
push str.CUpAgentFileMgr::InstallZIPDatFile_4___s____d____d_
push str.Update
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x1c
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], bl
call fcn.00467200
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
inc eax
add esi, 0x114
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x4463b8
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], 7
call fcn.00480fb0
mov esi, 0x6067b4
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xa0], 0x11
test eax, eax
je 0x44652b
push eax
call fcn.005df8c1
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 5
call fcn.005df1c7
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 2
call fcn.005df1c7
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 0x12
test eax, eax
je 0x44656a
push eax
call fcn.005df8c1
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 0
call fcn.005df1c7
xor esi, esi
jmp 0x446690
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 4
cmp eax, esi
je 0x44659f
push eax
call fcn.005df8c1
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 0
call fcn.005df1c7
jmp 0x4466a0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xa0], 9
cmp eax, esi
je 0x4465da
push eax
call fcn.005df8c1
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 5
call fcn.005df1c7
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 2
call fcn.005df1c7
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 0xa
cmp eax, esi
je 0x44667f
jmp 0x446676
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], 7
call fcn.00480fb0
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xa0], 0xc
cmp eax, esi
je 0x446640
push eax
call fcn.005df8c1
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 5
call fcn.005df1c7
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 2
call fcn.005df1c7
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 0xd
cmp eax, esi
je 0x44667f
push eax
call fcn.005df8c1
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 0
call fcn.005df1c7
cmp dword [esp + 0x5c], esi
je 0x4466a0
push 1
call fcn.00443ad0
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], esi
je 0x4466b3
push esi
push eax
call fcn.0040e590
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0xffffffff
call fcn.005df1c7
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret