Function at 0x42d020
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d90e
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x58f574]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp eax, 4
jae 0x42d06b
mov eax, 1
jmp 0x42d50c
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], ebx
call fcn.0040c500
mov ecx, eax
test ecx, ecx
je 0x42d528
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 8]
mov edi, dword [edi]
mov dword [ebp - 4], 1
cmp edi, dword [eax + 4]
je 0x42d113
nop
mov ecx, dword [edi]
lea ebx, [esi - 0x10]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x42d0f9
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0xc]
shr eax, 0x1f
test al, al
jne 0x42d0ea
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x42d0ea
push edx
call fcn.00424380
add esp, 4
mov dword [ebp - 0x4c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x42d0e2
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x4c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
jmp 0x42d0f9
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00412300
mov esi, dword [ebp - 0x44]
mov eax, dword [esi - 0xc]
add edi, 4
mov ebx, dword [ebp - 0x48]
lea ebx, [ebx + eax*2]
mov eax, dword [ebp + 8]
add ebx, 2
mov dword [ebp - 0x48], ebx
cmp edi, dword [eax + 4]
jne 0x42d0a0
add ebx, 2
push ebx
call fcn.004c700b
mov edi, eax
add esp, 4
mov dword [ebp - 0x4c], edi
test edi, edi
jne 0x42d260
call fcn.00439bb0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42d24f
push 0x49
push str.d:jenkins.jenkinsworkspacemgame_bzysearch_searchmaincommonutils.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040f680
push 3
push 0x549db0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040f680
push 0x36a
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x108]
call fcn.00406f90
mov edi, eax
push 0x54cd38
push edi
mov byte [ebp - 4], 4
call fcn.00404df0
add esp, 8
mov ecx, edi
push ebx
call fcn.00408540
call fcn.00439bb0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.00408d80
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42d209
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d1ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d532
push edx
push ecx
call fcn.004c6c76
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x42d24f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d245
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d537
push edx
push ecx
call fcn.004c6c76
add esp, 8
push 0
call fcn.004c6ffd
add esp, 4
xor ebx, ebx
jmp 0x42d4f2
push ebx
push 0
push edi
call fcn.00509f10
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x48], edi
mov edi, dword [eax]
cmp edi, dword [eax + 4]
je 0x42d359
nop dword [eax]
mov ecx, dword [edi]
lea ebx, [esi - 0x10]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x42d2d9
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0xc]
shr eax, 0x1f
test al, al
jne 0x42d2ca
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x42d2ca
push edx
call fcn.00424380
add esp, 4
mov dword [ebp - 0x44], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x42d2c2
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x44]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
jmp 0x42d2d9
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00412300
mov esi, dword [ebp - 0x44]
mov eax, dword [esi - 0xc]
lea ebx, [eax + eax]
test ebx, ebx
js 0x42d53c
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x42d304
push ebx
lea ecx, [ebp - 0x44]
call fcn.0040d570
mov esi, dword [ebp - 0x44]
push ebx
push esi
push dword [ebp - 0x48]
call fcn.00509410
add esp, 0xc
test esi, esi
jne 0x42d319
xor eax, eax
jmp 0x42d32d
push dword [esi - 8]
push esi
call fcn.00519195
add esp, 8
test eax, eax
js 0x42d53c
cmp eax, dword [esi - 8]
jg 0x42d53c
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
add edi, 4
mov eax, dword [ebp - 0x48]
add eax, 2
add eax, ebx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
cmp edi, dword [eax + 4]
jne 0x42d280
xor eax, eax
xorps xmm0, xmm0
cmp byte [ebp + 0x10], 0
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x50]
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x70], eax
jne 0x42d383
mov eax, 0x40
mov word [ebp - 0x60], ax
jmp 0x42d387
mov ax, word [ebp - 0x60]
cmp byte [ebp + 0x14], 0
je 0x42d399
mov ecx, 0x614
or ax, cx
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x6c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
xor ebx, ebx
mov dword [ebp - 0x50], eax
test eax, eax
sete bl
test eax, eax
je 0x42d4e7
call fcn.00439bb0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42d4e7
push 0x49
push str.d:jenkins.jenkinsworkspacemgame_bzysearch_searchmaincommonutils.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040f680
push 3
push 0x549db0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040f680
push 0x392
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x108]
call fcn.00406f90
mov edi, eax
push str.DTFenceUtil::SYSTEM::DeleteFiles
push edi
mov byte [ebp - 4], 7
call fcn.00404df0
add esp, 8
mov ecx, edi
push dword [ebp - 0x50]
call fcn.00408540
call fcn.00439bb0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.00408d80
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42d4a5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d49b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d546
push edx
push ecx
call fcn.004c6c76
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x42d4e7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d4dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d54b
push edx
push ecx
call fcn.004c6c76
add esp, 8
push dword [ebp - 0x4c]
call fcn.004c6ffd
add esp, 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42d50a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.004c6f1e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409540
call fcn.0050d599
call fcn.0050d599
push 0x80070057
call fcn.00409540
call fcn.0050d599
call fcn.0050d599
int3