Function at 0x402c60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b90d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x47500c]
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 esi, edx
mov dword [ebp - 0x48], esi
mov ebx, ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x46c62c
push ebx
mov dword [ebp - 4], 0
call fcn.00420437
add esp, 8
test eax, eax
je 0x402cd5
push 0x46c634
push ebx
call fcn.00420437
add esp, 8
sub esp, 8
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00414ed0
mov edi, dword [ebp + 8]
add esp, 8
test eax, eax
je 0x402dcc
cmp dword [edi + 0x10], 0
je 0x402dc2
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00411b40
add esp, 4
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x402d1d
mov edx, dword [edi]
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x402d27
mov ecx, dword [eax]
mov esi, dword [eax + 0x10]
cmp esi, dword [edi + 0x10]
jne 0x402d88
sub esi, 4
jb 0x402d45
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402d4a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402d34
cmp esi, 0xfffffffc
je 0x402d7e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x402d77
cmp esi, 0xfffffffd
je 0x402d7e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402d77
cmp esi, 0xfffffffe
je 0x402d7e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x402d77
cmp esi, 0xffffffff
je 0x402d7e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x402d7e
sbb eax, eax
or eax, 1
jmp 0x402d80
xor eax, eax
test eax, eax
jne 0x402d88
mov bl, 1
jmp 0x402d8a
xor bl, bl
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x402dbe
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402db4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030a6
push edx
push ecx
call fcn.004197d5
add esp, 8
test bl, bl
je 0x402dc9
xor esi, esi
jmp 0x403058
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
lea esi, [ecx + 2]
mov byte [eax], 0
mov edx, dword [0x475cb8]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402df0
sub ecx, esi
mov eax, 0x7ffffffe
sar ecx, 1
sub eax, edx
cmp eax, ecx
jb 0x4030ab
cmp dword [0x475cbc], 8
mov eax, 0x475ca8
push ecx
cmovae eax, dword [0x475ca8]
push ebx
push edx
push eax
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
call fcn.00408f20
mov byte [ebp - 4], 1
lea edx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x60]
call fcn.004117b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x402e86
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030b0
push edx
push ecx
call fcn.004197d5
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
push ecx
push eax
push ecx
call fcn.00401bb0
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov esi, eax
cmp edx, 0x10
jb 0x402ed9
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402ecf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030b0
push edx
push ecx
call fcn.004197d5
add esp, 8
test esi, esi
jne 0x403058
mov ebx, dword [ebp - 0x48]
mov ecx, ebx
call fcn.00414d60
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x44]
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push 0x180
push 0x20
push 0x8301
push dword [ebp - 0x48]
mov dword [ebp - 0x44], 0
push eax
call fcn.0042fab6
add esp, 0x14
test eax, eax
jne 0x403053
mov eax, dword [ebp - 0x44]
cmp eax, 0xffffffff
je 0x403053
push ebx
push esi
push eax
call fcn.0042eef3
add esp, 0xc
mov esi, eax
push dword [ebp - 0x44]
call fcn.0042e64f
add esp, 4
cmp esi, ebx
jne 0x403053
cmp dword [edi + 0x10], 0
jne 0x402f63
xor esi, esi
jmp 0x403058
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00411b40
add esp, 4
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x402f86
mov edx, dword [edi]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov ebx, dword [ebp - 0x40]
mov eax, dword [edi + 0x10]
cmovae ecx, ebx
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
cmp esi, eax
jne 0x402ff8
sub esi, 4
jb 0x402fb6
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402fbb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402fa5
cmp esi, 0xfffffffc
je 0x402fef
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x402fe8
cmp esi, 0xfffffffd
je 0x402fef
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402fe8
cmp esi, 0xfffffffe
je 0x402fef
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x402fe8
cmp esi, 0xffffffff
je 0x402fef
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x402fef
sbb eax, eax
or eax, 1
jmp 0x402ff1
xor eax, eax
test eax, eax
je 0x403019
mov eax, dword [ebp - 0x48]
cmp dword [edi + 0x14], 0x10
jb 0x403000
mov edi, dword [edi]
cmp eax, 1
jne 0x40301d
movzx eax, byte [edi]
cmp al, 0x30
jne 0x403010
xor eax, eax
jmp 0x403015
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40301d
xor esi, esi
jmp 0x403022
mov esi, 0xfffffc16
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x403058
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x403047
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030b5
push ecx
push ebx
call fcn.004197d5
add esp, 8
jmp 0x403058
mov esi, 0xfffffc15
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x403088
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40307e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030b5
push edx
push ecx
call fcn.004197d5
add esp, 8
mov eax, esi
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.00419541
mov esp, ebp
pop ebp
ret
call fcn.00429e8f
call fcn.004014b0
call fcn.00429e8f
call fcn.00429e8f
int3