Function at 0x446020
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5f3d84
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 0x68711c
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
call fcn.005e0fa7
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 0x4466f0
mov edx, dword [esp + 0xb0]
cmp edx, esi
je 0x4466f0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4466f0
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4466f0
push edx
lea ecx, [esp + 0x1c]
call fcn.005e0f55
push 0x6463d8
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 1
call fcn.005de8da
mov edi, 0x6087b4
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.00445c20
mov eax, dword [0x6875c0]
add esp, 0xc
cmp eax, esi
je 0x446155
mov ebx, dword [esp + 0x4c]
push ebp
lea ecx, [esp + 0x24]
call fcn.004668d0
mov eax, dword [eax]
push ebx
push eax
push str.CUpAgentFileMgr::InstallZIPDatFile_1___s____d_
push str.Update
push 0xf
push 0x687554
mov byte [esp + 0xb8], 3
call fcn.00431af0
add esp, 0x18
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 2
call fcn.00467250
cmp dword [esp + 0x4c], esi
je 0x4465d2
push 0x68711c
lea ecx, [esp + 0x18]
call fcn.005e0fa7
push 0x68711c
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 5
call fcn.005e0fa7
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 0x44630b
mov ebx, dword [esp + 0xbc]
xor ebp, ebp
jmp 0x4461bc
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 0x646284
push ecx
call fcn.005de7af
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.00445a40
mov esi, eax
mov eax, dword [0x6875c0]
add esp, 0x2c
test eax, eax
je 0x446278
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x64]
call fcn.004668d0
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 0x687554
mov byte [esp + 0xc4], 8
call fcn.00431af0
add esp, 0x24
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0], 7
call fcn.00467250
test esi, esi
jne 0x446284
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x44628c
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x446293
mov eax, 1
jmp 0x44629b
test edi, edi
je 0x4462e2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x4462ab
mov dword [esp + 0x5c], 1
test eax, eax
je 0x4462e2
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.00447770
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 0x4461ba
mov ebp, dword [esp + 0xa8]
xor esi, esi
mov edi, 0x6087b4
cmp dword [0x6875c0], esi
je 0x446331
mov eax, dword [esp + 0x38]
push eax
push str.CUpAgentFileMgr::InstallZIPDatFile_3___d_
push str.Update
push 0xf
push 0x687554
call fcn.00431af0
add esp, 0x14
cmp dword [esp + 0x38], esi
je 0x446605
lea ecx, [esp + 0x64]
call fcn.00480ee0
mov bl, 0xb
push esi
push ebp
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], bl
call fcn.00481130
test eax, eax
je 0x446662
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.005de7af
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.0040e590
add esp, 0x18
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push 0x6463d8
push ecx
push edx
call fcn.005e117c
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.005e0ee7
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.00498a20
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 0x446548
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
lea eax, [esi + edx]
lea edx, [esp + 0x14]
push eax
push ecx
push 0x646284
push edx
call fcn.005de7af
mov ebp, dword [esp + 0x24]
call fcn.00498a40
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 0x4464d5
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
call fcn.005e0c5c
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.004821b0
lea ecx, [esp + 0x24]
mov ebp, eax
mov byte [esp + 0xa0], bl
call fcn.005e0ee7
test ebp, ebp
je 0x4464d5
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
lea edx, [esi + ecx]
lea ecx, [esp + 0x28]
push edx
push eax
push 0x646284
push ecx
call fcn.005de7af
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.00444510
mov edi, eax
mov eax, dword [esp + 0x50]
add esp, 0x24
or eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [0x6875c0]
test eax, eax
je 0x44652d
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push edx
call fcn.004668d0
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 0x687554
call fcn.00431af0
add esp, 0x1c
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], bl
call fcn.00467250
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
inc eax
add esi, 0x114
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x446408
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], 7
call fcn.00481000
mov esi, 0x6087b4
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xa0], 0x11
test eax, eax
je 0x44657b
push eax
call fcn.005e15e1
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 5
call fcn.005e0ee7
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 2
call fcn.005e0ee7
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 0x12
test eax, eax
je 0x4465ba
push eax
call fcn.005e15e1
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 0
call fcn.005e0ee7
xor esi, esi
jmp 0x4466e0
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 4
cmp eax, esi
je 0x4465ef
push eax
call fcn.005e15e1
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 0
call fcn.005e0ee7
jmp 0x4466f0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xa0], 9
cmp eax, esi
je 0x44662a
push eax
call fcn.005e15e1
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 5
call fcn.005e0ee7
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 2
call fcn.005e0ee7
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 0xa
cmp eax, esi
je 0x4466cf
jmp 0x4466c6
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], 7
call fcn.00481000
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xa0], 0xc
cmp eax, esi
je 0x446690
push eax
call fcn.005e15e1
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 5
call fcn.005e0ee7
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 2
call fcn.005e0ee7
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 0xd
cmp eax, esi
je 0x4466cf
push eax
call fcn.005e15e1
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 0
call fcn.005e0ee7
cmp dword [esp + 0x5c], esi
je 0x4466f0
push 1
call fcn.00443b20
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], esi
je 0x446703
push esi
push eax
call fcn.0040e590
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0xffffffff
call fcn.005e0ee7
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