Function at 0x43df50
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5e7fd4
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 0x675fc4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
call fcn.005d5ce7
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 0x43e620
mov edx, dword [esp + 0xb0]
cmp edx, esi
je 0x43e620
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43e620
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43e620
push edx
lea ecx, [esp + 0x1c]
call fcn.005d5c95
push 0x6383c8
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 1
call fcn.005d361a
mov edi, 0x5fbf80
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.0043db50
mov eax, dword [0x676468]
add esp, 0xc
cmp eax, esi
je 0x43e085
mov ebx, dword [esp + 0x4c]
push ebp
lea ecx, [esp + 0x24]
call fcn.0045d440
mov eax, dword [eax]
push ebx
push eax
push str.CUpAgentFileMgr::InstallZIPDatFile_1___s____d_
push str.Update
push 0xf
push 0x6763fc
mov byte [esp + 0xb8], 3
call fcn.00429e80
add esp, 0x18
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 2
call fcn.0045ddc0
cmp dword [esp + 0x4c], esi
je 0x43e502
push 0x675fc4
lea ecx, [esp + 0x18]
call fcn.005d5ce7
push 0x675fc4
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 5
call fcn.005d5ce7
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 0x43e23b
mov ebx, dword [esp + 0xbc]
xor ebp, ebp
jmp 0x43e0ec
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 0x638274
push ecx
call fcn.005d34ef
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.0043d970
mov esi, eax
mov eax, dword [0x676468]
add esp, 0x2c
test eax, eax
je 0x43e1a8
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x64]
call fcn.0045d440
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 0x6763fc
mov byte [esp + 0xc4], 8
call fcn.00429e80
add esp, 0x24
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0], 7
call fcn.0045ddc0
test esi, esi
jne 0x43e1b4
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x43e1bc
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x43e1c3
mov eax, 1
jmp 0x43e1cb
test edi, edi
je 0x43e212
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x43e1db
mov dword [esp + 0x5c], 1
test eax, eax
je 0x43e212
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.0043f010
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 0x43e0ea
mov ebp, dword [esp + 0xa8]
xor esi, esi
mov edi, 0x5fbf80
cmp dword [0x676468], esi
je 0x43e261
mov eax, dword [esp + 0x38]
push eax
push str.CUpAgentFileMgr::InstallZIPDatFile_3___d_
push str.Update
push 0xf
push 0x6763fc
call fcn.00429e80
add esp, 0x14
cmp dword [esp + 0x38], esi
je 0x43e535
lea ecx, [esp + 0x64]
call fcn.00477940
mov bl, 0xb
push esi
push ebp
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], bl
call fcn.00477b90
test eax, eax
je 0x43e592
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.005d34ef
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.0040dbd0
add esp, 0x18
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push 0x6383c8
push ecx
push edx
call fcn.005d5ebc
mov eax, dword [eax]
push esi
push 0x80
push eax
mov byte [esp + 0xac], 0xe
call fcn.00410030
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], bl
call fcn.005d5c27
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.0048f730
push eax
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0040da50
mov eax, dword [esp + 0x3c]
xor esi, esi
add esp, 4
xor edi, edi
cmp eax, esi
mov dword [esp + 0x1c], esi
jle 0x43e478
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
lea eax, [esi + edx]
lea edx, [esp + 0x14]
push eax
push ecx
push 0x638274
push edx
call fcn.005d34ef
mov ebp, dword [esp + 0x24]
call fcn.0048f750
push eax
push 0x80
push ebp
call fcn.00410030
mov eax, dword [esp + 0x50]
add esp, 0x1c
mov ecx, dword [esi + eax + 0x104]
test ecx, ecx
jne 0x43e405
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
call fcn.005d599c
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.00478c10
lea ecx, [esp + 0x24]
mov ebp, eax
mov byte [esp + 0xa0], bl
call fcn.005d5c27
test ebp, ebp
je 0x43e405
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
lea edx, [esi + ecx]
lea ecx, [esp + 0x28]
push edx
push eax
push 0x638274
push ecx
call fcn.005d34ef
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.0043c770
mov edi, eax
mov eax, dword [esp + 0x50]
add esp, 0x24
or eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [0x676468]
test eax, eax
je 0x43e45d
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push edx
call fcn.0045d440
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 0x6763fc
call fcn.00429e80
add esp, 0x1c
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], bl
call fcn.0045ddc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
inc eax
add esi, 0x114
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x43e338
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], 7
call fcn.00477a60
mov esi, 0x5fbf80
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xa0], 0x11
test eax, eax
je 0x43e4ab
push eax
call fcn.005d6321
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 5
call fcn.005d5c27
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 2
call fcn.005d5c27
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 0x12
test eax, eax
je 0x43e4ea
push eax
call fcn.005d6321
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 0
call fcn.005d5c27
xor esi, esi
jmp 0x43e610
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 4
cmp eax, esi
je 0x43e51f
push eax
call fcn.005d6321
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 0
call fcn.005d5c27
jmp 0x43e620
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xa0], 9
cmp eax, esi
je 0x43e55a
push eax
call fcn.005d6321
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 5
call fcn.005d5c27
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 2
call fcn.005d5c27
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 0xa
cmp eax, esi
je 0x43e5ff
jmp 0x43e5f6
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], 7
call fcn.00477a60
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xa0], 0xc
cmp eax, esi
je 0x43e5c0
push eax
call fcn.005d6321
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 5
call fcn.005d5c27
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 2
call fcn.005d5c27
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa0], 0xd
cmp eax, esi
je 0x43e5ff
push eax
call fcn.005d6321
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 0
call fcn.005d5c27
cmp dword [esp + 0x5c], esi
je 0x43e620
push 1
call fcn.0043bd80
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], esi
je 0x43e633
push esi
push eax
call fcn.0040dbd0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0xffffffff
call fcn.005d5c27
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