Function at 0x4e3798
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4e37a1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
call fcn.00405f48
xor eax, eax
push ebp
push 0x4e3b86
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x4e3ba0
lea edx, [ebp - 0x54]
mov eax, ebx
call fcn.0040c63c
push dword [ebp - 0x54]
push 0x4e3bbc
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.004063ec
mov edx, dword [ebp - 0x50]
mov ecx, 0x4e3bcc
mov eax, dword [ebp - 4]
call fcn.004bd7a8
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x4e3bf0
mov edx, 0x4e3c04
mov eax, dword [ebp - 8]
call fcn.004bd7a8
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4e3bf0
mov edx, 0x4e3c20
mov eax, dword [ebp - 8]
call fcn.004bd7a8
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4e3bf0
mov edx, 0x4e3c40
mov eax, dword [ebp - 8]
call fcn.004bd7a8
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x4e3bf0
mov edx, 0x4e3c5c
mov eax, dword [ebp - 8]
call fcn.004bd7a8
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4e3bf0
mov edx, 0x4e3c80
mov eax, dword [ebp - 8]
call fcn.004bd7a8
lea eax, [ebp - 0x20]
push eax
xor ecx, ecx
mov edx, 0x4e3ca0
mov eax, dword [ebp - 0x10]
call fcn.0040a21c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x20]
call fcn.00405fb4
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
mov edx, 0x4e3cb0
mov eax, dword [ebp - 0x10]
call fcn.0040a21c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x24]
call fcn.00405fb4
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0040c8ec
test al, al
je 0x4e3b51
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
call fcn.0040c940
test al, al
jne 0x4e38df
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
jne 0x4e38ed
cmp dword [ebp - 0x40], 0
jae 0x4e3902
jmp 0x4e38ef
jge 0x4e3902
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
neg eax
adc edx, 0
neg edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x3d8]
call fcn.00476948
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.0040d03c
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x1c]
call fcn.004bd1e4
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x1c]
call fcn.00405fb4
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
call fcn.0040cd44
test al, al
je 0x4e396f
mov eax, dword [ebp - 0x1c]
call fcn.004bd330
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x38], 0
jbe 0x4e396f
mov eax, dword [ebp - 0x1c]
call fcn.004bd3b8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jne 0x4e3983
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
je 0x4e3b51
xor eax, eax
push ebp
push 0x4e39bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x37c]
mov edx, dword [eax]
call dword [edx + 0x64]
test al, al
je 0x4e39b1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x37c]
call fcn.004caeec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e39c5
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x37c]
call fcn.004dfeec
add eax, 0xc
mov edx, 0x4e3cc0
call fcn.00405f60
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x37c]
call fcn.004dfeec
add eax, 0x78
mov edx, 0x4e3ce4
call fcn.00405f60
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x380]
mov byte [eax + 0x38], 0
mov dl, 1
mov eax, dword [0x41f5e8]
call fcn.0040425c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
call fcn.00424fb4
xor eax, eax
push ebp
push 0x4e3a57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x37c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc]
call fcn.004de1a4
mov eax, dword [0x4f6634]
mov eax, dword [eax]
call fcn.00476158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e3a61
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x37c]
call fcn.004caeec
mov bl, 1
mov eax, dword [ebp - 0x18]
mov edx, 0x4e3cf8
call fcn.00406594
jne 0x4e3aca
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
call fcn.004bdeb4
mov ebx, eax
test bl, bl
je 0x4e3aca
mov eax, dword [ebp - 0x44]
call fcn.00424fb4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
call fcn.00424a78
mov eax, dword [ebp - 0x48]
call fcn.0040312c
test bl, bl
je 0x4e3afb
xor eax, eax
push ebp
push 0x4e3af1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
call fcn.00424f30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e3afb
mov eax, dword [ebp - 0x44]
call fcn.00424fb4
mov eax, dword [ebp - 0x44]
call fcn.0040428c
mov eax, dword [ebp - 0x1c]
call fcn.0040cd44
test al, al
je 0x4e3b33
mov eax, dword [ebp - 0x1c]
call fcn.004bd330
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x38], 0
jbe 0x4e3b33
mov eax, dword [ebp - 0x1c]
call fcn.004bd3b8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jne 0x4e3b43
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
je 0x4e3b51
mov eax, dword [ebp - 0x1c]
call fcn.00405fec
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x3cc], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3b8d
lea eax, [ebp - 0x60]
mov edx, 5
call fcn.00405f58
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00405f58
ret