Function at 0x445c70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e32aa
mov eax, dword fs:[0]
push eax
mov eax, 0xce2c
call fcn.004ad6f0
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xce30], ecx
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x11], 0
mov word [ebp - 0xc7f4], 0
push 0xfe
push 0
lea eax, [ebp - 0xc7f2]
push eax
call fcn.004ad2c0
add esp, 0xc
push 0xc6d4
push 0
lea ecx, [ebp - 0xc6f4]
push ecx
call fcn.004ad2c0
add esp, 0xc
push 0xc7d4
push 0
lea edx, [ebp - 0xc7f4]
push edx
call fcn.004ad2c0
add esp, 0xc
lea eax, [ebp - 0xc7f4]
push eax
push 7
call fcn.00428a40
test eax, eax
jne 0x445d15
or eax, 0xffffffff
jmp 0x4460c4
mov dword [ebp - 0xc7f8], 0
jmp 0x445d30
mov ecx, dword [ebp - 0xc7f8]
add ecx, 1
mov dword [ebp - 0xc7f8], ecx
cmp dword [ebp - 0xc7f8], 4
jae 0x4460a2
mov edx, dword [ebp - 0xc7f8]
imul edx, edx, 0x282c
lea eax, [ebp + edx - 0xc6ea]
push eax
call fcn.004ade29
add esp, 4
test eax, eax
jne 0x445d62
jmp 0x4460a2
mov ecx, dword [ebp - 0xc7f8]
imul ecx, ecx, 0x282c
mov edx, dword [ebp + 0xc]
mov ax, word [ebp + ecx - 0xc6ec]
mov word [edx + 0xc2c], ax
mov ecx, dword [ebp - 0xc7f8]
imul ecx, ecx, 0x282c
mov edx, dword [ebp + ecx - 0xc6f0]
mov dword [ebp - 0xce34], edx
cmp dword [ebp - 0xce34], 4
ja case.0x445da8.3
mov eax, dword [ebp - 0xce34]
jmp dword [eax*4 + 0x4460e0]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0x445de3
mov edx, dword [ebp + 0xc]
mov dword [edx], 2
jmp 0x445de3
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x445de3
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 3
jmp 0x445de3
or eax, 0xffffffff
jmp 0x4460c4
mov edx, dword [ebp - 0xc7f8]
imul edx, edx, 0x282c
lea eax, [ebp + edx - 0xc6ea]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
call fcn.00405230
mov edx, dword [ebp - 0xc7f8]
imul edx, edx, 0x282c
lea eax, [ebp + edx - 0xa6ea]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
add ecx, 0x20c
push ecx
call fcn.00405230
mov edx, dword [ebp - 0xc7f8]
imul edx, edx, 0x282c
lea eax, [ebp + edx - 0xa4e2]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
add ecx, 0x824
push ecx
call fcn.00405230
mov edx, dword [ebp - 0xc7f8]
imul edx, edx, 0x282c
lea eax, [ebp + edx - 0xa2da]
push eax
push 0x80
mov ecx, dword [ebp + 0xc]
add ecx, 0xa2c
push ecx
call fcn.00405230
mov edx, dword [ebp - 0xc7f8]
imul edx, edx, 0x282c
lea eax, [ebp + edx - 0xa0d2]
push eax
push 0x80
mov ecx, dword [ebp + 0xc]
add ecx, 0xb2c
push ecx
call fcn.00405230
mov dword [ebp - 0xca0c], 0xffffffff
mov word [ebp - 0xca04], 0
push 0x206
push 0
lea edx, [ebp - 0xca02]
push edx
call fcn.004ad2c0
add esp, 0xc
mov dword [ebp - 0xca08], 0
mov eax, dword [ebp + 8]
push eax
push 0x4fc250
push 0x104
lea ecx, [ebp - 0xca04]
push ecx
call fcn.004adeef
add esp, 0x10
push 0x4fc258
mov edx, dword [ebp + 8]
push edx
call fcn.00419d50
add esp, 8
test eax, eax
je 0x445f42
mov dword [ebp - 0xca08], 1
lea eax, [ebp - 0xca04]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, dword [ebp + 0xc]
add ecx, 0x824
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea edx, [ebp - 0xca04]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xca04]
push edx
call fcn.00440720
mov ecx, eax
call fcn.00446470
movzx eax, al
test eax, eax
jne 0x445fcd
call fcn.00440720
mov ecx, eax
call fcn.00440220
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0xce38], ecx
mov edx, dword [ebp - 0xce38]
sub edx, 0x21
mov dword [ebp - 0xce38], edx
cmp dword [ebp - 0xce38], 4
ja case.default.0x445f9f
mov eax, dword [ebp - 0xce38]
jmp dword [eax*4 + 0x4460f4]
jmp 0x445fc8
jmp 0x445fc8
jmp 0x445fc8
jmp 0x445fc8
mov dword [ebp - 0x10], 0x25
jmp 0x445fc8
call fcn.00440720
mov ecx, eax
call fcn.00440220
jmp 0x4460c4
jmp 0x44609d
cmp dword [ebp - 0xca08], 0
je 0x44608f
lea ecx, [ebp - 0xce2c]
call fcn.0040db70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xce2c]
call fcn.0040dcd0
movzx ecx, al
test ecx, ecx
je 0x446063
push 1
push 0
lea edx, [ebp - 0xca04]
push edx
lea ecx, [ebp - 0xce2c]
call fcn.00412c00
movzx eax, al
test eax, eax
je 0x446063
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xce2c]
call fcn.00413140
movzx edx, al
test edx, edx
je 0x446063
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xca04]
push ecx
push 0x151
push str.CNSSUpdateServer::DownloadAutoServerInfoFile
push str._s_L:_d__Auto_Load_and_Save_Success__Source_:__s__Dest_:__s_
push 4
call fcn.004053a0
add esp, 0x18
mov dword [ebp - 0xca0c], 0
lea ecx, [ebp - 0xce2c]
call fcn.0040ddb0
lea edx, [ebp - 0xca04]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xce2c]
call fcn.0040dc20
jmp 0x446097
mov eax, dword [ebp - 0xca0c]
jmp 0x4460c4
mov byte [ebp - 0x11], 1
jmp 0x4460a2
jmp 0x445d21
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x4460b8
call fcn.00440720
mov ecx, eax
call fcn.00440220
jmp 0x4460c4
call fcn.00440720
mov ecx, eax
call fcn.00440220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret 0xc