Function at 0x4ec6ac
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x4ec6b4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ed2b4
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 0x4ed27f
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.004e2b8c
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.004099d8
cmp dword [ebp - 0x44], 0
jne 0x4ec717
mov eax, dword [ebp - 4]
cmp dword [eax + 0x130], 0
je 0x4ed27f
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004e34c0
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 0x4ec752
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov dword [ebp - 0x20], eax
jmp 0x4ec76f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
test eax, eax
je 0x4ec76f
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x114]
je 0x4ec76f
call fcn.00404338
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.004e34d0
mov byte [ebp - 0x3d], al
xor edx, edx
push ebp
push 0x4ed275
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c5], 0
je 0x4ec7d9
mov dl, 1
mov eax, dword [0x41a048]
call fcn.00404308
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b0], 0
jne 0x4ec814
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
jne 0x4ec814
mov eax, dword [ebp - 4]
cmp byte [eax + 0x185], 0
jne 0x4ec814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4ec814
mov eax, dword [ebp - 4]
call fcn.004ead48
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b0], 0
jne 0x4ec8a6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4ec8a6
mov byte [ebp - 0x23], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x1fa], 0
je 0x4ec87f
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 0x4ec8a6
lea edx, [ebp - 0x4c]
mov eax, 0xbb
call fcn.0040a158
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x4e134c]
call fcn.0040e7d8
call fcn.00404bec
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
je 0x4ec8be
mov eax, dword [ebp - 4]
call fcn.004e47cc
test eax, eax
jg 0x4ec8e4
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.004e2b8c
mov eax, dword [ebp - 0x50]
call fcn.004ddfc8
test al, al
je 0x4ec939
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
jne 0x4ec939
mov eax, dword [ebp - 4]
mov byte [eax + 0x270], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x4ec920
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.004ef5dc
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.004de570
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
add eax, 0x2a8
call fcn.0040521c
mov eax, dword [ebp - 4]
call fcn.004ed2e8
mov eax, dword [ebp - 4]
call fcn.004e34e0
push ebp
call fcn.004ebdac
pop ecx
jmp 0x4ec972
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x4ec960
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004e2b8c
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
add eax, 0x2a8
call fcn.0040521c
mov eax, dword [ebp - 4]
mov byte [eax + 0x270], 0
mov eax, dword [ebp - 4]
call fcn.004ed2e8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x1d8]
cmp byte [ebx + 0x21], 0
je 0x4eca71
cmp byte [ebx + 0x20], 0
je 0x4eca71
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.0040624c
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 0x4eca71
xor eax, eax
push ebp
push 0x4eca49
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.004e2b8c
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0040a754
lea eax, [ebp - 0x60]
mov edx, 0x4ed2d0
call fcn.00405494
mov eax, dword [ebp - 0x60]
call fcn.004e950c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4eca58
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 0x4ecaaa
mov eax, dword [ebp - 4]
call fcn.004ed570
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 0x4ecafb
cmp al, 2
jne 0x4ecafb
cmp dword [ecx + 0x14], 0
jne 0x4ecad7
cmp dword [ecx + 0x10], 0
jne 0x4ecad7
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 0x4ecafb
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 0x4ecb40
mov eax, dword [ebp - 4]
fild qword [eax + 0x1b0]
fmul dword [0x4ed2d4]
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 0x4ecc48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4ecc48
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
jne 0x4ecb9a
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 0x4ecc48
inc ebx
xor esi, esi
push ebp
mov eax, esi
call fcn.004ec5c0
pop ecx
inc esi
dec ebx
jne 0x4ecb88
jmp 0x4ecc48
push ebp
xor eax, eax
call fcn.004ec5c0
pop ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x280], 0
je 0x4ecbbd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
call fcn.00404338
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x180], edx
mov eax, dword [ebp - 4]
cmp word [eax + 0x252], 0
je 0x4ecc38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x18]
call fcn.004051c8
mov eax, dword [ebp - 4]
cmp word [eax + 0x252], 0
je 0x4ecc14
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 0x4ecc38
push 0
push 0
call fcn.0041ebdc
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 0x4ecb9a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
call fcn.0041ebbc
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.004e0ab8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x12c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.004e0910
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.004e0a7c
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 0x4ecdc5
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x29c]
mov edx, esi
call fcn.004dbd38
mov edx, dword [0x4de9e8]
call fcn.004044e8
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 0x4ecd78
mov eax, dword [ebp - 4]
call fcn.004ed5f8
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.004e0170
cdq
cmp edx, dword [esp + 4]
jne 0x4ecd0d
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x4ecd78
jmp 0x4ecd11
pop edx
pop eax
jle 0x4ecd78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
call fcn.0041ebbc
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.004ed70c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
xor edx, edx
call fcn.004e0954
test esi, esi
jne 0x4ecd78
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.004e0ab8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x12c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.004e0910
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.004df944
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x2a0]
mov eax, edi
call fcn.004e0938
mov edx, eax
inc edx
mov eax, edi
call fcn.004e0954
inc esi
dec ebx
jne 0x4eccae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
call fcn.0041ebbc
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.004e0a2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
je 0x4ece30
mov eax, dword [ebp - 4]
call fcn.004ed5f8
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.004e08a8
cdq
cmp edx, dword [esp + 4]
jne 0x4ece24
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x4ece30
jmp 0x4ece28
pop edx
pop eax
jle 0x4ece30
mov eax, dword [ebp - 4]
call fcn.004ed70c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x12c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.004e08cc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x284]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
call fcn.004e04c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 1
jne 0x4ece75
mov eax, dword [ebp - 4]
call fcn.004ed634
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed27f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x4ecefe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 0
je 0x4ecee5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
call fcn.004e0af8
cmp eax, 1
jne 0x4ecee5
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.00404338
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x284], edx
cmp byte [ebp - 0x19], 0
je 0x4ed1b9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x4ecf2b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x4ecf2b
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004e2b8c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x4ecf4b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x270], 0
je 0x4ecf4b
mov eax, dword [ebp - 4]
call fcn.004e38c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 2
jne 0x4ecfc3
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1a8]
call fcn.00405260
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.004e4a18
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.004e2b8c
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp - 0x6c]
call fcn.00405658
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a8]
call fcn.00405658
push eax
call sub.kernel32.dll_MoveFileA_1
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4ecfe6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x4ecfe6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x4ecfe6
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 0x4ecffc
mov eax, dword [ebp - 4]
call fcn.004eef88
jmp 0x4ed013
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
je 0x4ed013
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x284], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c5], 0
je 0x4ed026
push ebp
call fcn.004ebb24
pop ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x4ed06d
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 0x4ed092
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x29c]
call fcn.00404338
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 0x4ed0c7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x4ed0c7
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.004e2b8c
mov eax, dword [ebp - 0x70]
call fcn.004ddea4
mov eax, dword [ebp - 4]
fstp qword [eax + 0x120]
wait
cmp byte [ebp - 0x21], 0
je 0x4ed0e7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x4ed0e7
movzx edx, byte [ebp - 0x21]
mov eax, dword [ebp - 4]
call fcn.004e4714
jmp 0x4ed110
mov eax, dword [ebp - 4]
cmp byte [eax + 0x271], 0
jne 0x4ed110
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.004e34ac
mov eax, dword [ebp - 4]
cmp word [eax + 0xca], 0
je 0x4ed146
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 0x4ed1e6
cmp byte [ebx + 0x20], 0
je 0x4ed1e6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
call fcn.004e08b0
test eax, eax
jbe 0x4ed1e6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
cmp byte [eax + 0x21], 1
jne 0x4ed191
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004e358c
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.004e2b8c
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
mov edx, 0x4ed2e0
call fcn.0040a638
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.004ef118
jmp 0x4ed1e6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x29c]
call fcn.00404338
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.00405658
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.00404338
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.00404338
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2a0], edx
mov eax, dword [ebp - 4]
call fcn.004e3564
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
je 0x4ed251
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x130]
mov eax, dword [ebp - 4]
call fcn.004e3e0c
movzx edx, byte [ebp - 0x31]
mov eax, dword [ebp - 4]
call fcn.004e34c0
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.004e34d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed2bb
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.004051ec
lea eax, [ebp - 0x68]
mov edx, 0xa
call fcn.004051ec
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004051ec
ret