Function at 0x404e4b
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
push esi
mov esi, ecx
push edi
push 1
cmp dword [esi + 0x9c8], 0
lea eax, [esi + 0x9c8]
je 0x404e6f
pop eax
jmp 0x4051fc
pop edi
mov ecx, esi
push str.LDUW
mov dword [eax], edi
call fcn.00405202
cmp eax, edi
jg 0x404e89
mov eax, edi
jmp 0x4051fc
lea ecx, [ebp - 0xc]
call fcn.0040f560
cmp byte [esi + 0x5b4], 0
lea eax, [esi + 0x5b4]
jne 0x404eae
lea eax, [esi + 0x1314]
push str.http:__www.0190_dialers.com_
push eax
jmp 0x404eb6
lea ecx, [esi + 0x1314]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea edi, [esi + 0x1314]
push str.popup_update.cfm
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [esi + 0x9d8]
push eax
push 0x4128c0
push edi
call fcn.0040198e
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x404efa
push dword [ebp + 8]
push 0x4128bc
push edi
call fcn.0040198e
add esp, 0xc
push ebx
push 0x4128b8
push 0x4128b4
push edi
call fcn.0040198e
add esp, 0xc
lea ecx, [ebp - 0x3a0]
call fcn.0040ac35
push edi
lea ecx, [ebp - 0x3a0]
call fcn.0040ad6b
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x10], ebx
jne 0x404f35
xor esi, esi
jmp 0x4051e6
push 0x3b
push ebx
call fcn.00401c15
pop ecx
cmp eax, 2
pop ecx
mov dword [ebp - 4], eax
jl 0x404f2e
and byte [ebp - 0x24], 0
xor eax, eax
lea edi, [ebp - 0x23]
and byte [ebp - 0xa8], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x20
xor eax, eax
pop ecx
lea edi, [ebp - 0xa7]
rep stosd dword es:[edi], eax
and byte [ebp - 0x190], 0
push 0x20
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x18f]
and byte [ebp - 0x294], 0
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x293]
rep stosd dword es:[edi], eax
and byte [ebp - 0x10c], 0
push 0x18
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
push 0x3b
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push ebx
stosb byte es:[edi], al
mov ebx, 0x82
lea eax, [ebp - 0xa8]
push ebx
push eax
call fcn.00401b0e
push 0x7c
lea eax, [ebp - 0xa8]
push 0
push eax
lea eax, [ebp - 0x10c]
push 0x64
push eax
call fcn.00401b0e
push 0x7c
lea eax, [ebp - 0xa8]
push 1
push eax
lea eax, [ebp - 0x24]
push 0x14
push eax
call fcn.00401b0e
lea eax, [ebp - 0x24]
push eax
call fcn.00401e09
add esp, 0x40
mov dword [esi + 0x171c], eax
test eax, eax
je 0x404f2e
push 0x7c
lea eax, [ebp - 0xa8]
push 2
push eax
lea eax, [ebp - 0x24]
push 0x14
push eax
call fcn.00401b0e
lea eax, [ebp - 0x24]
lea edi, [esi + 0x1720]
push eax
call fcn.00401e09
add esp, 0x18
mov dword [edi], eax
lea eax, [esi + 0x10df]
lea ecx, [ebp - 0xc]
push 4
push 4
push edi
push str.R_hours
mov edi, SysReAllocStringLen
push eax
push edi
call fcn.0040f8ae
push 1
pop eax
cmp dword [ebp - 4], eax
mov dword [ebp + 8], eax
jle 0x4051d3
push 0x3b
lea eax, [ebp - 0xa8]
push dword [ebp + 8]
push dword [ebp - 0x10]
push ebx
push eax
call fcn.00401b0e
lea eax, [ebp - 0xa8]
push 0x7c
push eax
call fcn.00401c15
add esp, 0x1c
cmp eax, 1
jne 0x4051d3
push 0x7c
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x24]
push 0x14
push eax
call fcn.00401b0e
push 0x7c
lea eax, [ebp - 0xa8]
push 0
push eax
lea eax, [ebp - 0x190]
push ebx
push eax
call fcn.00401b0e
add esp, 0x28
lea eax, [ebp - 0x190]
push eax
lea eax, [esi + 0xdab]
push eax
lea eax, [ebp - 0x294]
push 0x412354
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004019df
add esp, 0x18
test eax, eax
je 0x405167
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x10c]
push eax
push str.popup_
push str.http:__www.0190_dialers.com_
lea eax, [esi + 0x1314]
push str._s_s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [esi + 0x1314]
lea ecx, [ebp - 0x3a0]
push eax
call fcn.0040acef
test eax, eax
je 0x404f2e
lea ecx, [ebp - 0x3a0]
call fcn.0040acec
lea ecx, [ebp - 0x294]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
test eax, eax
je 0x404f2e
lea eax, [ebp - 0x294]
push str.html
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea ecx, [ebp - 0x294]
sub ecx, 4
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x4051c4
lea eax, [ebp - 0x294]
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
lea ecx, [ebp - 0xc]
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [esi + 0x10df]
push 0x4120c8
push eax
push edi
call fcn.0040f8ae
test eax, eax
je 0x404f2e
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jl 0x405067
push 1
push 0
push str.LDUW
mov ecx, esi
call fcn.00405271
push 1
pop esi
lea ecx, [ebp - 0x3a0]
call fcn.0040ac48
lea ecx, [ebp - 0xc]
call fcn.0040f589
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret 4