Function at 0x463e70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x498aac
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
lea ecx, [esi + 4]
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], edi
call fcn.0045cb00
test eax, eax
je 0x463fde
cmp dword [esi + 0x1c], 0
je 0x463fde
mov esi, dword [edi + 4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ecx
push esi
call edx
test eax, eax
jl 0x463fde
mov eax, dword [esp + 0x18]
test eax, eax
je 0x463fde
xor ecx, ecx
mov edx, 8
mul edx
seto cl
push 0x512dc0
neg ecx
or ecx, eax
push ecx
call fcn.00472b75
mov ebx, eax
add esp, 8
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x463fde
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push esi
push ebx
push edi
push ecx
call fcn.00462fc0
mov dword [esp + 0x24], eax
test eax, eax
jne 0x463f5b
push ebx
call fcn.00472eb2
add esp, 4
mov eax, 1
jmp 0x463fe0
mov eax, dword [esp + 0x18]
mov esi, eax
xor ecx, ecx
mov edx, 0x5c
mul edx
seto cl
push 0x512dc0
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00472b75
add esp, 8
mov dword [esp + 0x34], eax
xor ecx, ecx
mov dword [esp + 0x288], ecx
cmp eax, ecx
je 0x463fc0
push 0x461980
push 0x461960
push esi
lea ebx, [eax + 4]
push 0x5c
push ebx
mov dword [eax], esi
call fcn.004767ce
mov esi, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
jmp 0x463fc6
mov dword [esp + 0x14], ecx
mov esi, ecx
mov dword [esp + 0x288], 0xffffffff
test esi, esi
jne 0x464004
push ebx
call fcn.00472eb2
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00471eba
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
imul ecx, ecx, 0x5c
push ecx
push 0
push esi
call fcn.00476ef0
mov eax, dword [edi]
mov ecx, eax
shr eax, 0xf
and eax, 1
add esp, 0xc
lea edx, [edi + 0x24]
shr ecx, 0xd
mov dword [esp + 0x44], eax
push edx
lea eax, [esp + 0x40]
and ecx, 2
push eax
mov dword [esp + 0x5c], ecx
call fcn.00408350
mov dword [esp + 0x288], 1
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x288], 2
lea ecx, [esp + 0x64]
push ecx
call fcn.00404dc0
mov byte [esp + 0x288], 3
push edi
mov edi, dword [esp + 0x14]
push edi
call fcn.004630e0
xor ecx, ecx
mov dword [esp + 0x48], eax
cmp eax, ecx
je 0x46439e
cmp dword [esp + 0x24], ecx
mov eax, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x50], eax
jle 0x464372
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x2c]
mov eax, 4
lea edx, [ecx + 4]
sub eax, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], eax
jmp 0x4640c8
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
imul ebx, ebx, 0x5c
mov eax, dword [eax - 4]
add ebx, esi
mov dword [ebx], 0x5c
mov byte [ebx + 0x28], 0xff
mov edi, dword [eax + 0x10]
mov esi, ebx
mov dword [esp + 0x40], eax
call fcn.004619f0
mov ecx, dword [esp + 0x38]
test dword [ecx], 0x80000
mov esi, dword [esp + 0x40]
jne 0x464109
test byte [esi + 0x154], 1
je 0x464174
lea edi, [esi + 0x24]
mov edx, edi
call fcn.0046aa90
test eax, eax
jne 0x464174
mov edx, dword [edi]
mov dword [ebx + 0x18], edx
mov eax, dword [edi + 4]
mov dword [ebx + 0x1c], eax
mov ecx, dword [edi + 8]
mov dword [ebx + 0x20], ecx
mov edx, dword [edi + 0xc]
or dword [ebx + 0x58], 0x24
mov dword [ebx + 0x24], edx
cmp dword [esi], 0x178
jb 0x464174
mov eax, dword [esi + 0x16c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x464174
mov eax, dword [ebx + 0x50]
mov edi, dword [esi + 0x16c]
test eax, eax
je 0x464166
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx + 0x50], 0
test edi, edi
je 0x464174
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x38]
test dword [eax], 0x100000
je 0x464184
or dword [ebx + 0x58], 8
test dword [eax], 0x1000000
je 0x4641a1
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
cmp edx, dword [0x511f40]
jae 0x4641a1
or dword [ebx + 0x58], 0x2000
test dword [eax], 0x1000
je 0x4641ad
or dword [ebx + 0x58], 1
mov edi, dword [esi + 0x10]
test edi, edi
je 0x46422f
cmp word [edi], 0x5c
jne 0x46422f
cmp word [edi + 2], 0x5c
jne 0x46422f
cmp word [edi + 4], 0x3f
je 0x46422f
push 0x208
lea eax, [esp + 0x70]
push 0
push eax
call fcn.00476ef0
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x14]
push edi
call fcn.00463cb0
test eax, eax
je 0x46422f
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x70]
call fcn.004087d0
mov byte [esp + 0x288], 4
push eax
lea esi, [esp + 0x5c]
call fcn.00465c40
mov byte [esp + 0x288], 3
lea ecx, [esp + 0x68]
call fcn.00404e20
lea edi, [esp + 0x6c]
mov esi, ebx
call fcn.004619f0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
add dword [esp + 0x28], eax
inc esi
cmp edx, dword [esp + 0x24]
mov dword [esp + 0x20], esi
jge 0x46425f
mov ecx, dword [ecx + 8]
add ecx, dword [esp + 0x28]
cmp ecx, dword [0x511f40]
jbe 0x46434d
cmp eax, dword [0x511f40]
jb 0x46429d
cmp esi, 1
jne 0x46429d
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
push eax
push ebx
mov eax, edi
call fcn.00461a20
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov esi, edi
call fcn.00464740
mov esi, dword [esp + 0x20]
jmp 0x4642e4
mov edx, dword [esp + 0x44]
push edx
push ecx
mov eax, esp
mov dword [esp + 0x48], esp
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.00408350
mov byte [esp + 0x290], 5
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push esi
push edx
push eax
mov byte [esp + 0x29c], 3
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x5c]
call fcn.00464d30
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
push ebx
push ecx
mov ecx, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x1c]
add edx, eax
push edx
push ecx
push esi
mov ecx, edi
call fcn.00463560
mov dl, byte [esi + 0x154]
xor eax, eax
test dl, dl
je 0x464317
cmp ebx, eax
je 0x464366
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x30], ecx
jge 0x464366
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add edx, ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x18]
imul edx, edx, 0x5c
push edx
push eax
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], eax
call fcn.00476ef0
add esp, 0xc
mov eax, dword [esp + 0x30]
add dword [esp + 0x1c], 8
inc eax
mov dword [esp + 0x30], eax
dec eax
cmp eax, dword [esp + 0x24]
jl 0x4640c4
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea eax, [edi + 0xcc]
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x48]
push eax
add edi, 0xe4
call fcn.00465330
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esi - 4]
push 0x461980
lea edi, [esi - 4]
push edx
push 0x5c
push esi
call fcn.0047676b
push edi
call fcn.00472eb2
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00472eb2
add esp, 4
xor esi, esi
test ebx, ebx
jle 0x4643eb
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
jl 0x46442b
cmp esi, ebx
jge 0x46442b
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + esi*4]
push eax
call edi
inc esi
cmp esi, ebx
jl 0x4643d4
mov byte [esp + 0x288], 2
lea ecx, [esp + 0x64]
call fcn.00404e20
mov byte [esp + 0x288], 1
lea esi, [esp + 0x58]
call fcn.00467e50
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00404e20
mov eax, 1
jmp 0x463fe0
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]