Function at 0x1005c9b0
Capabilities:
Check for time delay via gettickcount
Move file
Read .ini file
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x1764]
mov eax, 0x1764
call fcn.10126240
push 0xffffffffffffffff
push 0x101363db
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x1017455c]
xor eax, ebp
mov dword [ebp + 0x1760], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x176c]
mov esi, dword [ebp + 0x1770]
xor edi, edi
mov ebx, edx
push 0x207
lea edx, [ebp + 0x1031]
push edi
mov dword [ebp - 4], edi
push edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x18], edi
mov byte [ebp + 0x1030], 0
call fcn.10116880
push 0x103
lea eax, [ebp + 0x1239]
push edi
push eax
mov byte [ebp + 0x1238], 0
call fcn.10116880
push 0x103
lea ecx, [ebp + 0x133d]
push edi
push ecx
mov byte [ebp + 0x133c], 0
call fcn.10116880
push 0x103
lea edx, [ebp + 0x1559]
push edi
push edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x40], edi
mov byte [ebp + 0x1558], 0
call fcn.10116880
push 0x103
lea eax, [ebp + 0x165d]
push edi
push eax
mov byte [ebp + 0x165c], 0
call fcn.10116880
push 0x103
lea ecx, [ebp + 0xe29]
push edi
push ecx
mov byte [ebp + 0xe28], 0
call fcn.10116880
add esp, 0x48
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x1005cad0
mov byte [eax], 0
push 1
push edi
lea edx, [ebp - 0x20]
mov ecx, ebx
call fcn.10044660
add esp, 8
cmp eax, edi
jne 0x1005d877
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x1005d875
mov ebx, dword [ebp - 0x1c]
push 1
push 0
lea edx, [ebp - 0x3c]
mov ecx, ebx
call fcn.10044660
add esp, 8
test eax, eax
jne 0x1005d834
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1005d834
cmp eax, edi
jne 0x1005cb3e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005cb34
push edi
push str.No_Updates_Required._Size_of_Existing_file_same_as_update_size___d_...
push eax
call fcn.1010d6a8
add esp, 0xc
mov eax, 1
jmp 0x1005cce0
lea ecx, [ebp + 0x133c]
mov edx, ebx
mov byte [ebp + 0x133c], 0
call fcn.10043ff0
cmp byte [ebp + 0x133c], 0
je 0x1005ccb4
push 0x103
lea edx, [ebp + 0x1441]
push 0
push edx
mov byte [ebp + 0x1440], 0
call fcn.10116880
push 0x3ff
lea eax, [ebp + 1]
push 0
push eax
mov byte [ebp], 0
call fcn.10116880
push 0x103
lea ecx, [ebp + 0xf2d]
push 0
push ecx
mov byte [ebp + 0xf2c], 0
call fcn.10116880
add esp, 0x24
lea edx, [ebp + 0x133c]
lea eax, [ebp + 0x1440]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp + 0x1440]
call fcn.10049c40
cmp dword [ebp + 0x1778], 0
lea ecx, [ebp + 0x1440]
je 0x1005cbdf
push str.eupdate.ini
jmp 0x1005cbe4
push str.mailscan.ini
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp + 0x1440]
push edx
push 0x400
lea eax, [ebp]
push eax
push 0x1013f817
push str.DoNotAllowDownload
push str.Config
call edi
cmp byte [ebp], 0
je 0x1005ccb4
lea ecx, [ebp + 0x1440]
push ecx
push 0x104
lea edx, [ebp + 0xf2c]
push edx
push 0x1013f817
push str.ForceMerge
push str.Config
call edi
cmp byte [ebp + 0xf2c], 0x31
je 0x1005ccb4
push str.phupd
lea ecx, [ebp]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x1005cc9d
push str..txt
lea ecx, [ebp]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x1005cc9d
push str..txz
lea ecx, [ebp]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x1005cc9d
push str.phrases
lea ecx, [ebp]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
je 0x1005ccb4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005ccde
push str.Not_merging_as_phrase_update_present_in_DoNotAllowDownload_list_
push eax
call fcn.1010d6a8
add esp, 8
jmp 0x1005ccde
mov edi, ebx
push edi
call fcn.100581b0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x1005cd30
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005ccde
push edi
push str.Error_reading_file__s_
push eax
call fcn.1010d6a8
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1760]
xor ecx, ebp
call fcn.1010d699
add ebp, 0x1764
mov esp, ebp
pop ebp
ret
push 0
push 0
lea edx, [ebp + 0x400]
push edx
lea eax, [ebp + 0x1558]
push eax
push 3
push 0
lea ecx, [ebp + 0x165c]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.1004d3b0
add esp, 0x20
mov edi, edi
push 0xa26
mov eax, ebx
lea ecx, [ebp + 0x400]
call fcn.10046580
add esp, 4
test eax, eax
je 0x1005cf15
mov eax, dword [ebp + 0x1774]
test eax, eax
je 0x1005cd60
cmp dword [eax], 0
je 0x1005cf15
cmp byte [ebp + 0x400], 0
je 0x1005cd30
mov al, 0x2c
lea edx, [ebp + 0x400]
mov byte [ebp + 0x1558], 0
mov dword [ebp - 0x20], 0
call fcn.1005a900
push 1
mov edi, eax
lea eax, [ebp - 0x20]
push 0x2c
push eax
lea edx, [ebp + 0x165c]
lea ecx, [ebp + 0x400]
call fcn.10045850
lea ecx, [edi - 3]
add esp, 0xc
cmp ecx, 1
ja 0x1005cd30
cmp edi, 3
je 0x1005cd05
mov eax, edi
dec edi
test eax, eax
je 0x1005cdd8
push 1
lea ecx, [ebp - 0x20]
push 0x2c
push ecx
lea edx, [ebp + 0x1558]
lea ecx, [ebp + 0x400]
call fcn.10045850
add esp, 0xc
jmp 0x1005cdb3
mov eax, str._2103
lea ecx, [ebp + 0x1558]
call fcn.10031890
test eax, eax
je 0x1005ce18
mov eax, str._2105
lea ecx, [ebp + 0x1558]
call fcn.10031890
test eax, eax
je 0x1005ce18
mov eax, str._2120
lea ecx, [ebp + 0x1558]
call fcn.10031890
test eax, eax
jne 0x1005cd05
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
test eax, eax
je 0x1005ce31
push esi
push str.Phrases.Txt___s__Corrupted_
push eax
call fcn.1010d6a8
add esp, 0xc
push ebx
call fcn.1010f263
push 0x103
lea eax, [ebp + 0x1441]
push 0
push eax
mov byte [ebp + 0x1440], 0
call fcn.10116880
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp + 0x1544]
push 0x101552b0
push ecx
call fcn.1010d6a8
add esp, 0xc
push esi
lea edx, [ebp + 0x1440]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0x1544]
push eax
lea ecx, [ebp + 0x1440]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp + 0x1440]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea eax, [ebp - 0x18]
push eax
call fcn.1004d680
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
add esp, 4
push 0
call fcn.10063ba0
add esp, 4
test eax, eax
je 0x1005ced2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, 1
jmp 0x1005cce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x104
mov edi, eax
lea esi, [ebp + 0x1238]
call fcn.10049ce0
mov eax, dword [ebp - 0x14]
add esp, 4
test eax, eax
je 0x1005ccde
mov edx, dword [ebp - 0x1c]
mov ecx, esi
push ecx
push edx
mov ecx, ebx
push ecx
push str.Error_Copying_phrases_update_file__s_to__s__Reason:__s
push eax
call fcn.1010d6a8
add esp, 0x14
jmp 0x1005ccde
push ebx
call fcn.1010f263
mov edi, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x24], 0
call fcn.1004d610
lea ecx, [ebp - 0xd4]
mov edi, eax
call fcn.10062b90
lea edx, [ebp - 0xd4]
push edx
push edi
mov byte [ebp - 4], 1
call fcn.1004d5d0
mov ax, word [0x10148b5c]
mov cl, byte [0x10148b5e]
mov edi, dword [ebp - 0x28]
add esp, 8
push 0x20
lea edx, [ebp - 0x30]
push edx
push edi
mov word [ebp - 0x30], ax
mov byte [ebp - 0x2e], cl
call fcn.1010eb3a
add esp, 0xc
test eax, eax
je 0x1005cf7c
mov dword [ebp - 0x24], eax
jmp 0x1005cfd0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0
test eax, eax
je 0x1005cf99
push edi
push str.Error_reading_file__s_
push eax
call fcn.1010d6a8
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.1004d680
add esp, 4
lea ecx, [ebp - 0xd4]
call fcn.10062ce0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.10062c60
jmp 0x1005ccde
call fcn.1004d3b0
add esp, 0x20
lea esp, [esp]
mov ebx, dword [ebp - 0x24]
push 0xa27
mov eax, ebx
lea ecx, [ebp + 0x400]
call fcn.10046580
add esp, 4
test eax, eax
je 0x1005d662
mov eax, dword [ebp + 0x1774]
xor ecx, ecx
cmp eax, ecx
je 0x1005d004
cmp dword [eax], ecx
je 0x1005d662
cmp byte [ebp + 0x400], cl
je 0x1005cfd0
mov byte [ebp + 0x1558], cl
mov dword [ebp - 0x20], ecx
xor edi, edi
jmp 0x1005d020
mov al, byte [ebp + ecx + 0x400]
test al, al
je 0x1005d033
cmp al, 0x2c
jne 0x1005d030
inc edi
inc ecx
jmp 0x1005d020
push 1
lea ecx, [ebp - 0x20]
push 0x2c
push ecx
lea edx, [ebp + 0x165c]
lea ecx, [ebp + 0x400]
call fcn.10045850
add esp, 0xc
cmp edi, 4
jne 0x1005d079
mov edx, edi
dec edi
test edx, edx
je 0x1005d08b
push 1
lea eax, [ebp - 0x20]
push 0x2c
push eax
lea edx, [ebp + 0x1558]
lea ecx, [ebp + 0x400]
call fcn.10045850
add esp, 0xc
jmp 0x1005d054
cmp edi, 3
jl 0x1005d654
cmp edi, 5
jg 0x1005d654
lea ecx, [ebp + 0x165c]
push ecx
lea edx, [ebp + 0xe28]
push str.__s_
push edx
call fcn.1010d6a8
add esp, 0xc
lea eax, [ebp + 0x165c]
push eax
xor ecx, ecx
lea edx, [ebp - 0xd4]
xor ebx, ebx
xor edi, edi
call fcn.100635a0
test eax, eax
je 0x1005d0ca
cmp eax, 1
je 0x1005d0ca
mov edi, dword [eax + 0x10]
lea ecx, [ebp + 0xe28]
push ecx
xor ecx, ecx
lea edx, [ebp - 0xd4]
call fcn.100635a0
test eax, eax
je 0x1005d0ea
cmp eax, 1
je 0x1005d0ea
mov ebx, dword [eax + 0x10]
test edi, edi
jne 0x1005d1e7
test ebx, ebx
jne 0x1005d3f6
lea edx, [ebp + 0x1558]
push edx
mov dword [ebp - 0x2c], 1
call fcn.1010dc05
add esp, 4
cmp eax, 0x69
jne 0x1005d16a
test esi, esi
je 0x1005d16a
lea ecx, [ebp + 0x165c]
call fcn.100559b0
push ebx
push ebx
push ebx
push 0x1013ffd0
push 3
push ebx
lea eax, [ebp + 0x165c]
push eax
push esi
call fcn.1004d3b0
add esp, 0x20
lea ecx, [ebp + 0x400]
push 0x2c
push ecx
call fcn.1010e930
add esp, 8
test eax, eax
je 0x1005d1c1
push 0x101552b4
lea edx, [ebp + 0x400]
push edx
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x1005d1c1
mov eax, 0x10154d70
lea ecx, [ebp + 0x1558]
call fcn.10031890
test eax, eax
jne 0x1005d1c1
test esi, esi
je 0x1005d1c1
lea eax, [ebp + 0x165c]
push 0x2e
push eax
call fcn.1010d780
add esp, 8
test eax, eax
je 0x1005d1c1
lea ecx, [ebp + 0x165c]
call fcn.100559b0
push 0
push 0
push 0
push 0x10152c54
push 3
push 0
lea ecx, [ebp + 0x165c]
push ecx
push esi
call fcn.1004d3b0
add esp, 0x20
push 0
push 0
lea edx, [ebp + 0x400]
push edx
lea eax, [ebp + 0x1558]
push eax
push 3
push 0
lea ecx, [ebp + 0x165c]
push ecx
lea edx, [ebp - 0x18]
push edx
jmp 0x1005cfc4
test esi, esi
je 0x1005d215
mov ecx, dword [edi + 4]
lea eax, [ebp + 0x1558]
call fcn.10031890
test eax, eax
jne 0x1005d215
lea eax, [ebp + 0x1558]
push eax
call fcn.1010dc05
add esp, 4
cmp eax, 0x69
je 0x1005d2cb
mov ecx, dword [edi + 4]
lea eax, [ebp + 0x1558]
call fcn.10031890
test eax, eax
je 0x1005d25a
mov ecx, dword [edi + 4]
mov eax, 0x10154d6c
call fcn.10031890
test eax, eax
je 0x1005d25a
mov ecx, dword [edi + 4]
mov eax, 0x10154d70
call fcn.10031890
test eax, eax
je 0x1005d25a
mov ecx, dword [edi + 4]
mov eax, 0x101552b8
call fcn.10031890
test eax, eax
jne 0x1005d2cb
mov eax, 0x10154d70
lea ecx, [ebp + 0x1558]
call fcn.10031890
test eax, eax
je 0x1005d283
mov ecx, dword [edi + 4]
mov eax, 0x10154d6c
call fcn.10031890
test eax, eax
jne 0x1005cfd0
test esi, esi
je 0x1005cfd0
lea ecx, [ebp + 0x165c]
push 0x2e
push ecx
call fcn.1010d780
add esp, 8
test eax, eax
je 0x1005cfd0
lea ecx, [ebp + 0x165c]
call fcn.100559b0
push 0
push 0
push 0
push 0x10152c54
push 3
push 0
lea edx, [ebp + 0x165c]
push edx
push esi
jmp 0x1005cfc4
lea eax, [ebp + 0x1558]
push eax
call fcn.1010dc05
add esp, 4
cmp eax, 0x69
jne 0x1005d350
test esi, esi
je 0x1005d350
lea ecx, [ebp + 0x165c]
call fcn.100559b0
push 0
push 0
push 0
push 0x1013ffd0
push 3
push 0
lea ecx, [ebp + 0x165c]
push ecx
push esi
call fcn.1004d3b0
mov eax, dword [edi + 8]
add esp, 0x20
lea edx, [ebp + 0x400]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [edi + 8]
push 0x2c
push eax
call fcn.1010e930
add esp, 8
test eax, eax
je 0x1005d342
mov byte [eax], 0
mov ecx, dword [edi + 8]
push 0x101552b4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [edi + 4]
push 0x10154d70
push edx
jmp 0x1005d3e1
mov eax, 0x10154d70
lea ecx, [ebp + 0x1558]
call fcn.10031890
test eax, eax
jne 0x1005d3c5
test esi, esi
je 0x1005d3c5
lea eax, [ebp + 0x165c]
push 0x2e
push eax
call fcn.1010d780
add esp, 8
test eax, eax
je 0x1005d3c5
lea ecx, [ebp + 0x165c]
call fcn.100559b0
push 0
push 0
push 0
push 0x10152c54
push 3
push 0
lea ecx, [ebp + 0x165c]
push ecx
push esi
call fcn.1004d3b0
mov eax, dword [edi + 4]
add esp, 0x20
lea edx, [ebp + 0x1558]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [edi + 8]
lea ecx, [ebp + 0x400]
push ecx
push edx
jmp 0x1005d3e1
mov ecx, dword [edi + 4]
lea eax, [ebp + 0x1558]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [edi + 8]
lea edx, [ebp + 0x400]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x2c], 1
test ebx, ebx
je 0x1005cfd0
mov ecx, dword [ebx + 4]
lea eax, [ebp + 0x1558]
call fcn.10031890
test eax, eax
je 0x1005cfd0
mov ecx, dword [ebx + 4]
mov eax, 0x10154d6c
call fcn.10031890
test eax, eax
je 0x1005cfd0
mov ecx, dword [ebx + 4]
mov eax, 0x10154d70
call fcn.10031890
test eax, eax
je 0x1005cfd0
mov ecx, dword [ebx + 4]
mov eax, 0x101552b8
call fcn.10031890
test eax, eax
je 0x1005cfd0
mov edx, dword [ebx + 4]
lea ecx, [ebp + 0x1558]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test edi, edi
je 0x1005d55a
mov ecx, dword [edi + 8]
lea eax, [ebp + 0x400]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp + 0x1558]
push edx
call fcn.1010dc05
add esp, 4
cmp eax, 0x69
jne 0x1005d4eb
test esi, esi
je 0x1005d4eb
lea ecx, [ebp + 0x165c]
call fcn.100559b0
push 0
push 0
push 0
push 0x1013ffd0
push 3
push 0
lea eax, [ebp + 0x165c]
push eax
push esi
call fcn.1004d3b0
mov eax, dword [edi + 8]
add esp, 0x20
push 0x2c
push eax
call fcn.1010e930
add esp, 8
test eax, eax
je 0x1005d648
mov byte [eax], 0
mov ecx, dword [edi + 8]
push 0x101552b4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x2c], 1
jmp 0x1005cfd0
mov eax, 0x10154d70
lea ecx, [ebp + 0x1558]
call fcn.10031890
test eax, eax
jne 0x1005d648
test esi, esi
je 0x1005d648
lea edx, [ebp + 0x165c]
push 0x2e
push edx
call fcn.1010d780
add esp, 8
test eax, eax
je 0x1005d648
lea ecx, [ebp + 0x165c]
call fcn.100559b0
push 0
push 0
push 0
push 0x10152c54
push 3
push 0
lea eax, [ebp + 0x165c]
push eax
push esi
call fcn.1004d3b0
add esp, 0x20
mov dword [ebp - 0x2c], 1
jmp 0x1005cfd0
lea ecx, [ebp + 0x1558]
push ecx
call fcn.1010dc05
add esp, 4
cmp eax, 0x69
jne 0x1005d5c8
test esi, esi
je 0x1005d5c8
lea ecx, [ebp + 0x165c]
call fcn.100559b0
push 0
push 0
push 0
push 0x1013ffd0
push 3
push 0
lea edx, [ebp + 0x165c]
push edx
push esi
call fcn.1004d3b0
add esp, 0x20
lea eax, [ebp + 0x400]
push 0x2c
push eax
call fcn.1010e930
add esp, 8
test eax, eax
je 0x1005d61f
push 0x101552b4
lea ecx, [ebp + 0x400]
push ecx
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x1005d61f
mov eax, 0x10154d70
lea ecx, [ebp + 0x1558]
call fcn.10031890
test eax, eax
jne 0x1005d61f
test esi, esi
je 0x1005d61f
lea edx, [ebp + 0x165c]
push 0x2e
push edx
call fcn.1010d780
add esp, 8
test eax, eax
je 0x1005d61f
lea ecx, [ebp + 0x165c]
call fcn.100559b0
push 0
push 0
push 0
push 0x10152c54
push 3
push 0
lea eax, [ebp + 0x165c]
push eax
push esi
call fcn.1004d3b0
add esp, 0x20
push 0
push 0
lea ecx, [ebp + 0x400]
push ecx
lea edx, [ebp + 0x1558]
push edx
push 3
push 0
lea eax, [ebp + 0x165c]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.1004d3b0
add esp, 0x20
mov dword [ebp - 0x2c], 1
jmp 0x1005cfd0
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x2c], 0
test ebx, ebx
je 0x1005d676
push ebx
call fcn.1010f263
add esp, 4
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0xd4]
call fcn.10062ce0
cmp dword [ebp - 0x2c], 0
jne 0x1005d6db
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005d6b6
cmp dword [ebp - 0x40], 0
je 0x1005d6a8
mov edx, dword [ebp - 0x28]
push edx
push str.Updates_NOT_DONE_on_phrases.txt.__s_found_corrupt_
push eax
call fcn.1010d6a8
add esp, 0xc
jmp 0x1005d6b6
push str.No_updates_required_for_phrases.txt...
push eax
call fcn.1010d6a8
add esp, 8
lea eax, [ebp - 0x18]
push eax
call fcn.1004d680
add esp, 4
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.10062c60
mov eax, 1
jmp 0x1005cce0
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp + 0x1030]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0x1030]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp + 0x1030]
lea edx, [ebp + 0x1030]
dec ecx
push 0x1014a614
push edx
mov byte [eax + ecx], 0x7e
call fcn.1010ebfe
mov ebx, eax
add esp, 8
mov dword [ebp - 0x34], ebx
test ebx, ebx
je 0x1005d7f8
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0x1774]
mov edi, edi
test edi, edi
je 0x1005d758
mov eax, dword [edi + 8]
test eax, eax
je 0x1005d758
test esi, esi
je 0x1005d744
cmp dword [esi], 0
je 0x1005d758
push eax
push 0x1014a618
push ebx
call fcn.10110652
mov edi, dword [edi + 0x18]
add esp, 0xc
jmp 0x1005d730
push ebx
call fcn.1010f263
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x34], 0
call fcn.1004d680
add esp, 8
test esi, esi
je 0x1005d77a
cmp dword [esi], 0
je 0x1005d7ad
push esi
lea ecx, [ebp + 0x1030]
call fcn.1005a970
test esi, esi
je 0x1005d78f
cmp dword [esi], 0
je 0x1005d7ad
mov edi, dword [ebp - 0x1c]
mov eax, edi
call fcn.10033960
test eax, eax
je 0x1005d7b0
push edi
lea ecx, [ebp + 0x1030]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x1005d7b0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1005d6c2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
test eax, eax
jge 0x1005d7d4
fadd qword [0x10169598]
fdiv qword [0x10169580]
mov edx, dword [ebp - 0x28]
sub esp, 8
fstp qword [esp]
push edx
push edi
push str.Successfully_Merged__s_and__s___.2f_Secs_.
push esi
call fcn.1010d6a8
add esp, 0x18
jmp 0x1005d6c2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005d814
lea ecx, [ebp + 0x1030]
push ecx
push str.Error_opening_temporary_output_file__s_
push eax
call fcn.1010d6a8
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
call fcn.1004d680
add esp, 4
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.10062c60
jmp 0x1005ccde
mov edi, ebx
mov ebx, dword [ebp - 0x28]
push 0
call fcn.10063ba0
add esp, 4
test eax, eax
je 0x1005ced2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005d86b
push edi
push ebx
push str.Copied_phrases_update_file__s_to__s_
push eax
call fcn.1010d6a8
add esp, 0x10
mov eax, 1
jmp 0x1005cce0
xor edi, edi
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x1005ccde
push ebx
cmp eax, edi
je 0x1005d892
push str.Unable_to_find_phrases_update_file__s_
push ecx
jmp 0x1005ccd6
push str.Phrases_update_file__s_of_0_bytes_
push ecx
jmp 0x1005ccd6