Function at 0x4176d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48410a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xaf8
mov eax, dword [0x4a57cc]
mov dword [ebp - 0x18], eax
push edi
mov dword [ebp - 0xac8], ecx
lea ecx, [ebp - 0x774]
call fcn.00403c10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xaa9]
call fcn.004210b0
mov dword [ebp - 0xacc], eax
mov eax, dword [ebp - 0xacc]
mov dword [ebp - 0xad0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xad0]
push ecx
lea ecx, [ebp - 0x664]
call fcn.004206d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xaa9]
call fcn.00420770
lea ecx, [ebp - 0xaaa]
call fcn.004210b0
mov dword [ebp - 0xad4], eax
mov edx, dword [ebp - 0xad4]
mov dword [ebp - 0xad8], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xad8]
push eax
lea ecx, [ebp - 0x780]
call fcn.004206d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xaaa]
call fcn.00420770
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x768], 1
mov dword [ebp - 0x76c], 0
mov word [ebp - 0x784], 0
mov ecx, dword [ebp - 0xac8]
mov dword [ecx + 0x534], 1
push 0x100
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x764]
push eax
call fcn.004031d0
add esp, 0xc
mov ecx, 1
test ecx, ecx
je 0x41786d
lea edx, [ebp - 0x764]
mov dword [ebp - 0xadc], edx
mov eax, dword [ebp - 0xadc]
inc eax
mov dword [ebp - 0xae0], eax
mov ecx, dword [ebp - 0xadc]
mov dl, byte [ecx]
mov byte [ebp - 0xae1], dl
inc dword [ebp - 0xadc]
cmp byte [ebp - 0xae1], 0
jne 0x417805
mov eax, dword [ebp - 0xadc]
sub eax, dword [ebp - 0xae0]
mov dword [ebp - 0xae8], eax
mov ecx, dword [ebp - 0xae8]
sub ecx, 1
mov dword [ebp - 0x788], ecx
mov edx, dword [ebp - 0x788]
movsx eax, byte [ebp + edx - 0x764]
cmp eax, 0x5c
jne 0x417866
mov ecx, dword [ebp - 0x788]
mov byte [ebp + ecx - 0x764], 0
jmp 0x417868
jmp 0x41786d
jmp 0x4177df
push 0x48b02c
mov edx, dword [ebp + 8]
push edx
call fcn.0040ad50
add esp, 8
mov dword [ebp - 0x658], eax
cmp dword [ebp - 0x658], 0
je 0x4178a4
mov eax, dword [ebp - 0x658]
add eax, 3
push eax
lea ecx, [ebp - 0x774]
call fcn.004205a0
jmp 0x4178b3
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x774]
call fcn.004205a0
push 7
push 0x48b030
mov edx, dword [ebp + 8]
push edx
call fcn.00416340
add esp, 0xc
test eax, eax
jne 0x4178d4
mov dword [ebp - 0x768], 0
push 0
push 0x3a
lea ecx, [ebp - 0x774]
call fcn.0041f910
mov dword [ebp - 0x770], eax
cmp dword [ebp - 0x770], 0xffffffff
je 0x417a3d
mov eax, dword [ebp - 0x770]
add eax, 1
push eax
push 0x2f
lea ecx, [ebp - 0x774]
call fcn.0041f910
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x770]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x770]
add edx, 1
push edx
lea eax, [ebp - 0xab0]
push eax
lea ecx, [ebp - 0x774]
call fcn.0041f520
mov dword [ebp - 0xaec], eax
mov ecx, dword [ebp - 0xaec]
call fcn.00420d30
push eax
call fcn.0046406f
add esp, 4
mov word [ebp - 0x784], ax
lea ecx, [ebp - 0xab0]
call fcn.00403ca0
lea ecx, [ebp - 0x774]
call fcn.00403ce0
sub eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xab4]
push ecx
lea ecx, [ebp - 0x774]
call fcn.0043ec10
mov dword [ebp - 0xaf0], eax
mov edx, dword [ebp - 0xaf0]
mov dword [ebp - 0xaf4], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x770]
push eax
lea ecx, [ebp - 0xab8]
push ecx
lea ecx, [ebp - 0x774]
call fcn.004137f0
mov dword [ebp - 0xaf8], eax
mov edx, dword [ebp - 0xaf8]
mov dword [ebp - 0xafc], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xaf4]
push eax
mov ecx, dword [ebp - 0xafc]
push ecx
lea edx, [ebp - 0xabc]
push edx
call fcn.00403370
add esp, 0xc
mov dword [ebp - 0xb00], eax
mov eax, dword [ebp - 0xb00]
mov dword [ebp - 0xb04], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xb04]
push ecx
lea ecx, [ebp - 0x774]
call fcn.0041f710
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xabc]
call fcn.00403ca0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xab8]
call fcn.00403ca0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xab4]
call fcn.00403ca0
mov ecx, 0x18e
xor eax, eax
lea edi, [ebp - 0x654]
rep stosd dword es:[edi], eax
mov edx, dword [0x48b038]
mov dword [ebp - 0x654], edx
mov eax, dword [0x48b03c]
mov dword [ebp - 0x650], eax
mov cx, word [0x48b040]
mov word [ebp - 0x64c], cx
mov dl, byte [0x48b042]
mov byte [ebp - 0x64a], dl
mov eax, dword [0x48b044]
mov dword [ebp - 0x554], eax
mov ecx, dword [0x48b048]
mov dword [ebp - 0x550], ecx
mov dx, word [0x48b04c]
mov word [ebp - 0x54c], dx
mov al, byte [0x48b04e]
mov byte [ebp - 0x54a], al
mov dword [ebp - 0x24], 2
lea ecx, [ebp - 0x654]
push ecx
lea ecx, [ebp - 0x664]
call fcn.00420360
mov edx, dword [ebp - 0xac8]
add edx, 4
push edx
lea ecx, [ebp - 0x78c]
call fcn.0041e3d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x78c]
call fcn.0041e420
movzx eax, al
test eax, eax
je 0x417b11
mov ecx, dword [ebp - 0xac8]
mov dword [ecx + 0x528], 2
mov edx, dword [ebp - 0xac8]
mov dword [edx + 0x52c], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78c]
call fcn.0041e400
push 0
push 1
mov ax, word [ebp - 0x784]
push eax
mov ecx, dword [ebp - 0x768]
push ecx
lea edx, [ebp - 0x664]
push edx
lea eax, [ebp - 0x764]
push eax
lea ecx, [ebp - 0x774]
call fcn.00420d30
push eax
mov ecx, dword [ebp - 0xac8]
call fcn.0041a2d0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x417bb0
lea ecx, [ebp - 0x664]
call fcn.004203d0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x48b050
lea edx, [ebp - 0x88c]
push edx
call fcn.00463edd
add esp, 0xc
lea eax, [ebp - 0x664]
push eax
lea ecx, [ebp - 0x88c]
push ecx
mov ecx, dword [ebp - 0xac8]
call fcn.00419d60
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x417bb0
mov dword [ebp - 0x76c], 1
mov edx, dword [ebp - 0x76c]
push edx
push str.bIsNewVersion_:__d_n
mov eax, dword [ebp - 0xac8]
push eax
call fcn.0041e370
add esp, 0xc
cmp dword [ebp - 0x10], 0
jne 0x417d2c
mov ecx, 0x18e
xor eax, eax
lea edi, [ebp - 0x654]
rep stosd dword es:[edi], eax
mov ecx, dword [0x48b074]
mov dword [ebp - 0x654], ecx
mov edx, dword [0x48b078]
mov dword [ebp - 0x650], edx
mov ax, word [0x48b07c]
mov word [ebp - 0x64c], ax
mov ecx, dword [0x48b080]
mov dword [ebp - 0x554], ecx
mov edx, dword [0x48b084]
mov dword [ebp - 0x550], edx
mov ax, word [0x48b088]
mov word [ebp - 0x54c], ax
mov dword [ebp - 0x24], 2
lea ecx, [ebp - 0x664]
call fcn.004203d0
lea ecx, [ebp - 0x654]
push ecx
lea ecx, [ebp - 0x664]
call fcn.00420360
mov edx, dword [ebp - 0xac8]
add edx, 4
push edx
lea ecx, [ebp - 0x890]
call fcn.0041e3d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x890]
call fcn.0041e420
movzx eax, al
test eax, eax
je 0x417c9d
mov ecx, dword [ebp - 0xac8]
mov dword [ecx + 0x528], 2
mov edx, dword [ebp - 0xac8]
mov dword [edx + 0x52c], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x890]
call fcn.0041e400
push 0
push 1
mov ax, word [ebp - 0x784]
push eax
mov ecx, dword [ebp - 0x768]
push ecx
lea edx, [ebp - 0x664]
push edx
lea eax, [ebp - 0x764]
push eax
lea ecx, [ebp - 0x774]
call fcn.00420d30
push eax
mov ecx, dword [ebp - 0xac8]
call fcn.0041a2d0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x417d2c
lea ecx, [ebp - 0x664]
call fcn.004203d0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x48b08c
lea edx, [ebp - 0x994]
push edx
call fcn.00463edd
add esp, 0xc
lea eax, [ebp - 0x664]
push eax
lea ecx, [ebp - 0x994]
push ecx
mov ecx, dword [ebp - 0xac8]
call fcn.00419d60
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x417dc0
mov edx, dword [ebp - 0xac8]
add edx, 4
push edx
lea ecx, [ebp - 0x998]
call fcn.0041e3d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x998]
call fcn.0041e420
movzx eax, al
test eax, eax
je 0x417d7c
mov ecx, dword [ebp - 0xac8]
mov edx, dword [ecx + 0x52c]
add edx, 1
mov eax, dword [ebp - 0xac8]
mov dword [eax + 0x52c], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x998]
call fcn.0041e400
lea ecx, [ebp - 0x780]
call fcn.004203d0
mov ecx, dword [ebp - 0x76c]
push ecx
lea edx, [ebp - 0x780]
push edx
lea eax, [ebp - 0x664]
push eax
lea ecx, [ebp - 0x764]
push ecx
mov ecx, dword [ebp - 0xac8]
call fcn.0041ad50
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x417f81
lea ecx, [ebp - 0x780]
call fcn.004202e0
movzx edx, al
test edx, edx
je 0x417edf
lea eax, [ebp - 0x764]
push eax
push 0x48b09c
lea ecx, [ebp - 0xa9c]
push ecx
call fcn.00463edd
add esp, 0xc
lea edx, [ebp - 0xa9c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x764]
push eax
push 0x48b0ac
lea ecx, [ebp - 0xa9c]
push ecx
call fcn.00463edd
add esp, 0xc
lea edx, [ebp - 0xa9c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0xac8]
add eax, 4
push eax
lea ecx, [ebp - 0xaa0]
call fcn.0041e3d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xaa0]
call fcn.0041e420
movzx ecx, al
test ecx, ecx
je 0x417e8b
mov edx, dword [ebp - 0xac8]
mov dword [edx + 0x41c], 3
mov eax, dword [ebp - 0xac8]
mov dword [eax + 0x524], 1
mov ecx, dword [ebp - 0xac8]
mov dword [ecx + 0x520], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xaa0]
call fcn.0041e400
mov dword [ebp - 0xac0], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x780]
call fcn.00420300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x664]
call fcn.00420300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x774]
call fcn.00403ca0
mov eax, dword [ebp - 0xac0]
jmp 0x41805e
mov edx, dword [ebp - 0xac8]
add edx, 4
push edx
lea ecx, [ebp - 0xaa4]
call fcn.0041e3d0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xaa4]
call fcn.0041e420
movzx eax, al
test eax, eax
je 0x417f35
lea ecx, [ebp - 0x780]
call fcn.004202c0
lea ecx, [eax + eax + 3]
mov edx, dword [ebp - 0xac8]
mov dword [edx + 0x528], ecx
mov eax, dword [ebp - 0xac8]
mov dword [eax + 0x52c], 2
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xaa4]
call fcn.0041e400
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov dx, word [ebp - 0x784]
push edx
mov eax, dword [ebp - 0x768]
push eax
lea ecx, [ebp - 0x780]
push ecx
lea edx, [ebp - 0x764]
push edx
lea ecx, [ebp - 0x774]
call fcn.00420d30
push eax
mov ecx, dword [ebp - 0xac8]
call fcn.0041a2d0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x417fae
lea eax, [ebp - 0x780]
push eax
lea ecx, [ebp - 0x764]
push ecx
mov ecx, dword [ebp - 0xac8]
call fcn.0041b1b0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x417fae
jmp 0x417d2c
cmp dword [ebp - 0x10], 0
jne 0x41801f
mov edx, dword [ebp - 0xac8]
add edx, 4
push edx
lea ecx, [ebp - 0xaa8]
call fcn.0041e3d0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xaa8]
call fcn.0041e420
movzx eax, al
test eax, eax
je 0x418010
mov ecx, dword [ebp - 0xac8]
cmp dword [ecx + 0x534], 0
je 0x418000
mov edx, dword [ebp - 0xac8]
mov dword [edx + 0x41c], 4
jmp 0x418010
mov eax, dword [ebp - 0xac8]
mov dword [eax + 0x41c], 5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xaa8]
call fcn.0041e400
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xac4], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x780]
call fcn.00420300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x664]
call fcn.00420300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x774]
call fcn.00403ca0
mov eax, dword [ebp - 0xac4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x18]
call fcn.004635af
pop edi
mov esp, ebp
pop ebp
ret 0xc