Function at 0x423d80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5841c4
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x5ebdb0]
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.00434830
mov dword [ebp - 4], 0
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00405320
add eax, 0x10
add esp, 4
mov dword [ebp - 0x478], eax
push 0x2f
push eax
mov byte [ebp - 4], 1
call fcn.00551821
add esp, 8
test eax, eax
je 0x423edb
sub eax, dword [ebp - 0x478]
sar eax, 1
cmp eax, 0xffffffff
jle 0x423edb
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.00404fd0
push eax
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 2
call fcn.004050b0
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 0x423e6e
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.00551821
add esp, 8
test eax, eax
je 0x423edb
sub eax, dword [ebp - 0x478]
sar eax, 1
cmp eax, 0xffffffff
jle 0x423edb
push eax
push 0
lea edx, [ebp - 0x474]
push edx
lea ecx, [ebp - 0x478]
call fcn.00404fd0
push eax
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 3
call fcn.004050b0
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 0x423edb
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.00422b20
mov ecx, dword [ebp - 0x484]
mov byte [ebp - 0x47e], al
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00405320
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x47c], esi
push 0x5c
push esi
mov byte [ebp - 4], 4
call fcn.00551821
add esp, 8
test eax, eax
je 0x423f74
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jle 0x423f74
push eax
push 0
lea edx, [ebp - 0x474]
push edx
lea ecx, [ebp - 0x47c]
call fcn.00404fd0
push eax
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 5
call fcn.004050b0
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 0x423f74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5b097c
lea ecx, [ebp - 0x47c]
push ecx
lea edx, [ebp - 0x488]
push edx
call fcn.0041bb80
add esp, 0xc
lea ecx, [ebp - 0x478]
push ecx
push eax
lea edx, [ebp - 0x48c]
push edx
mov byte [ebp - 4], 6
call fcn.0041bac0
add esp, 0xc
push 0x5b097c
push eax
lea eax, [ebp - 0x474]
mov bl, 7
push eax
mov byte [ebp - 4], bl
call fcn.0041bb80
add esp, 0xc
push eax
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 8
call fcn.004050b0
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 0x423ff9
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 0x42401f
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 0x424045
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x47e], 0
je 0x4244b7
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 0x42406e
call fcn.004022c0
push eax
call fcn.00452ae0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x48c], ebx
mov dword [ebp - 0x470], 0
test ebx, ebx
jne 0x424099
mov dword [0x5f4218], 0x10000
jmp 0x4240e9
cmp dword [ebx], 1
je 0x4240aa
mov dword [0x5f4218], 0x80000
jmp 0x4240e9
mov edx, dword [ebp - 0x48c]
mov esi, dword [edx + 4]
mov edi, dword [esi]
or ebx, 0xffffffff
cmp dword [edi + 4], ebx
jg 0x4240c4
mov eax, 0x10000
jmp 0x4240de
cmp dword [esi + 4], ebx
je 0x4240ce
call fcn.00451e00
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 [0x5f4218], eax
cmp dword [ebp - 0x470], 0
mov dword [ebp - 0x488], 0
jle 0x424300
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 0x424134
mov dword [0x5f4218], 0x10000
jmp 0x42415f
cmp dword [ebx], 1
je 0x424145
mov dword [0x5f4218], 0x80000
jmp 0x42415f
mov eax, dword [ebp - 0x488]
mov ecx, dword [ebx + 4]
push eax
lea edx, [ebp - 0x240]
call fcn.00451fd0
mov dword [0x5f4218], 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 0x42418e
cmp eax, dword [edi - 0x10]
jne 0x42418e
lea esi, [edi - 0x10]
mov edx, ecx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4241c6
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 0x424069
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.00550da7
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.0041bb80
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x424257
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x424241
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x424241
push eax
call fcn.00405320
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x424230
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 0x424257
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x490]
call fcn.004021b0
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 0x42427d
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 0x424069
test ebx, ebx
jne 0x4242a0
mov dword [0x5f4218], 0x10000
jmp 0x4242c7
cmp dword [ebx], 1
je 0x4242b1
mov dword [0x5f4218], 0x80000
jmp 0x4242c7
mov edx, dword [ebp - 0x488]
mov ecx, dword [ebx + 4]
push edx
mov edx, eax
call fcn.00452740
mov dword [0x5f4218], 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 0x4242e7
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 0x424110
test ebx, ebx
jne 0x424313
mov dword [0x5f4218], 0x10000
jmp 0x424398
cmp dword [ebx], 1
je 0x424324
mov dword [0x5f4218], 0x80000
jmp 0x424398
mov esi, dword [ebx + 4]
cmp dword [esi + 4], 0xffffffff
je 0x424334
mov edi, dword [esi]
call fcn.00451e00
mov edi, dword [esi]
mov dword [esi + 4], 0xffffffff
test edi, edi
je 0x42437a
cmp dword [edi + 0x7c], 0
je 0x42434c
call fcn.00451e00
mov ebx, dword [edi]
test ebx, ebx
je 0x42436b
cmp byte [ebx + 0x10], 0
je 0x424362
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.004645cc
add esp, 4
push edi
call fcn.00551ef1
mov ebx, dword [ebp - 0x48c]
add esp, 4
mov dword [esi], 0
mov dword [0x5f4218], 0
call fcn.00452ba0
push ebx
call fcn.004645cc
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 0x4243b4
call fcn.004022c0
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 0x4243e7
cmp eax, dword [esi - 0x10]
jne 0x4243e7
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x424420
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 0x424400
call fcn.004022c0
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.00550da7
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 0x424496
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x424486
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x424486
push edi
call fcn.00405320
mov dword [ebp - 0x494], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x424473
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 0x424496
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [ebp - 0x484]
push eax
call fcn.004021b0
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4244b3
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov bl, 1
jmp 0x4244bd
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 0x4244e3
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 0x424509
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 0x424532
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.00550891
mov esp, ebp
pop ebp
ret 8