Function at 0x4c26f8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x39
push 0
push 0
dec ecx
jne 0x4c2700
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405ac8
lea eax, [ebp - 0x178]
mov edx, dword [0x40b57c]
call fcn.004062f0
xor eax, eax
push ebp
push 0x4c3446
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x179], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x2b8], 0
mov dword [eax + 0x2bc], 0
mov eax, dword [ebp - 4]
add eax, 0x290
mov edx, dword [ebp - 8]
call fcn.0040568c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xfc]
call fcn.004056d0
mov eax, dword [ebp - 8]
test eax, eax
je 0x4c2782
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
jne 0x4c2795
mov byte [ebp - 0x18e], 1
jmp 0x4c279c
mov byte [ebp - 0x18e], 0
cmp byte [ebp - 0x18e], 0
je 0x4c28ca
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
jne 0x4c27cd
mov eax, dword [ebp - 4]
cmp byte [eax + 0x185], 0
jne 0x4c27cd
mov eax, dword [ebp - 8]
call fcn.004a7b54
test al, al
jne 0x4c27ec
call fcn.0040fabc
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0040db3c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2a4]
mov dword [edx + 0xc], eax
jmp 0x4c2863
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4c27f8
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405b40
lea ecx, [ebp - 0x178]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x27c]
mov eax, dword [ebp - 0x18]
call fcn.0040d650
test eax, eax
jne 0x4c2846
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
mov edx, dword [ebp - 0x178]
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x178]
call fcn.0040d6c4
jmp 0x4c2863
call fcn.0040fabc
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0040db3c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2a4]
mov dword [edx + 0xc], eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8ebc
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8e44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
mov word [eax + 0xa], 0
mov word [eax + 0x26], 0
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
call fcn.004a7b54
test al, al
je 0x4c2a50
mov eax, dword [ebp - 8]
call fcn.0040d590
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2a4]
mov dword [edx + 0x28], eax
jmp 0x4c2a50
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x184]
test al, al
jne 0x4c2a1d
mov edx, dword [ebp - 4]
cmp byte [edx + 0x185], 0
jne 0x4c2a1d
cmp byte [ebp - 0x18e], 0
jne 0x4c2a1d
mov eax, dword [ebp - 8]
call fcn.0040d3dc
test al, al
jne 0x4c2930
mov eax, dword [ebp - 4]
cmp word [eax + 0x222], 0
je 0x4c33fa
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x224]
call dword [ebx + 0x220]
jmp 0x4c33fa
mov eax, dword [ebp - 8]
call fcn.0040d590
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2a4]
mov dword [edx + 0x28], eax
mov byte [ebp - 0x18f], 0
xor eax, eax
push ebp
push 0x4c299d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x27a]
or ax, 0
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4a6b5c]
call fcn.004a6cd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x288], eax
mov byte [ebp - 0x18f], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c29ef
cmp byte [ebp - 0x18f], 0
jne 0x4c294b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
call fcn.004a6dbc
call fcn.0040d540
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2a4]
mov dword [edx + 0xc], eax
jmp 0x4c2a50
test al, al
je 0x4c2a33
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov edx, dword [ebp - 4]
mov dword [edx + 0x288], eax
call fcn.0040fabc
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0040db3c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2a4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28c], edx
xor ecx, ecx
push ebp
push 0x4c3376
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x185], 0
je 0x4c2a9d
cmp byte [ebp - 0x18e], 0
jne 0x4c2a9d
mov eax, dword [ebp - 4]
push dword [eax + 0x194]
push dword [eax + 0x190]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8ebc
jmp 0x4c2ac3
cmp byte [ebp - 0x18e], 0
jne 0x4c2ac3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8ebc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1dc], 0
je 0x4c2b06
lea ecx, [ebp - 0x19c]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004a81a4
mov edx, dword [ebp - 0x19c]
lea eax, [ebp - 8]
call fcn.004056d0
cmp dword [ebp - 0x10], 0
je 0x4c2b06
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xfc]
xor edx, edx
call fcn.004a81a4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6a], 0
jne 0x4c2b17
lea eax, [ebp - 8]
call fcn.004a8168
cmp byte [ebp - 0x18e], 0
jne 0x4c2b44
lea edx, [ebp - 0x1a0]
mov eax, dword [ebp - 8]
call fcn.0040d93c
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a9cdc
jmp 0x4c2b54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
xor edx, edx
call fcn.004a9cdc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
call fcn.0042475c
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8dcc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
mov word [eax + 0x26], 0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x12c]
call fcn.004a8f14
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c6], 0
je 0x4c2cb2
lea edx, [ebp - 0x1a4]
mov eax, dword [ebp - 8]
call fcn.0040d830
mov edx, dword [ebp - 0x1a4]
lea eax, [ebp - 0xc]
mov ecx, 0x4c3464
call fcn.00405960
lea ecx, [ebp - 0x1a8]
mov edx, 2
mov eax, dword [ebp - 0xc]
call fcn.004a77d0
mov eax, dword [ebp - 0x1a8]
mov edx, 0x4c3470
call fcn.00405a70
jne 0x4c2bfc
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4c2bf1
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
lea eax, [ebp - 0xc]
call fcn.00405d68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4c2c2b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c7], 0
je 0x4c2c2b
lea ecx, [ebp - 0x1ac]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b64d4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c8], 0
jne 0x4c2ca1
cmp dword [ebp - 0xc], 0
je 0x4c2ca1
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040d884
cmp dword [ebp - 0x14], 0
je 0x4c2c6a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4c2c5a
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 0xc]
mov ecx, eax
mov eax, 1
xchg edx, eax
call fcn.00405b80
lea ecx, [ebp - 0x1b0]
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004a7848
mov eax, dword [ebp - 0x1b0]
mov edx, 0x4c3464
call fcn.00405a70
jne 0x4c2ca1
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, 1
call fcn.00405b80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
mov edx, dword [ebp - 0xc]
call fcn.004a9d54
lea ecx, [ebp - 0x18c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2a4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x298]
mov ebx, dword [eax]
call dword [ebx + 0x48]
test al, al
je 0x4c2d84
mov byte [ebp - 0x179], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0xd2], 0
je 0x4c2d0c
mov eax, dword [ebp - 8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18f]
push eax
mov ebx, dword [ebp - 4]
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xd4]
call dword [ebx + 0xd0]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
jne 0x4c2d7a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x185], 0
jne 0x4c2d7a
cmp byte [ebp - 0x18e], 0
jne 0x4c2d7a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], edx
fild qword [ebp - 0x1b8]
mov eax, dword [ebp - 4]
fild qword [eax + 0x1b0]
fsubrp st(1)
mov eax, dword [ebp - 4]
fistp qword [eax + 0x1b0]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
call fcn.004046f4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x288], edx
call fcn.00405054
jmp 0x4c33fa
mov byte [ebp - 0x18d], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x202], 0
je 0x4c2dbd
mov eax, dword [ebp - 4]
add eax, 0x2a4
push eax
lea eax, [ebp - 0x18d]
push eax
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x204]
call dword [ebx + 0x200]
cmp byte [ebp - 0x18d], 0
je 0x4c2e77
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
jne 0x4c2e38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x185], 0
jne 0x4c2e38
cmp byte [ebp - 0x18e], 0
jne 0x4c2e38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], edx
fild qword [ebp - 0x1b8]
mov eax, dword [ebp - 4]
fild qword [eax + 0x1b0]
fsubrp st(1)
mov eax, dword [ebp - 4]
fistp qword [eax + 0x1b0]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
call fcn.004046f4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x288], edx
mov eax, dword [ebp - 4]
cmp word [eax + 0xd2], 0
je 0x4c2e66
mov eax, dword [ebp - 8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18f]
push eax
mov ebx, dword [ebp - 4]
mov cl, 7
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xd4]
call dword [ebx + 0xd0]
mov byte [ebp - 0x179], 0
call fcn.00405054
jmp 0x4c33fa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
je 0x4c2ee3
mov eax, dword [ebp - 4]
call fcn.004c1e78
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a9cb4
cdq
cmp edx, dword [esp + 4]
jne 0x4c2eae
cmp eax, dword [esp]
pop edx
pop eax
jb 0x4c2ee3
jmp 0x4c2eb2
pop edx
pop eax
jl 0x4c2ee3
mov eax, dword [ebp - 4]
call fcn.004c1f8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x12c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8f14
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8dcc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
je 0x4c2f67
cmp byte [ebp - 0x18e], 0
jne 0x4c2f67
lea edx, [ebp - 0x1c0]
mov eax, dword [ebp - 4]
call fcn.004c3e54
mov eax, dword [ebp - 0x1c0]
lea edx, [ebp - 0x1bc]
call fcn.004a80f4
mov edx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 4]
add eax, 0x2ac
call fcn.0040568c
push 0xffff
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x105]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2ac]
mov dl, 1
mov eax, dword [0x4a6b5c]
call fcn.004a6cd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28c], eax
jmp 0x4c2f7e
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x284]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a9760
cmp byte [ebp - 0x18e], 0
je 0x4c2fc0
mov eax, dword [ebp - 4]
cmp word [eax + 0x212], 0
je 0x4c2faf
push 0
push 0
push 0
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x214]
call dword [ebx + 0x210]
mov byte [ebp - 0x179], 1
call fcn.00405054
jmp 0x4c33fa
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
je 0x4c3007
cmp byte [ebp - 0x18e], 0
jne 0x4c3007
push ebp
call fcn.004c2150
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x134]
not eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x134], eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2a4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 4]
call fcn.004c3474
mov eax, dword [ebp - 4]
mov dword [eax + 0x134], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c0], 0
je 0x4c303c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 4]
call fcn.004bf360
test al, al
je 0x4c30ed
push ebp
lea eax, [ebp - 0x198]
call fcn.004c2634
pop ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2a4]
mov eax, ebx
call fcn.004a8e84
push edx
push eax
mov eax, ebx
call fcn.004a8e44
mov eax, dword [ebp - 4]
cmp byte [eax + 0x185], 0
jne 0x4c30d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8e84
cmp edx, dword [ebp - 0x194]
jne 0x4c308e
cmp eax, dword [ebp - 0x198]
jbe 0x4c30b9
jmp 0x4c3090
jle 0x4c30b9
mov eax, dword [ebp - 8]
push eax
push 0
lea edx, [ebp - 0x1c4]
mov eax, 0xd0
call fcn.0040d288
mov ecx, dword [ebp - 0x1c4]
mov edx, 0xd0
mov eax, dword [ebp - 4]
call fcn.004b7f38
push dword [ebp - 0x194]
push dword [ebp - 0x198]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8ebc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
mov word [eax + 0xa], 0
mov word [eax + 0x26], 0
jmp 0x4c31ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
call fcn.0042475c
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], edx
lea edx, [ebp - 0x198]
mov eax, dword [ebp - 4]
call fcn.004bea7c
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8e44
mov eax, dword [ebp - 4]
cmp byte [eax + 0x185], 0
jne 0x4c3196
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8e84
cmp edx, dword [ebp - 0x194]
jne 0x4c3151
cmp eax, dword [ebp - 0x198]
jbe 0x4c317c
jmp 0x4c3153
jle 0x4c317c
mov eax, dword [ebp - 8]
push eax
push 0
lea edx, [ebp - 0x1c8]
mov eax, 0xd0
call fcn.0040d288
mov ecx, dword [ebp - 0x1c8]
mov edx, 0xd0
mov eax, dword [ebp - 4]
call fcn.004b7f38
push dword [ebp - 0x194]
push dword [ebp - 0x198]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8ebc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
jne 0x4c31d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
call fcn.0042475c
sub eax, dword [ebp - 0x188]
sbb edx, dword [ebp - 0x184]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8e44
jmp 0x4c31ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28c]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8e44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x134]
not eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x134], eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2a4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c0]
cmp eax, 2
jg 0x4c3223
or word [edx + 8], 4
jmp 0x4c322d
cmp eax, 8
jl 0x4c322d
or word [edx + 8], 2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
je 0x4c327e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
or word [eax + 8], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
je 0x4c325f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c0], 0
jne 0x4c327e
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2a4]
mov eax, ebx
call fcn.004a8e0c
add eax, 0xc
adc edx, 0
push edx
push eax
mov eax, ebx
call fcn.004a8e44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
call fcn.0042475c
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a8d94
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x284]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004a9760
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
je 0x4c32e7
push ebp
call fcn.004c22fc
pop ecx
jmp 0x4c3303
push dword [ebp - 0x184]
push dword [ebp - 0x188]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov byte [ebp - 0x179], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c337d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28c]
call fcn.004046f4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ac]
call fcn.00405ad8
push eax
call sub.kernel32.dll_DeleteFileA_1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
jne 0x4c3375
mov eax, dword [ebp - 4]
cmp byte [eax + 0x185], 0
jne 0x4c3375
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
call fcn.004046f4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x288], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c344d
lea eax, [ebp - 0x1c8]
mov edx, 4
call fcn.0040565c
lea eax, [ebp - 0x1b0]
mov edx, 6
call fcn.0040565c
lea eax, [ebp - 0x178]
mov edx, dword [0x40b57c]
call fcn.004063c0
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.0040565c
ret