Function at 0x423710
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582cb4
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x5e9db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, ecx
lea ecx, [ebp - 0x498]
push ecx
mov esi, edx
mov dword [ebp - 0x484], eax
mov byte [ebp - 0x47d], 0
call fcn.00434070
mov dword [ebp - 4], 0
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004052f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x478], eax
push 0x2f
push eax
mov byte [ebp - 4], 1
call fcn.005506bc
add esp, 8
test eax, eax
je 0x42386b
sub eax, dword [ebp - 0x478]
sar eax, 1
cmp eax, 0xffffffff
jle 0x42386b
mov edx, dword [ebp - 0x478]
mov ecx, dword [edx - 0xc]
sub ecx, eax
dec ecx
push ecx
inc eax
push eax
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x478]
call fcn.00404fa0
push eax
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 2
call fcn.00405080
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x474]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4237fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x478]
push 0x2e
push ecx
call fcn.005506bc
add esp, 8
test eax, eax
je 0x42386b
sub eax, dword [ebp - 0x478]
sar eax, 1
cmp eax, 0xffffffff
jle 0x42386b
push eax
push 0
lea edx, [ebp - 0x474]
push edx
lea ecx, [ebp - 0x478]
call fcn.00404fa0
push eax
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 3
call fcn.00405080
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x474]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42386b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x484]
push esi
push edi
mov edx, ebx
call fcn.004224b0
mov ecx, dword [ebp - 0x484]
mov byte [ebp - 0x47e], al
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.004052f0
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x47c], esi
push 0x5c
push esi
mov byte [ebp - 4], 4
call fcn.005506bc
add esp, 8
test eax, eax
je 0x423904
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jle 0x423904
push eax
push 0
lea edx, [ebp - 0x474]
push edx
lea ecx, [ebp - 0x47c]
call fcn.00404fa0
push eax
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 5
call fcn.00405080
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x474]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423904
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5af97c
lea ecx, [ebp - 0x47c]
push ecx
lea edx, [ebp - 0x488]
push edx
call fcn.0041bb50
add esp, 0xc
lea ecx, [ebp - 0x478]
push ecx
push eax
lea edx, [ebp - 0x48c]
push edx
mov byte [ebp - 4], 6
call fcn.0041ba90
add esp, 0xc
push 0x5af97c
push eax
lea eax, [ebp - 0x474]
mov bl, 7
push eax
mov byte [ebp - 4], bl
call fcn.0041bb50
add esp, 0xc
push eax
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 8
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x474]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423989
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x48c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4239af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x488]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4239d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x47e], 0
je 0x423e47
mov ecx, dword [ebp - 0x484]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4239fe
call fcn.00402290
push eax
call fcn.004519e0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x48c], ebx
mov dword [ebp - 0x470], 0
test ebx, ebx
jne 0x423a29
mov dword [0x5f2218], 0x10000
jmp 0x423a79
cmp dword [ebx], 1
je 0x423a3a
mov dword [0x5f2218], 0x80000
jmp 0x423a79
mov edx, dword [ebp - 0x48c]
mov esi, dword [edx + 4]
mov edi, dword [esi]
or ebx, 0xffffffff
cmp dword [edi + 4], ebx
jg 0x423a54
mov eax, 0x10000
jmp 0x423a6e
cmp dword [esi + 4], ebx
je 0x423a5e
call fcn.00450d00
mov eax, dword [esi]
mov dword [esi + 4], ebx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x470], ecx
xor eax, eax
mov ebx, dword [ebp - 0x48c]
mov dword [0x5f2218], eax
cmp dword [ebp - 0x470], 0
mov dword [ebp - 0x488], 0
jle 0x423c90
mov eax, dword [ebp - 0x47c]
add eax, 0xfffffffc
mov dword [ebp - 0x474], eax
nop
xor esi, esi
xor edx, edx
mov dword [ebp - 0x240], esi
mov word [ebp - 0x23c], dx
mov dword [ebp - 0x14], esi
cmp ebx, esi
jne 0x423ac4
mov dword [0x5f2218], 0x10000
jmp 0x423aef
cmp dword [ebx], 1
je 0x423ad5
mov dword [0x5f2218], 0x80000
jmp 0x423aef
mov eax, dword [ebp - 0x488]
mov ecx, dword [ebx + 4]
push eax
lea edx, [ebp - 0x240]
call fcn.00450ed0
mov dword [0x5f2218], eax
mov edi, dword [ebp - 0x47c]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x474]
cmp dword [ecx], esi
jl 0x423b1e
cmp eax, dword [edi - 0x10]
jne 0x423b1e
lea esi, [edi - 0x10]
mov edx, ecx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x423b56
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4239f9
mov eax, dword [edi - 0xc]
mov dword [esi + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0054fc42
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x490], esi
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x490]
push edx
lea eax, [ebp - 0x494]
push eax
mov byte [ebp - 4], 9
call fcn.0041bb50
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x423be7
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x423bd1
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x423bd1
push eax
call fcn.004052f0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x423bc0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea esi, [ebx + 0x10]
mov ebx, dword [ebp - 0x48c]
mov dword [ebp - 0x490], esi
jmp 0x423be7
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x490]
call fcn.00402180
mov esi, dword [ebp - 0x490]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x494]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423c0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi - 0xc]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
je 0x4239f9
test ebx, ebx
jne 0x423c30
mov dword [0x5f2218], 0x10000
jmp 0x423c57
cmp dword [ebx], 1
je 0x423c41
mov dword [0x5f2218], 0x80000
jmp 0x423c57
mov edx, dword [ebp - 0x488]
mov ecx, dword [ebx + 4]
push edx
mov edx, eax
call fcn.00451640
mov dword [0x5f2218], eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423c77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x488]
inc eax
mov dword [ebp - 0x488], eax
cmp eax, dword [ebp - 0x470]
jl 0x423aa0
test ebx, ebx
jne 0x423ca3
mov dword [0x5f2218], 0x10000
jmp 0x423d28
cmp dword [ebx], 1
je 0x423cb4
mov dword [0x5f2218], 0x80000
jmp 0x423d28
mov esi, dword [ebx + 4]
cmp dword [esi + 4], 0xffffffff
je 0x423cc4
mov edi, dword [esi]
call fcn.00450d00
mov edi, dword [esi]
mov dword [esi + 4], 0xffffffff
test edi, edi
je 0x423d0a
cmp dword [edi + 0x7c], 0
je 0x423cdc
call fcn.00450d00
mov ebx, dword [edi]
test ebx, ebx
je 0x423cfb
cmp byte [ebx + 0x10], 0
je 0x423cf2
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.00463477
add esp, 4
push edi
call fcn.00550cd1
mov ebx, dword [ebp - 0x48c]
add esp, 4
mov dword [esi], 0
mov dword [0x5f2218], 0
call fcn.00451aa0
push ebx
call fcn.00463477
add esp, 4
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x423d44
call fcn.00402290
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp - 0x47c]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x423d77
cmp eax, dword [esi - 0x10]
jne 0x423d77
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x423db0
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x423d90
call fcn.00402290
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea edx, [eax + eax + 2]
push edx
push esi
lea eax, [eax + eax + 2]
lea ecx, [edi + 0x10]
push eax
push ecx
call fcn.0054fc42
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebp - 0x474], eax
mov ecx, dword [ebp - 0x484]
mov byte [ebp - 4], 0xb
mov esi, dword [ecx]
lea edi, [eax - 0x10]
sub esi, 0x10
cmp edi, esi
je 0x423e26
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x423e16
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x423e16
push edi
call fcn.004052f0
mov dword [ebp - 0x494], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x423e03
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x494]
mov edx, dword [ebp - 0x484]
add ecx, 0x10
mov dword [edx], ecx
jmp 0x423e26
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [ebp - 0x484]
push eax
call fcn.00402180
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423e43
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov bl, 1
jmp 0x423e4d
mov bl, byte [ebp - 0x47d]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x47c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423e73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x478]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423e99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x498]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423ec2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054f72c
mov esp, ebp
pop ebp
ret 8