Function at 0x1001baf5
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1318
call fcn.100318b0
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, ecx
push esi
movzx eax, word [ebx]
push edi
mov dword [ebp - 4], edx
cmp dword [edx + eax*4 + 0xdbc], 0
jne 0x1001bb39
mov ecx, dword [edx]
test byte [ecx + 0x10], 0x10
jne 0x1001bb32
push eax
push str._AhnUp_ApplyDeltaFile__not_exist_delta.ui._Product_code__0x_04x
push 1
call fcn.1000aeb9
add esp, 0xc
push 0xfffffffffffffffd
jmp 0x1001bc22
and byte [ebp - 0xae8], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0xae7]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [edx]
test byte [eax + 0x10], 1
jne 0x1001bb95
lea ecx, [ebp - 0xae8]
push esi
push ecx
mov ecx, dword [ebp - 4]
push dword [eax + 0x448]
mov ax, word [ebx + 2]
push eax
call fcn.1001a899
test eax, eax
jne 0x1001bb95
movzx eax, word [ebx + 2]
push eax
push str._AhnUp_ApplyDeltaFile__0x_04x_get_install_path_error
push 1
call fcn.1000aeb9
add esp, 0xc
jmp 0x1001c79e
cmp word [ebx + 0x1c2], 0
lea eax, [ebx + 0x94]
jne 0x1001bba8
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0x3cc]
push esi
push eax
call fcn.1000180e
lea ecx, [ebp - 0x3cc]
lea eax, [ebx + 0x114]
push ecx
push eax
lea eax, [ebp - 0xef8]
push esi
push eax
call fcn.10002f5f
add esp, 0x10
lea eax, [ebp - 0xef8]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
movzx eax, word [ebx]
mov ecx, dword [ebp - 4]
push dword [ecx + eax*4 + 0xdbc]
lea eax, [ebp - 0x9e4]
push esi
push eax
lea eax, [ebp - 0xef8]
push 0x100583f4
push eax
push str.DELTA
call fcn.1000e682
lea eax, [ebp - 0x9e4]
push eax
call fcn.10031620
add esp, 0x1c
cmp eax, 5
jae 0x1001bc28
push 0xfffffffffffffffe
pop eax
jmp 0x1001ca39
and byte [ebp - 0xc0], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xbf]
and byte [ebp - 0xa0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x9f]
rep stosd dword es:[edi], eax
and byte [ebp - 0x2c8], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edx
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x2c7]
rep stosd dword es:[edi], eax
and byte [ebp - 0x1c4], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x1c3]
rep stosd dword es:[edi], eax
and byte [ebp - 0x7dc], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x7db]
rep stosd dword es:[edi], eax
and byte [ebp - 0x4d0], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x4cf]
rep stosd dword es:[edi], eax
and byte [ebp - 0x5d4], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x5d3]
rep stosd dword es:[edi], eax
and byte [ebp - 0x6d8], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x6d7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [ebp - 4]
stosb byte es:[edi], al
xor eax, eax
push eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
push eax
lea eax, [ebp - 0xae8]
push 0x100516f4
push eax
call fcn.10020096
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0
push 0
lea eax, [ebp - 0xae8]
push 0x100516f0
push eax
call fcn.10020096
cmp byte [ebp - 0x9e4], 0x2c
mov dword [ebp - 8], eax
jne 0x1001bd33
lea eax, [ebp - 0x9e3]
push eax
push 0x20
lea eax, [ebp - 0xc0]
jmp 0x1001bd57
lea eax, [ebp - 0x9e4]
push eax
call fcn.10031620
and byte [ebp + eax - 0x9e5], 0
pop ecx
lea eax, [ebp - 0x9e4]
push eax
push 0x20
lea eax, [ebp - 0xa0]
push eax
call fcn.1000180e
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xef8]
push eax
push str._AhnUp_ApplyDeltaFile___s_:_DeltaDate_s__DeltaVersion_s_n
push 1
call fcn.1000aeb9
add esp, 0x14
lea eax, [ebp - 0x1c4]
mov ecx, dword [ebp - 4]
push esi
push eax
lea eax, [ebx + 0x154]
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0xae8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.10020304
lea eax, [ebp - 0xc0]
push eax
call fcn.10031620
test eax, eax
pop ecx
je 0x1001c0f9
call fcn.10013aa1
mov ecx, dword [ebp - 4]
mov edi, eax
lea eax, [ebx + 4]
mov dword [ebp - 0x14], edi
push eax
push edi
call fcn.1001a505
test eax, eax
mov dword [ebp - 0x10], eax
je 0x1001bde6
mov ecx, edi
call fcn.10013d0d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c4]
push 0
push eax
call dword [sym.imp.v3hunt.dll_V3Net_GetFileTime]
add esp, 0xc
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x1001bf80
and byte [ebp - 0x8e0], al
push 0x40
pop ecx
lea edi, [ebp - 0x8df]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [ebp - 4]
push 1
stosb byte es:[edi], al
mov ax, word [ebx]
push eax
lea eax, [ebp - 0x8e0]
push esi
push eax
call fcn.1001e7a6
lea eax, [ebx + 0x114]
push eax
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x1c4]
push esi
push eax
call fcn.10002f5f
add esp, 0x10
cmp word [ebx + 0x1c2], 0
je 0x1001bf45
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1c4]
push esi
push eax
call fcn.10002f5f
xor edi, edi
lea eax, [ebp - 0x1c4]
push edi
push eax
call fcn.1000336b
add esp, 0x18
test eax, eax
je 0x1001bf65
mov ax, word [ebx]
mov ecx, dword [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x2c8]
push esi
push eax
call fcn.1001e7a6
lea eax, [ebx + 0x114]
push eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2c8]
push esi
push eax
call fcn.10002f5f
add esp, 0x10
lea eax, [ebx + 0x94]
push eax
lea eax, [ebp - 0x2c8]
push eax
push str._s_s_old
lea eax, [ebp - 0x2c8]
push esi
push eax
call fcn.10001426
lea eax, [ebp - 0x2c8]
push eax
call fcn.100032ea
push dword [ebp - 4]
lea eax, [ebp - 0x2c8]
push 0x10013d7f
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.1000503c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c4]
push edi
push eax
call dword [sym.imp.v3hunt.dll_V3Net_GetFileTime]
lea eax, [ebp - 0x34]
push edi
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.1000324f
add esp, 0x40
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x1c4]
push esi
push eax
call fcn.1000180e
jmp 0x1001bf65
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1c4]
push esi
push eax
call fcn.10002f5f
add esp, 0x10
xor edi, edi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c4]
push edi
push eax
call dword [sym.imp.v3hunt.dll_V3Net_GetFileTime]
mov edi, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x1001bf8d
mov ecx, edi
call fcn.10013cfc
test edi, edi
je 0x1001bf99
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
cmp dword [ebp + 0xc], 0
je 0x1001c759
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100036bf
mov edi, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
pop ecx
pop ecx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x10
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.10031550
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6a]
push eax
lea eax, [ebp - 0x6e]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xc0]
push str._d._d._d._d
push eax
call fcn.10032bdc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.100036bf
add esp, 0x20
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call edi
movzx eax, word [ebp - 0x48]
push eax
movzx eax, word [ebp - 0x4a]
push eax
movzx eax, word [ebp - 0x4e]
push eax
movzx eax, word [ebp - 0x50]
push eax
movzx eax, word [ebp - 0x68]
push eax
movzx eax, word [ebp - 0x6a]
push eax
movzx eax, word [ebp - 0x6e]
push eax
movzx eax, word [ebp - 0x70]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
lea eax, [ebp - 0x3cc]
push eax
push str._AhnUp_ApplyDeltaFile___s_:_DestDate_d._d._d._d__DeltaDate_d._d._d._d__FileDate_d._d._d._d
push 1
pop edi
push edi
call fcn.1000aeb9
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10003500
add esp, 0x44
test eax, eax
je 0x1001c07a
cmp eax, edi
jne 0x1001c7a6
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10003500
pop ecx
cmp eax, 0xffffffff
pop ecx
je 0x1001c0b0
test byte [ebx + 0x1c4], 4
je 0x1001c7b9
lea eax, [ebp - 0x3cc]
push eax
push str._AhnUp_ApplyDeltaFile___s_:_outside_the_range_of_ahn.ui_date__but_forcesync_try_delta
push edi
call fcn.1000aeb9
add esp, 0xc
movzx eax, word [ebp - 0x48]
push eax
movzx eax, word [ebp - 0x4a]
push eax
movzx eax, word [ebp - 0x4e]
push eax
movzx eax, word [ebp - 0x50]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
lea eax, [ebp - 0x3cc]
push eax
push str._s__d._d._d._d__d._d._d._d
lea eax, [ebp - 0x7dc]
push esi
push eax
call fcn.10001426
add esp, 0x30
jmp 0x1001c42d
lea eax, [ebp - 0xa0]
push eax
call fcn.10031620
test eax, eax
pop ecx
je 0x1001c86f
call fcn.10013aa1
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
lea eax, [ebx + 4]
push eax
push dword [ebp + 0xc]
call fcn.1001a505
test eax, eax
mov dword [ebp - 0x30], eax
je 0x1001c134
mov ecx, dword [ebp + 0xc]
call fcn.10013d0d
and byte [ebp - 0x60], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x5f]
push 0x20
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x1c4]
push 0
push eax
call dword [sym.imp.v3hunt.dll_V3Net_GetFileVersion]
add esp, 0x10
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1001c2e2
and byte [ebp - 0x8e0], al
push 0x40
pop ecx
lea edi, [ebp - 0x8df]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [ebp - 4]
push 1
stosb byte es:[edi], al
mov ax, word [ebx]
push eax
lea eax, [ebp - 0x8e0]
push esi
push eax
call fcn.1001e7a6
lea eax, [ebx + 0x114]
push eax
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x1c4]
push esi
push eax
call fcn.10002f5f
add esp, 0x10
cmp word [ebx + 0x1c2], 0
je 0x1001c2a6
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1c4]
push esi
push eax
call fcn.10002f5f
xor edi, edi
lea eax, [ebp - 0x1c4]
push edi
push eax
call fcn.1000336b
add esp, 0x18
test eax, eax
je 0x1001c2c6
mov ax, word [ebx]
mov ecx, dword [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x2c8]
push esi
push eax
call fcn.1001e7a6
lea eax, [ebx + 0x114]
push eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2c8]
push esi
push eax
call fcn.10002f5f
add esp, 0x10
lea eax, [ebx + 0x94]
push eax
lea eax, [ebp - 0x2c8]
push eax
push str._s_s_old
lea eax, [ebp - 0x2c8]
push esi
push eax
call fcn.10001426
lea eax, [ebp - 0x2c8]
push eax
call fcn.100032ea
push dword [ebp - 4]
lea eax, [ebp - 0x2c8]
push 0x10013d7f
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.1000503c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c4]
push edi
push eax
call dword [sym.imp.v3hunt.dll_V3Net_GetFileTime]
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.1000324f
add esp, 0x40
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x1c4]
push esi
push eax
call fcn.1000180e
jmp 0x1001c2c6
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1c4]
push esi
push eax
call fcn.10002f5f
add esp, 0x10
xor edi, edi
lea eax, [ebp - 0x60]
push 0x20
push eax
lea eax, [ebp - 0x1c4]
push edi
push eax
call dword [sym.imp.v3hunt.dll_V3Net_GetFileVersion]
add esp, 0x10
mov dword [ebp - 0x18], eax
jmp 0x1001c2e4
xor edi, edi
cmp dword [ebp - 0x30], edi
je 0x1001c2f1
mov ecx, dword [ebp + 0xc]
call fcn.10013cfc
cmp dword [ebp + 0xc], edi
je 0x1001c2ff
mov ecx, dword [ebp + 0xc]
push 1
mov eax, dword [ecx]
call dword [eax]
cmp dword [ebp - 0x18], edi
je 0x1001c7c8
lea eax, [ebp - 0x60]
push 0x20
push eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
call fcn.100035d9
add esp, 0xc
test eax, eax
jne 0x1001c36a
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
push str._d___d___d___d
push eax
call fcn.10032bdc
add esp, 0x18
lea eax, [ebp - 0x60]
push dword [ebp - 0x40]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str._d._d._d._d
push 0x20
push eax
call fcn.10001426
add esp, 0x1c
and byte [ebp - 0x80], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x7f]
push 0x20
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x80]
push eax
lea eax, [ebx + 0x194]
push eax
call fcn.100035d9
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x3cc]
push eax
push str._AhnUp_ApplyDeltaFile___s_:_DestVersion_s__DeltaVersion_s__FileVersion_s
push 1
call fcn.1000aeb9
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1000354f
add esp, 0x20
test eax, eax
je 0x1001c3d2
cmp eax, 2
jne 0x1001c7ed
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1000354f
pop ecx
cmp eax, 1
pop ecx
je 0x1001c409
test byte [ebx + 0x1c4], 4
je 0x1001c856
lea eax, [ebp - 0x3cc]
push eax
push str._AhnUp_ApplyDeltaFile___s_:_outside_the_range_of_ahn.ui_version__but_forcesync_try_delta
push 1
call fcn.1000aeb9
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x3cc]
push eax
push str._s__s__s
lea eax, [ebp - 0x7dc]
push esi
push eax
call fcn.10001426
add esp, 0x18
lea eax, [ebp - 0x7dc]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
mov edi, str.delta
lea eax, [ebp - 0xbec]
push edi
push dword [ebp + 8]
push esi
push eax
call fcn.10002f5f
lea eax, [ebx + 0x114]
push eax
lea eax, [ebp - 0xbec]
push eax
lea eax, [ebp - 0xbec]
push esi
push eax
call fcn.10002f5f
lea eax, [ebp - 0xbec]
push eax
call fcn.10002fbc
add esp, 0x24
lea eax, [ebp - 0x7dc]
push eax
lea eax, [ebp - 0xbec]
push eax
push 0x1004a050
lea eax, [ebp - 0x6d8]
push esi
push eax
call fcn.10001426
add esp, 0x14
lea eax, [ebp - 0x7dc]
push eax
lea eax, [ebp - 0x1c4]
push eax
push str._AhnUp_ApplyDeltaFile__szDestFilePath_s__szDeltaFileName_s
push 1
call fcn.1000aeb9
mov ax, word [ebx]
push eax
call fcn.10001ca8
add esp, 0x14
test eax, eax
je 0x1001c4da
push eax
mov eax, dword [ebp - 4]
push 0x800
mov eax, dword [eax]
push dword [eax + 0x24]
call fcn.1000180e
lea eax, [ebx + 0x114]
push eax
push edi
lea eax, [ebp - 0xcf0]
push esi
push eax
call fcn.10002f5f
lea eax, [ebp - 0x7dc]
push eax
lea eax, [ebp - 0xcf0]
push eax
lea eax, [ebp - 0xcf0]
push esi
push eax
call fcn.10002f5f
lea eax, [ebp - 0xbec]
push eax
call fcn.10002fbc
xor edi, edi
push 0x420
lea eax, [ebp - 0x1318]
push edi
push eax
call fcn.10031550
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xf10], 3
add esp, 0x30
mov eax, dword [ecx]
push edi
push edi
mov eax, dword [eax + 0x434]
mov dword [ebp - 0xf04], eax
lea eax, [ebp - 0x1318]
push eax
lea eax, [ebp - 0xcf0]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x6d8]
push eax
call fcn.1001e5ca
test eax, eax
jne 0x1001c87d
lea eax, [ebp - 0x6d8]
push eax
call fcn.100033a9
mov dword [ebp - 0x3c], eax
lea eax, [ebx + 0x114]
push eax
lea eax, [ebp - 0xdf4]
push dword [ebp + 8]
push esi
push eax
call fcn.10002f5f
add esp, 0x14
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0xdf4]
push eax
push str._s_s_dlt
lea eax, [ebp - 0x5d4]
push esi
push eax
call fcn.10001426
lea eax, [ebp - 0x5d4]
push eax
call fcn.100032ea
add esp, 0x18
call fcn.10013aa1
mov edi, dword [ebp - 4]
mov dword [ebp + 8], eax
lea eax, [ebx + 4]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.1001a505
test eax, eax
mov dword [ebp + 0xc], eax
je 0x1001c5ef
mov ecx, dword [ebp + 8]
call fcn.10013d0d
lea eax, [ebx + 0x94]
mov ecx, edi
push eax
call fcn.100203fb
test eax, eax
push edi
push 0x10013d43
je 0x1001c625
lea eax, [ebp - 0x5d4]
push 0
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x6d8]
push eax
call fcn.10005239
jmp 0x1001c641
lea eax, [ebp - 0x5d4]
push 1
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x6d8]
push eax
call fcn.100051b8
add esp, 0x18
cmp dword [ebp + 0xc], 0
mov edi, eax
je 0x1001c654
mov ecx, dword [ebp + 8]
call fcn.10013cfc
test edi, edi
je 0x1001c7fc
lea eax, [ebx + 0x14]
mov edi, 0x1004a050
push eax
lea eax, [ebp - 0xdf4]
push eax
push edi
lea eax, [ebp - 0x4d0]
push esi
push eax
call fcn.10001426
lea eax, [ebp - 0x4d0]
push eax
call fcn.100032ea
mov eax, dword [ebp - 4]
add esp, 0x18
cmp dword [eax + 0x2910c], 0
je 0x1001c6f5
cmp word [ebx + 0x1c2], 0
je 0x1001c738
lea eax, [ebx + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1001c6f5
lea eax, [ebx + 0x94]
mov dword [ebp - 0x38], 1
push eax
lea eax, [ebp - 0xdf4]
push eax
push edi
lea eax, [ebp - 0x4d0]
push esi
push eax
call fcn.10001426
add esp, 0x14
push str._AhnUp_ApplyDeltaFile__Not_compress_after_apply_deltafile
push 1
call fcn.1000aeb9
lea eax, [ebp - 0x4d0]
push eax
call fcn.100032ea
add esp, 0xc
cmp word [ebx + 0x1c2], 0
je 0x1001c738
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2910c], 0
jne 0x1001c738
push 1
push eax
push 0x10013d7f
lea eax, [ebp - 0x4d0]
push 9
push eax
lea eax, [ebp - 0x5d4]
push eax
call fcn.100050f6
add esp, 0x18
test eax, eax
je 0x1001c818
jmp 0x1001c87d
lea eax, [ebp - 0x4d0]
push eax
lea eax, [ebp - 0x5d4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x1001c830
jmp 0x1001c87d
xor esi, esi
lea eax, [ebp - 0x1c4]
push esi
push eax
call fcn.1000336b
pop ecx
test eax, eax
pop ecx
je 0x1001c784
lea eax, [ebp - 0x1c4]
push eax
push str._AhnUp_ApplyDeltaFile__get_file_time_error_:__s
push 1
call fcn.1000aeb9
add esp, 0xc
cmp dword [ebp - 0xc], esi
je 0x1001c791
push dword [ebp - 0xc]
call fcn.10022840
cmp dword [ebp - 8], esi
je 0x1001c79e
push dword [ebp - 8]
call fcn.10022840
or eax, 0xffffffff
jmp 0x1001ca39
push eax
lea eax, [ebp - 0x3cc]
push eax
push str._AhnUp_ApplyDeltaFile___s_:_outside_the_range_of_delta.ui_date_nCompare_d_
push edi
jmp 0x1001c865
push eax
lea eax, [ebp - 0x3cc]
push eax
push str._AhnUp_ApplyDeltaFile___s_:_outside_the_range_of_ahn.ui_date_nCompare_d_
jmp 0x1001c7b3
lea eax, [ebp - 0x1c4]
push edi
push eax
call fcn.1000336b
pop ecx
test eax, eax
pop ecx
je 0x1001c87d
lea eax, [ebp - 0x1c4]
push eax
push str._AhnUp_ApplyDeltaFile__get_file_version_error_:__s
jmp 0x1001c824
push eax
lea eax, [ebp - 0x3cc]
push eax
push str._AhnUp_ApplyDeltaFile___s_:_outside_the_range_of_delta.ui_version_nCompare_d_
jmp 0x1001c863
lea eax, [ebp - 0x5d4]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x6d8]
push eax
push str._AhnUp_ApplyDeltaFile__delta_apply_patch_to_file_error_:__s___s___s
jmp 0x1001c84a
lea eax, [ebp - 0x5d4]
push eax
push str._AhnUp_ApplyDeltaFile__compress_error_:__s
push 1
call fcn.1000aeb9
add esp, 0xc
jmp 0x1001c87d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x4d0]
push eax
lea eax, [ebp - 0x5d4]
push eax
push str._AhnUp_ApplyDeltaFile__move_result_file_error_:__s____s__GetLastErr_d
push 1
call fcn.1000aeb9
add esp, 0x14
jmp 0x1001c87d
push eax
lea eax, [ebp - 0x3cc]
push eax
push str._AhnUp_ApplyDeltaFile___s_:_outside_the_range_of_ahn.ui_version_nCompare_d_
push 1
call fcn.1000aeb9
add esp, 0x10
jmp 0x1001c87d
push str._AhnUp_ApplyDeltaFile__invaild_delta_value
push 1
call fcn.1000aeb9
pop ecx
pop ecx
xor esi, esi
cmp dword [ebp - 0xc], esi
je 0x1001c88c
push dword [ebp - 0xc]
call fcn.10022840
cmp dword [ebp - 8], esi
je 0x1001c899
push dword [ebp - 8]
call fcn.10022840
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
or dword [ebp + 8], 0xffffffff
lea eax, [ebp - 0x4d0]
push eax
call edi
test eax, eax
jle 0x1001c96d
lea eax, [ebx + 0xc]
push esi
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.1000324f
add esp, 0xc
cmp dword [ebp - 0x38], esi
lea eax, [ebp - 0x4d0]
push eax
je 0x1001c8fa
mov ax, word [ebx + 0x1c2]
push eax
lea eax, [ebx + 0x194]
push dword [ebx + 0x1be]
push dword [ebx + 0x1ba]
push eax
call dword [sym.imp.v3hunt.dll_V3Net_IsFileEqual2]
add esp, 0x14
jmp 0x1001c906
lea eax, [ebx + 4]
push eax
call dword [sym.imp.v3hunt.dll_V3Net_IsFileEqual]
pop ecx
pop ecx
cmp eax, esi
je 0x1001c94b
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], esi
mov eax, dword [ecx + 4]
inc dword [eax + 0x424]
mov eax, dword [ecx + 4]
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x3c]
sub edx, ecx
add dword [eax + 0x428], edx
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x1001c933
mov dword [eax], ecx
lea eax, [ebp - 0x4d0]
push eax
push str._AhnUp_ApplyDeltaFile__SUCCESS_Result_file_:__s
push 1
call fcn.1000aeb9
add esp, 0xc
jmp 0x1001c96d
lea eax, [ebp - 0x4d0]
push eax
push str._AhnUp_ApplyDeltaFile__result_file_CRC_check_error_:__s
push 1
call fcn.1000aeb9
lea eax, [ebp - 0x4d0]
push eax
call fcn.100032ea
add esp, 0x10
mov eax, dword [ebp - 4]
mov esi, str._AhnUp_ApplyDeltaFile__delete_file_error_errno_d__:__s
mov eax, dword [eax]
test byte [eax + 0x10], 1
jne 0x1001c9b4
lea eax, [ebp - 0x6d8]
push eax
call edi
test eax, eax
jle 0x1001c9b4
lea eax, [ebp - 0x6d8]
push eax
call fcn.100032ea
test eax, eax
pop ecx
jne 0x1001c9b4
lea eax, [ebp - 0x6d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 1
call fcn.1000aeb9
add esp, 0x10
lea eax, [ebp - 0x2c8]
push eax
call edi
test eax, eax
jle 0x1001c9eb
lea eax, [ebp - 0x2c8]
push eax
call fcn.100032ea
test eax, eax
pop ecx
jne 0x1001c9eb
lea eax, [ebp - 0x2c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 1
call fcn.1000aeb9
add esp, 0x10
lea eax, [ebp - 0x5d4]
push eax
call edi
test eax, eax
jle 0x1001ca36
lea eax, [ebp - 0x5d4]
push 0
push eax
call fcn.1000336b
pop ecx
test eax, eax
pop ecx
je 0x1001ca36
lea eax, [ebp - 0x5d4]
push eax
call fcn.100032ea
test eax, eax
pop ecx
jne 0x1001ca36
lea eax, [ebp - 0x5d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 1
call fcn.1000aeb9
add esp, 0x10
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc