Function at 0x1001a959
Capabilities:
Get file size
Move file

Disassembly:
mov eax, 0x10043f50
call fcn.100321c8
push ecx
mov eax, 0x1e48
call fcn.100318b0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push 1
xor eax, eax
pop esi
cmp dword [ebx + 0x15bc], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x3c], esi
je 0x1001a99d
push str._AhnUp_ChooseDownloadFiles__m_bSelfUpdatePatch_is_TRUE_:_dont_add_download_files
push esi
call fcn.1000aeb9
pop ecx
mov eax, esi
pop ecx
jmp 0x1001abb7
mov cl, byte [ebp + 0xb]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x60], cl
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov edx, dword [ebx]
mov dword [ebp - 4], eax
push 0x40
lea edi, [ebp - 0x99b]
mov eax, dword [edx + 0x10]
and byte [ebp - 0x99c], 0
and eax, esi
pop ecx
mov dword [ebp - 0x64], eax
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x104
lea eax, [ebp - 0x99c]
push esi
push eax
push dword [edx + 0x448]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.1001a899
push dword [ebp + 0x18]
lea eax, [ebp - 0x99c]
mov ecx, ebx
push dword [ebp + 0x14]
push 0x100516f4
push eax
call fcn.10020096
push dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x99c]
mov ecx, ebx
push dword [ebp + 0x14]
push 0x100516f0
push eax
call fcn.10020096
mov dword [ebp - 0x40], eax
push 0x200
lea eax, [ebp - 0x1e58]
push 0
push eax
call fcn.10031550
mov edi, dword [ebp + 8]
push edi
call sub.ahnupctl.dll_AhnUpCtl_IsEngineCode
add esp, 0x10
cmp eax, 1
jne 0x1001aa6b
mov eax, dword [ebx]
test byte [eax + 0x11], 0x10
jne 0x1001aa6b
movzx ecx, word [ebp + 0xc]
cmp ecx, dword [eax + 0x448]
je 0x1001aa6b
lea eax, [ebp - 0x1e58]
mov ecx, ebx
push eax
call fcn.1001a713
mov eax, dword [ebx]
and dword [ebp - 0x30], 0
and dword [ebp - 0x4c], 0
test byte [eax + 0x11], 0x20
je 0x1001aaf8
push edi
call sub.ahnupctl.dll_AhnUpCtl_IsEngineCode
cmp eax, 1
pop ecx
jne 0x1001aaf8
movzx ecx, word [ebp + 0xc]
mov eax, dword [ebx]
cmp ecx, dword [eax + 0x448]
je 0x1001aaf8
push 1
push edi
lea eax, [ebp - 0x58c]
push esi
push eax
mov ecx, ebx
call fcn.1001e7a6
push str.backup
lea eax, [ebp - 0x58c]
push esi
push eax
call fcn.100020b4
push 0
push str.ahn.ui
lea eax, [ebp - 0x58c]
push 0x100583f4
push eax
call fcn.10003304
add esp, 0x10
test eax, eax
je 0x1001aaf8
push edi
call sub.ahnupctl.dll_AhnUpCtl_IsEngineCode
pop ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0x58c]
mov ecx, ebx
push eax
push dword [ebp + 0xc]
call fcn.1001a44d
mov dword [ebp - 0x4c], eax
call fcn.10013aa1
and dword [ebp - 0x34], 0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp + 0x18]
jge 0x1001ab44
push 0xa
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x1001ab1e
mov ecx, dword [ebp - 0x14]
call fcn.1001f363
mov eax, dword [ebp - 0x34]
push 0x32
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x1001abc8
push dword [ebp - 0x14]
call fcn.1001dd01
cmp eax, 0xffffffff
jne 0x1001abc8
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1e58]
xor ebx, ebx
cmp eax, ebx
je 0x1001ab70
lea edi, [ebp - 0x1e58]
lea esi, [ebp - 0x1e58]
push eax
call fcn.10032915
add esi, 4
mov dword [edi], ebx
pop ecx
mov edi, esi
mov eax, dword [esi]
cmp eax, ebx
jne 0x1001ab5c
cmp dword [ebp - 0x44], ebx
je 0x1001ab7d
push dword [ebp - 0x44]
call fcn.10022840
cmp dword [ebp - 0x40], ebx
je 0x1001ab8a
push dword [ebp - 0x40]
call fcn.10022840
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x1001ab97
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebp - 0x30], ebx
je 0x1001aba8
push dword [ebp - 0x30]
call fcn.10032915
pop ecx
mov dword [ebp - 0x30], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10020ca8
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x14]
imul eax, eax, 0x1c8
mov edi, dword [ebp - 0x14]
lea ebx, [eax + ecx]
mov eax, dword [eax + ecx + 0x1c0]
and eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
cmp dword [eax + 0x448], 4
jne 0x1001ac18
cmp word [ebp + 8], 4
jne 0x1001ac18
lea eax, [ebx + 0x110]
push 0x1004bd6c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1001ac18
mov dword [ebp - 0x28], 1
jmp 0x1001ac1c
and dword [ebp - 0x28], 0
mov edi, dword [edi]
mov dword [ebp - 0x24], edi
cmp dword [edi + 0x448], 4
jne 0x1001ac43
cmp word [ebp + 8], 4
jne 0x1001ac43
test byte [ebx + 0x1c0], 8
je 0x1001ac43
mov dword [ebp - 0x20], 1
jmp 0x1001ac47
and dword [ebp - 0x20], 0
push 0x40
xor edx, edx
and byte [ebp - 0x280], dl
pop ecx
xor eax, eax
lea edi, [ebp - 0x27f]
rep stosd dword es:[edi], eax
and byte [ebp - 0x17c], dl
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x17b]
mov dword [ebp - 0x18], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x1c0]
and eax, 4
cmp dword [ebp - 0x64], edx
mov dword [ebp - 0x48], eax
jne 0x1001b39c
cmp dword [ebp - 0x28], edx
jne 0x1001b376
cmp dword [ebp - 0x2c], edx
jne 0x1001b37b
and byte [ebp - 0x690], dl
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x68f]
cmp dword [ebp - 0x20], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x1001acc2
mov eax, dword [ebp - 0x24]
push dword [eax + 0x14]
jmp 0x1001acc9
lea eax, [ebp - 0x99c]
push eax
lea eax, [ebp - 0x690]
push esi
push eax
call fcn.100017e9
lea eax, [ebp - 0x690]
push eax
call fcn.10031620
test eax, eax
pop ecx
jne 0x1001ad00
movzx eax, word [ebp + 0xc]
push eax
push str._AhnUp_ChooseDownloadFiles__0x_04x_get_install_path_error
push 1
call fcn.1000aeb9
add esp, 0xc
jmp 0x1001ab44
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x38]
call fcn.1001a505
test eax, eax
mov dword [ebp - 0x24], eax
je 0x1001ad1b
mov ecx, dword [ebp - 0x38]
call fcn.10013d0d
cmp word [ebx + 0x1be], 0
lea eax, [ebx + 0x90]
jne 0x1001ad2e
lea eax, [ebx + 0x10]
lea ecx, [ebp - 0x17c]
push esi
push ecx
lea ecx, [ebx + 0x150]
push ecx
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0x690]
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.10020304
mov ax, word [ebx + 0x1be]
test ax, ax
je 0x1001ad8c
lea ecx, [ebp - 0x17c]
push ecx
push eax
push dword [ebx + 0x1ba]
lea eax, [ebx + 8]
push dword [ebx + 0x1b6]
push eax
lea eax, [ebx + 0x190]
push eax
call dword [sym.imp.v3hunt.dll_V3Net_CompareFileInfo2]
add esp, 0x18
jmp 0x1001ad9c
lea eax, [ebp - 0x17c]
push eax
push ebx
call dword [sym.imp.v3hunt.dll_V3Net_CompareFileInfo]
pop ecx
pop ecx
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x1001ae8b
lea eax, [ebx + 0x90]
push str.asc_kbc.sys
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1001ae70
and byte [ebp - 0xca8], al
push 0x40
pop ecx
lea edi, [ebp - 0xca7]
rep stosd dword es:[edi], eax
and byte [ebp - 0xaa0], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0xa9f]
push 0x100516f4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0xca8]
push esi
push eax
call fcn.10002f5f
lea eax, [ebx + 0x90]
push eax
lea eax, [ebp - 0xca8]
push eax
lea eax, [ebp - 0xaa0]
push esi
push eax
call fcn.10002f5f
mov ax, word [ebx + 0x1be]
add esp, 0x20
test ax, ax
je 0x1001ae59
lea ecx, [ebp - 0xaa0]
push ecx
push eax
push dword [ebx + 0x1ba]
lea eax, [ebx + 8]
push dword [ebx + 0x1b6]
push eax
lea eax, [ebx + 0x190]
push eax
call dword [sym.imp.v3hunt.dll_V3Net_CompareFileInfo2]
add esp, 0x18
jmp 0x1001ae69
lea eax, [ebp - 0xaa0]
push eax
push ebx
call dword [sym.imp.v3hunt.dll_V3Net_CompareFileInfo]
pop ecx
pop ecx
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x1001ae8b
push 1
lea ecx, [ebx + 0x10]
pop eax
push ecx
mov dword [ebp - 0x18], eax
push dword [ebp + 0x10]
push str._AhnUp_ChooseDownloadFiles__Remove_equal_to_server_______s_:__s
push eax
call fcn.1000aeb9
add esp, 0x10
cmp dword [ebp - 0x48], 0
jne 0x1001b310
push 1
pop edi
cmp dword [ebp - 0x1c], edi
jne 0x1001b310
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test byte [eax + 0x11], 0x20
je 0x1001b2f8
movzx ecx, word [ebp + 0xc]
cmp ecx, dword [eax + 0x448]
je 0x1001b2f8
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xda0]
lea eax, [ebp - 0x17c]
push eax
call fcn.100011c7
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x1001aefb
lea eax, [ebp - 0x17c]
push eax
movzx eax, word [ebp + 8]
push eax
push str._AhnUp_ChooseDownloadFiles__0x_04x_AhnTrustEngine_VerifyFile___s__Success.
push edi
call fcn.1000aeb9
add esp, 0x10
jmp 0x1001b0c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x17c]
push dword [ebp - 0x48]
push eax
movzx eax, word [ebp + 8]
push eax
push str._AhnUp_ChooseDownloadFiles__0x_04x_AhnTrustEngine_VerifyFile___s__Fail._ret_0x_x___err_0x_x_
push edi
call fcn.1000aeb9
push dword [ebp + 8]
call sub.ahnupctl.dll_AhnUpCtl_IsEngineCode
add esp, 0x1c
test eax, eax
jne 0x1001affc
and byte [ebp - 0xba4], al
push 0x40
pop ecx
lea edi, [ebp - 0xba3]
rep stosd dword es:[edi], eax
push dword [ebp - 0x20]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x690]
push eax
push str._sAHC_s.ahc
lea eax, [ebp - 0xba4]
push esi
push eax
call fcn.10001426
add esp, 0x14
xor eax, eax
push eax
push eax
push 3
push eax
push 1
push eax
lea eax, [ebp - 0xba4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x1001aff2
lea eax, [ebp - 0xba4]
push eax
lea eax, [ebp - 0x17c]
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xda0]
call fcn.1000124b
mov edi, eax
test edi, edi
jne 0x1001afc5
push 1
lea eax, [ebp - 0x17c]
pop edi
push eax
mov dword [ebp - 0x18], edi
movzx eax, word [ebp + 8]
push eax
push str._AhnUp_ChooseDownloadFiles__0x_04x_AhnTrustEngine_VerifyAhcFile___s__Success.
push edi
call fcn.1000aeb9
add esp, 0x10
jmp 0x1001b0c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x17c]
push edi
push eax
movzx eax, word [ebp + 8]
push eax
push str._AhnUp_ChooseDownloadFiles__0x_04x_AhnTrustEngine_VerifyAhcFile___s__Fail._ret_0x_x___err_0x_x_
push 1
call fcn.1000aeb9
add esp, 0x18
push str._AhnTrust_VerifyAHC_fail_
jmp 0x1001b0e5
push str._AhnTrust_VerifyFile_fail_and_AhnTrust_VerifyAHC_fail_
jmp 0x1001b0e5
cmp dword [ebp - 0x30], 0
je 0x1001b0f2
lea eax, [ebp - 0xe70]
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x4c]
push dword [ebp - 0x30]
push ebx
call fcn.1001a684
test eax, eax
je 0x1001b0e0
mov ecx, dword [ebp - 0xcc0]
cmp word [ebx + 0x1be], 0
mov eax, dword [ebp - 0xcbc]
mov dword [ebp - 0x1c], ecx
je 0x1001b04c
mov ecx, dword [ebp - 0xcb6]
mov eax, dword [ebp - 0xcb2]
mov dword [ebp - 0x1c], ecx
cmp ax, di
jne 0x1001b0aa
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x17c]
push eax
push 0
call dword [sym.imp.v3hunt.dll_V3Net_GetFileCRC]
add esp, 0xc
test eax, eax
je 0x1001b072
push str._V3Net_GetFileCRC_fail_
jmp 0x1001b0e5
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x1c]
je 0x1001b0c5
cmp word [ebx + 0x1be], di
jne 0x1001b08b
mov eax, dword [ebx + 0x1ba]
jmp 0x1001b091
mov eax, dword [ebx + 0x1b0]
push ecx
push eax
push str._ahn.ui_:_0x_08X____0x_08X_File_
lea eax, [ebp - 0x280]
push esi
push eax
call fcn.10001426
add esp, 0x14
jmp 0x1001b0f2
cmp ax, 2
jne 0x1001b0f2
lea eax, [ebp - 0x17c]
push eax
push 0
call dword [sym.imp.v3hunt.dll_V3Net_IsFileValid]
pop ecx
test eax, eax
pop ecx
je 0x1001b0d9
mov dword [ebp - 0x18], edi
lea eax, [ebx + 0x10]
push eax
push dword [ebp + 0x10]
push str._AhnUp_ChooseDownloadFiles__Remove_newer_to_server__CC___s_:__s
jmp 0x1001b307
push str._V3Net_IsFileValid_fail_
jmp 0x1001b0e5
push str._GetEngineFileData_BackupAhnUI_fail_
lea eax, [ebp - 0x280]
push esi
push eax
call fcn.100017e9
cmp dword [ebp - 0x18], 0
jne 0x1001b310
and byte [ebp - 0x384], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x383]
push str.dmgfile_
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x14]
add eax, 0x15d0
push eax
push str._s_s
lea eax, [ebp - 0x384]
push esi
push eax
call fcn.100046c9
lea eax, [ebp - 0x384]
push eax
call fcn.10002fbc
add esp, 0x18
lea eax, [ebp - 0x384]
push dword [ebp - 0x20]
push esi
push eax
call fcn.100020b4
push str..bak
lea eax, [ebp - 0x384]
push esi
push eax
call fcn.100020b4
lea eax, [ebp - 0x384]
push 0
push eax
call fcn.1000336b
pop ecx
test eax, eax
pop ecx
je 0x1001b22f
and byte [ebp - 0x58c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x58b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x58c]
push esi
push eax
call fcn.100017e9
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58c]
push eax
push 0
call dword [sym.imp.v3hunt.dll_V3Net_GetFileCRC]
add esp, 0xc
test eax, eax
je 0x1001b1d5
push str._V3Net_GetFileCRC_fail_
lea eax, [ebp - 0x280]
push esi
push eax
call fcn.100017e9
jmp 0x1001b22f
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x384]
push eax
push 0
call dword [sym.imp.v3hunt.dll_V3Net_GetFileCRC]
add esp, 0xc
test eax, eax
jne 0x1001b1c1
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x50]
jne 0x1001b216
push 1
lea ecx, [ebp - 0x384]
pop eax
push ecx
lea ecx, [ebp - 0x58c]
push ecx
push str._AhnUp_ChooseDownloadFiles__Remove_equal_to_dmgfile__CC___s_:__s
mov dword [ebp - 0x18], eax
push eax
jmp 0x1001b308
push dword [ebp - 0x50]
push eax
push str._ahn.ui_:_0x_08X____0x_08X_File_
lea eax, [ebp - 0x280]
push esi
push eax
call fcn.10001426
add esp, 0x14
lea eax, [ebp - 0x384]
push eax
call fcn.100032ea
and byte [ebp - 0x488], 0
pop ecx
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x487]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x488]
push esi
push eax
call fcn.100017e9
push str..bak
lea eax, [ebp - 0x488]
push esi
push eax
call fcn.100020b4
lea eax, [ebp - 0x488]
push 0
push eax
call fcn.1000336b
pop ecx
test eax, eax
pop ecx
je 0x1001b29a
lea eax, [ebp - 0x488]
push eax
call fcn.100032ea
pop ecx
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.10034d7b
pop ecx
test eax, eax
pop ecx
je 0x1001b2c9
lea eax, [ebp - 0x17c]
push eax
push str._AhnUp_ChooseDownloadFiles__Rename_Failed_file_s
push 1
call fcn.1000aeb9
add esp, 0xc
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x1001b310
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x488]
push eax
push str._AhnUp_ChooseDownloadFiles__MoveFile_Failed_file_s__GetLastErr_d_
push 1
jmp 0x1001b308
lea eax, [ebx + 0x10]
mov dword [ebp - 0x18], edi
push eax
push dword [ebp + 0x10]
push str._AhnUp_ChooseDownloadFiles__Remove_newer_to_server_______s_:__s
push edi
call fcn.1000aeb9
add esp, 0x10
cmp dword [ebp - 0x24], 0
je 0x1001b31e
mov ecx, dword [ebp - 0x38]
call fcn.10013cfc
cmp dword [ebp - 0x18], 0
jne 0x1001ba2f
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp dword [eax + 0x15c0], edi
lea ecx, [eax + 0x15c0]
je 0x1001b33d
mov dword [ecx], edi
movzx ecx, word [ebp + 8]
mov edx, dword [eax]
cmp dword [edx + 0x448], ecx
jne 0x1001b35f
cmp dword [eax + 0x15bc], edi
lea edx, [eax + 0x15bc]
jne 0x1001b35f
mov dword [edx], 1
cmp word [eax + ecx*2 + 0x2490a], di
lea eax, [eax + ecx*2 + 0x2490a]
je 0x1001b39c
and word [eax], 0
xor edx, edx
cmp dword [ebp - 0x2c], edx
je 0x1001b39c
cmp word [ebp + 8], dx
je 0x1001b39c
add ebx, 0x10
push ebx
push dword [ebp + 0x10]
push str._AhnUp_ChooseDownloadFiles__Remove_patch_autoup_section__s_:__s
push 1
call fcn.1000aeb9
add esp, 0x10
jmp 0x1001ba2f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x2910c], 0
je 0x1001b47f
cmp word [ebx + 0x1be], 0
je 0x1001b47f
mov ecx, dword [ebp - 0x14]
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x134c]
push esi
push eax
call fcn.1001e7a6
lea edi, [ebx + 0x110]
lea eax, [ebp - 0x134c]
push edi
push eax
lea eax, [ebp - 0x17c]
push esi
push eax
call fcn.10002f5f
lea eax, [ebx + 0x90]
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x17c]
push esi
push eax
call fcn.10002f5f
lea eax, [ebp - 0x17c]
push eax
mov ax, word [ebx + 0x1be]
push eax
lea eax, [ebx + 0x190]
push dword [ebx + 0x1ba]
push dword [ebx + 0x1b6]
push eax
call dword [sym.imp.v3hunt.dll_V3Net_IsFileEqual2]
add esp, 0x34
cmp eax, 1
jne 0x1001b47f
cmp dword [ebp - 0x2c], 0
jne 0x1001b46a
cmp dword [ebp - 0x28], 0
jne 0x1001b46a
mov eax, dword [ebp + 0x14]
push str.ahn.ui
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1001b46a
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.1001a5de
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x20]
push edi
push str._AhnUp_ChooseDownloadFiles__Remove_exist_dlt_decompress__s_s__s
jmp 0x1001b5f9
mov ecx, dword [ebp - 0x14]
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x1248]
push esi
push eax
call fcn.1001e7a6
lea edi, [ebx + 0x110]
lea eax, [ebp - 0x1248]
push edi
push eax
lea eax, [ebp - 0x17c]
push esi
push eax
mov dword [ebp - 0x18], edi
call fcn.10002f5f
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x17c]
push esi
push eax
call fcn.10002f5f
lea eax, [ebp - 0x17c]
push eax
push ebx
call dword [sym.imp.v3hunt.dll_V3Net_IsFileEqual]
add esp, 0x28
cmp eax, 1
jne 0x1001b53a
cmp dword [ebp - 0x2c], 0
jne 0x1001b52a
cmp dword [ebp - 0x28], 0
jne 0x1001b52a
mov eax, dword [ebp + 0x14]
push str.ahn.ui
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1001b52a
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.1001a5de
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x1c]
push edi
push str._AhnUp_ChooseDownloadFiles__Remove_exist_at__update_dir__s_s__s
jmp 0x1001b5f9
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x1c]
push edi
jmp 0x1001b5f4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test byte [eax + 0x10], 1
je 0x1001b608
xor edi, edi
mov ecx, dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x1554]
push dword [ebp + 8]
push esi
push eax
call fcn.1001e7a6
push dword [ebp - 0x18]
lea eax, [ebp - 0x1554]
push eax
lea eax, [ebp - 0x17c]
push esi
push eax
call fcn.10002f5f
push dword [ebp - 0x1c]
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x17c]
push esi
push eax
call fcn.10002f5f
lea eax, [ebp - 0x17c]
push eax
push ebx
call dword [sym.imp.v3hunt.dll_V3Net_IsFileEqual]
add esp, 0x28
cmp eax, 1
jne 0x1001b60a
cmp dword [ebp - 0x2c], edi
jne 0x1001b5e7
cmp dword [ebp - 0x28], edi
jne 0x1001b5e7
mov eax, dword [ebp + 0x14]
push str.ahn.ui
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1001b5e7
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.1001a5de
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push str._AhnUp_ChooseDownloadFiles__Remove_exist_at__update_new__s_s__s
jmp 0x1001b5f9
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push str._AhnUp_ChooseDownloadFiles__Remove_exist_at_update_etc___s_s__s
push 1
call fcn.1000aeb9
add esp, 0x14
jmp 0x1001ba2f
xor edi, edi
cmp dword [ebp - 0x1e58], edi
je 0x1001b997
lea ecx, [ebp - 0x1e58]
lea eax, [ebp - 0x1e58]
mov dword [ebp - 0x24], ecx
push dword [ebp - 0x18]
push dword [eax]
lea eax, [ebp - 0x898]
push esi
push eax
call fcn.10002f5f
push dword [ebp - 0x1c]
lea eax, [ebp - 0x898]
push eax
lea eax, [ebp - 0x898]
push esi
push eax
call fcn.10002f5f
add esp, 0x20
lea eax, [ebp - 0x898]
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x1001b732
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebx + 4], eax
jne 0x1001b729
lea eax, [ebp - 0x898]
push eax
push edi
push dword [ebx + 0x1b0]
call dword [sym.imp.v3hunt.dll_V3Net_CheckFileCRC]
add esp, 0xc
test eax, eax
je 0x1001b729
mov ecx, dword [ebp - 0x14]
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x1450]
push esi
push eax
call fcn.1001e7a6
push dword [ebp - 0x18]
lea eax, [ebp - 0x1450]
push eax
lea eax, [ebp - 0x17c]
push esi
push eax
call fcn.10002f5f
lea eax, [ebp - 0x17c]
push eax
call fcn.10002fbc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x17c]
push esi
push eax
call fcn.10002f5f
lea eax, [ebp - 0x17c]
push edi
push eax
lea eax, [ebp - 0x898]
push eax
call fcn.100032c8
add esp, 0x30
test eax, eax
je 0x1001b729
lea eax, [ebp - 0x17c]
push eax
push ebx
call dword [sym.imp.v3hunt.dll_V3Net_IsFileEqual]
pop ecx
cmp eax, 1
pop ecx
je 0x1001b8d2
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp dword [eax], edi
jne 0x1001b625
cmp dword [ebp - 0x1e58], edi
je 0x1001b997
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x2910c], edi
je 0x1001b997
cmp word [ebx + 0x1be], di
je 0x1001b997
lea ecx, [ebp - 0x1e58]
lea eax, [ebp - 0x1e58]
mov dword [ebp - 0x24], ecx
push dword [ebp - 0x18]
push dword [eax]
lea eax, [ebp - 0x794]
push esi
push eax
call fcn.10002f5f
lea eax, [ebx + 0x90]
push eax
lea eax, [ebp - 0x794]
push eax
lea eax, [ebp - 0x794]
push esi
push eax
call fcn.10002f5f
add esp, 0x20
lea eax, [ebp - 0x794]
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x1001b8bc
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebx + 0x1b6], eax
jne 0x1001b8b3
lea eax, [ebp - 0x794]
push eax
push edi
push dword [ebx + 0x1ba]
call dword [sym.imp.v3hunt.dll_V3Net_CheckFileCRC]
add esp, 0xc
test eax, eax
je 0x1001b8b3
mov ecx, dword [ebp - 0x14]
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x1658]
push esi
push eax
call fcn.1001e7a6
push dword [ebp - 0x18]
lea eax, [ebp - 0x1658]
push eax
lea eax, [ebp - 0x17c]
push esi
push eax
call fcn.10002f5f
lea eax, [ebp - 0x17c]
push eax
call fcn.10002fbc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x17c]
push esi
push eax
call fcn.10002f5f
push edi
lea eax, [ebp - 0x17c]
push dword [ebp - 0x14]
push 0x10013d7f
push 9
push eax
lea eax, [ebp - 0x794]
push eax
call fcn.100050f6
add esp, 0x3c
test eax, eax
je 0x1001b8b3
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x794]
push edi
push eax
call dword [sym.imp.v3hunt.dll_V3Net_GetFileTime]
lea eax, [ebp - 0x74]
push edi
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.1000324f
lea eax, [ebp - 0x17c]
push eax
push ebx
call dword [sym.imp.v3hunt.dll_V3Net_IsFileEqual]
add esp, 0x20
cmp eax, 1
je 0x1001b939
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp dword [eax], edi
jne 0x1001b77a
jmp 0x1001b997
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push str._AhnUp_ChooseDownloadFiles__Remove_exist_at_diffproduct__s_s__s
push 1
call fcn.1000aeb9
add esp, 0x14
cmp dword [ebp - 0x2c], edi
jne 0x1001b91e
cmp dword [ebp - 0x28], edi
jne 0x1001b91e
mov eax, dword [ebp + 0x14]
push str.ahn.ui
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1001b91e
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.1001a5de
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x20]
mov dword [eax + 0x15cc], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001ba2f
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push str._AhnUp_ChooseDownloadFiles__Remove_exist_at_diffproduct__s_s__s
push 1
call fcn.1000aeb9
add esp, 0x14
cmp dword [ebp - 0x2c], edi
jne 0x1001b985
cmp dword [ebp - 0x28], edi
jne 0x1001b985
mov eax, dword [ebp + 0x14]
push str.ahn.ui
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1001b985
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.1001a5de
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x20]
mov dword [eax + 0x15cc], 1
jmp 0x1001b92e
push 0x2d4
lea eax, [ebp - 0x1144]
push edi
push eax
call fcn.10031550
mov ax, word [ebp + 8]
push 0x1c8
mov word [ebp - 0x1144], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x1142], ax
lea eax, [ebp - 0x1140]
push ebx
push eax
call fcn.10031990
mov ecx, dword [ebp - 0x14]
add esp, 0x18
lea eax, [ebp - 0x1144]
lea ebx, [ecx + 0x2e0c]
push ebx
push eax
call fcn.1001a539
test eax, eax
je 0x1001b9fe
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push str._AhnUp_ChooseDownloadFiles__Remove_already_added_file____s_s
jmp 0x1001b38d
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push str._AhnUp_ChooseDownloadFiles__Add_File_to_Download_List______s_s__s
push 1
call fcn.1000aeb9
add esp, 0x14
lea eax, [ebp - 0x1144]
mov ecx, ebx
mov byte [ebp - 4], 1
push eax
call fcn.10020b60
mov dword [ebp - 4], edi
inc dword [ebp - 0x34]
jmp 0x1001ab04