Function at 0x47f8ec
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x47f8f4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4804f4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x17c], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x4804bf
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00474c94
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00409848
cmp dword [ebp - 0x44], 0
jne 0x47f957
mov eax, dword [ebp - 4]
cmp dword [eax + 0x130], 0
je 0x4804bf
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004755c8
mov byte [ebp - 0x31], al
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x12c], edx
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
je 0x47f992
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov dword [ebp - 0x20], eax
jmp 0x47f9af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
test eax, eax
je 0x47f9af
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x114]
je 0x47f9af
call fcn.004044d8
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x38]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x49]
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 4]
mov byte [eax + 0x49], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 4]
mov dword [edx + 0x118], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 7
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004755d8
mov byte [ebp - 0x3d], al
xor edx, edx
push ebp
push 0x4804b5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c5], 0
je 0x47fa19
mov dl, 1
mov eax, dword [0x414794]
call fcn.004044a8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b0], 0
jne 0x47fa54
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
jne 0x47fa54
mov eax, dword [ebp - 4]
cmp byte [eax + 0x185], 0
jne 0x47fa54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47fa54
mov eax, dword [ebp - 4]
call fcn.0047df44
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b0], 0
jne 0x47fae6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47fae6
mov byte [ebp - 0x23], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x1fa], 0
je 0x47fabf
mov eax, dword [ebp - 4]
push dword [eax + 0x1b4]
push dword [eax + 0x1b0]
mov eax, dword [ebp - 4]
add eax, 0x2a0
push eax
lea eax, [ebp - 0x23]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ecx, eax
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1fc]
call dword [ebx + 0x1f8]
cmp byte [ebp - 0x23], 0
je 0x47fae6
lea edx, [ebp - 0x4c]
mov eax, 0xbb
call fcn.00409fdc
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x473454]
call fcn.0040da8c
call fcn.00404d4c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
je 0x47fafe
mov eax, dword [ebp - 4]
call fcn.004768d4
test eax, eax
jg 0x47fb24
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.00474c94
mov eax, dword [ebp - 0x50]
call fcn.0046a5e8
test al, al
je 0x47fb79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
jne 0x47fb79
mov eax, dword [ebp - 4]
mov byte [eax + 0x270], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x47fb60
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.00482814
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.0046ab94
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
add eax, 0x2a8
call fcn.0040540c
mov eax, dword [ebp - 4]
call fcn.00480528
mov eax, dword [ebp - 4]
call fcn.004755e8
push ebp
call fcn.0047efcc
pop ecx
jmp 0x47fbb2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x47fba0
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00474c94
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
add eax, 0x2a8
call fcn.0040540c
mov eax, dword [ebp - 4]
mov byte [eax + 0x270], 0
mov eax, dword [ebp - 4]
call fcn.00480528
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x1d8]
cmp byte [ebx + 0x21], 0
je 0x47fcb1
cmp byte [ebx + 0x20], 0
je 0x47fcb1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x26c]
mov eax, dword [eax + 0x268]
add eax, 0x2e
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
cdq
call fcn.0040640c
add eax, dword [ebx + 0x18]
adc edx, dword [ebx + 0x1c]
add eax, 0x16
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx eax, word [eax + 0x18]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
add eax, 0x800
adc edx, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1d8]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 1
jne 0x47fcb1
xor eax, eax
push ebp
push 0x47fc89
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.00474c94
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0040a574
lea eax, [ebp - 0x60]
mov edx, 0x480510
call fcn.00405684
mov eax, dword [ebp - 0x60]
call fcn.0047c700
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47fc98
mov eax, ebx
xor edx, edx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1d8]
add eax, dword [ecx + 0x18]
adc edx, dword [ecx + 0x1c]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1d8]
movzx eax, byte [ecx + 0x21]
cmp al, 1
jne 0x47fcea
mov eax, dword [ebp - 4]
call fcn.004807b0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1d8]
sub eax, dword [ecx + 0x18]
sbb edx, dword [ecx + 0x1c]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x260], eax
mov dword [ecx + 0x264], edx
jmp 0x47fd3b
cmp al, 2
jne 0x47fd3b
cmp dword [ecx + 0x14], 0
jne 0x47fd17
cmp dword [ecx + 0x10], 0
jne 0x47fd17
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub eax, dword [ecx + 0x18]
sbb edx, dword [ecx + 0x1c]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x260], eax
mov dword [ecx + 0x264], edx
jmp 0x47fd3b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
sub eax, dword [ecx + 0x18]
sbb edx, dword [ecx + 0x1c]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x260], eax
mov dword [ecx + 0x264], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
je 0x47fd80
mov eax, dword [ebp - 4]
fild qword [eax + 0x1b0]
fmul dword [0x480514]
mov eax, dword [ebp - 4]
fistp qword [eax + 0x1b0]
wait
mov dword [ebp - 0x38], 0x8074b50
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b0], 0
jne 0x47fe88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47fe88
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
jne 0x47fdda
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x47fe88
inc ebx
xor esi, esi
push ebp
mov eax, esi
call fcn.0047f800
pop ecx
inc esi
dec ebx
jne 0x47fdc8
jmp 0x47fe88
push ebp
xor eax, eax
call fcn.0047f800
pop ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x280], 0
je 0x47fdfd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
call fcn.004044d8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x180], edx
mov eax, dword [ebp - 4]
cmp word [eax + 0x252], 0
je 0x47fe78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x18]
call fcn.004053b8
mov eax, dword [ebp - 4]
cmp word [eax + 0x252], 0
je 0x47fe54
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x180]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x254]
call dword [ebx + 0x250]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
test eax, eax
je 0x47fe78
push 0
push 0
call fcn.0041933c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x180], 0
jne 0x47fdda
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
call fcn.0041931c
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.0046d0bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x12c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.0046cf14
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.0046d080
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x29c]
mov ebx, dword [eax + 0xc]
dec ebx
test ebx, ebx
jl 0x480005
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x29c]
mov edx, esi
call fcn.004682bc
mov edx, dword [0x46b00c]
call fcn.00404688
mov edx, dword [ebp - 4]
mov dword [edx + 0x2a4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
je 0x47ffb8
mov eax, dword [ebp - 4]
call fcn.00480838
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.0046c778
cdq
cmp edx, dword [esp + 4]
jne 0x47ff4d
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x47ffb8
jmp 0x47ff51
pop edx
pop eax
jle 0x47ffb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
call fcn.0041931c
sub eax, dword [ebp - 0x30]
add dword [ebp - 0x28], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
call fcn.0048094c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
xor edx, edx
call fcn.0046cf58
test esi, esi
jne 0x47ffb8
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.0046d0bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x12c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.0046cf14
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x270]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x130]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x284]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.0046bf38
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x2a0]
mov eax, edi
call fcn.0046cf3c
mov edx, eax
inc edx
mov eax, edi
call fcn.0046cf58
inc esi
dec ebx
jne 0x47feee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
call fcn.0041931c
sub eax, dword [ebp - 0x30]
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.0046d030
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
je 0x480070
mov eax, dword [ebp - 4]
call fcn.00480838
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.0046ceac
cdq
cmp edx, dword [esp + 4]
jne 0x480064
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x480070
jmp 0x480068
pop edx
pop eax
jle 0x480070
mov eax, dword [ebp - 4]
call fcn.0048094c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x12c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.0046ced0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x284]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.0046cad0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 1
jne 0x4800b5
mov eax, dword [ebp - 4]
call fcn.00480874
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4804bf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x48013e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
je 0x480125
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
call fcn.0046d0fc
cmp eax, 1
jne 0x480125
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x3c], 0x30304b50
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
call fcn.004044d8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x284], edx
cmp byte [ebp - 0x19], 0
je 0x4803f9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x48016b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x48016b
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00474c94
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x48018b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x270], 0
je 0x48018b
mov eax, dword [ebp - 4]
call fcn.004759c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 2
jne 0x480203
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1a8]
call fcn.00405450
push 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x12c]
inc ecx
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00476b20
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.00474c94
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp - 0x6c]
call fcn.0040587c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a8]
call fcn.0040587c
push eax
call sub.kernel32.dll_MoveFileA_1
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x480226
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x480226
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x480226
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x270], 0
je 0x48023c
mov eax, dword [ebp - 4]
call fcn.004821c0
jmp 0x480253
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
je 0x480253
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x284], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c5], 0
je 0x480266
push ebp
call fcn.0047ed44
pop ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x4802ad
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2a0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x29c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x114], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x118], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 7
jmp 0x4802d2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x29c]
call fcn.004044d8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x29c], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x118], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x480307
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x480307
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.00474c94
mov eax, dword [ebp - 0x70]
call fcn.0046a4c4
mov eax, dword [ebp - 4]
fstp qword [eax + 0x120]
wait
cmp byte [ebp - 0x21], 0
je 0x480327
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x480327
movzx edx, byte [ebp - 0x21]
mov eax, dword [ebp - 4]
call fcn.0047681c
jmp 0x480350
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x480350
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x298]
mov edx, dword [ebp - 4]
mov dword [edx + 0x118], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x298], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x12c]
inc edx
mov eax, dword [ebp - 4]
call fcn.004755b4
mov eax, dword [ebp - 4]
cmp word [eax + 0xca], 0
je 0x480386
mov ebx, dword [ebp - 4]
mov ecx, 0x64
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xcc]
call dword [ebx + 0xc8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x1d8]
cmp byte [ebx + 0x21], 0
je 0x480426
cmp byte [ebx + 0x20], 0
je 0x480426
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
call fcn.0046ceb4
test eax, eax
jbe 0x480426
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 1
jne 0x4803d1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00475694
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.00474c94
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
mov edx, 0x480520
call fcn.0040a458
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.00482350
jmp 0x480426
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x29c]
call fcn.004044d8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x29c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a8]
call fcn.0040587c
push eax
call sub.kernel32.dll_DeleteFileA_1
mov eax, dword [ebp - 4]
movzx edx, byte [ebp - 0x21]
mov byte [eax + 0x38], dl
mov eax, dword [ebp - 4]
movzx edx, byte [ebp - 0x22]
mov byte [eax + 0x49], dl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x298]
call fcn.004044d8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x298], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.004044d8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2a0], edx
mov eax, dword [ebp - 4]
call fcn.0047566c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
je 0x480491
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x130]
mov eax, dword [ebp - 4]
call fcn.00475f14
movzx edx, byte [ebp - 0x31]
mov eax, dword [ebp - 4]
call fcn.004755c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x44]
movzx edx, byte [ebp - 0x3d]
mov eax, dword [ebp - 4]
call fcn.004755d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4804fb
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.004053dc
lea eax, [ebp - 0x68]
mov edx, 0xa
call fcn.004053dc
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004053dc
ret