Function at 0x519a40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x52
push 0
push 0
dec ecx
jne 0x519a49
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00405318
xor eax, eax
push ebp
push 0x519f29
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov edx, 0x519f38
lea eax, [ebp - 0x58]
call fcn.004036b8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0x58]
mov cl, 0x45
call fcn.00403688
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x10]
call fcn.004050fc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0051a1b0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00519314
mov eax, dword [ebp - 4]
push eax
push 0x51a170
lea ecx, [ebp - 0x6c]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004819c4
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x5c]
call fcn.0048191c
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 8]
add edx, 0x23a
call fcn.004050fc
mov edx, dword [ebp - 0x70]
pop eax
call fcn.00409abc
test eax, eax
je 0x519b5d
mov edx, 0x519f44
lea eax, [ebp - 0xb8]
call fcn.004036b8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0xb8]
mov cl, 0x41
call fcn.00403688
lea edx, [ebp - 0xb8]
lea eax, [ebp - 0x104]
call fcn.004036b8
mov edx, 0x519f4c
lea eax, [ebp - 0x104]
mov cl, 0x49
call fcn.00403688
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x74]
call fcn.004050fc
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.0051a1b0
xor ebx, ebx
jmp 0x519ec3
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x25b]
dec al
je 0x519b78
sub al, 2
je 0x519cd1
jmp 0x519e9d
mov eax, dword [ebp - 8]
cmp byte [eax + 0x130], 0
je 0x519c19
push ebp
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 8]
add edx, 0x3d
call fcn.004050fc
mov eax, dword [ebp - 0x108]
call fcn.005198a0
pop ecx
mov ebx, eax
test bl, bl
jne 0x519e9d
mov edx, 0x519f58
lea eax, [ebp - 0x150]
call fcn.004036b8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0x150]
mov cl, 0x43
call fcn.00403688
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x19c]
call fcn.004036b8
mov edx, 0x519f60
lea eax, [ebp - 0x19c]
mov cl, 0x4a
call fcn.00403688
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x10c]
call fcn.004050fc
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.0051a1b0
jmp 0x519e9d
push ebp
mov eax, dword [ebp - 8]
lea edx, [eax + 0x3d]
lea eax, [ebp - 0x230]
call fcn.004036b8
mov eax, dword [ebp - 8]
lea edx, [eax + 0xa2]
lea eax, [ebp - 0x230]
mov cl, 0x8c
call fcn.00403688
lea edx, [ebp - 0x230]
lea eax, [ebp - 0x1a0]
call fcn.004050fc
mov eax, dword [ebp - 0x1a0]
call fcn.005199b4
pop ecx
test al, al
jne 0x519e9d
xor ebx, ebx
mov edx, 0x519f68
lea eax, [ebp - 0xb8]
call fcn.004036b8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0xb8]
mov cl, 0x41
call fcn.00403688
lea edx, [ebp - 0xb8]
lea eax, [ebp - 0x280]
call fcn.004036b8
mov edx, 0x519f70
lea eax, [ebp - 0x280]
mov cl, 0x48
call fcn.00403688
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x234]
call fcn.004050fc
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 4]
call fcn.0051a1b0
jmp 0x519e9d
lea eax, [ebp - 0x284]
mov edx, dword [ebp - 8]
add edx, 0xa2
call fcn.004050fc
mov eax, dword [ebp - 0x284]
mov edx, 0x519f80
call fcn.00409abc
test eax, eax
jne 0x519d4d
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x519d05
sub eax, 4
mov eax, dword [eax]
inc eax
call fcn.00402f7c
mov esi, eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x519d19
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
call fcn.00405388
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004032b8
push esi
push 0
push 0x7eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov eax, esi
call fcn.00402f98
xor ebx, ebx
jmp 0x519e9d
mov eax, dword [ebp - 8]
cmp byte [eax + 0x130], 0
je 0x519dee
push ebp
lea eax, [ebp - 0x288]
mov edx, dword [ebp - 8]
add edx, 0x3d
call fcn.004050fc
mov eax, dword [ebp - 0x288]
call fcn.005198a0
pop ecx
mov ebx, eax
test bl, bl
jne 0x519e9d
mov edx, 0x519f58
lea eax, [ebp - 0x150]
call fcn.004036b8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0x150]
mov cl, 0x43
call fcn.00403688
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x19c]
call fcn.004036b8
mov edx, 0x519f60
lea eax, [ebp - 0x19c]
mov cl, 0x4a
call fcn.00403688
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x28c]
call fcn.004050fc
mov edx, dword [ebp - 0x28c]
mov eax, dword [ebp - 4]
call fcn.0051a1b0
jmp 0x519e9d
push ebp
mov eax, dword [ebp - 8]
lea edx, [eax + 0x3d]
lea eax, [ebp - 0x230]
call fcn.004036b8
mov eax, dword [ebp - 8]
lea edx, [eax + 0xa2]
lea eax, [ebp - 0x230]
mov cl, 0x8c
call fcn.00403688
lea edx, [ebp - 0x230]
lea eax, [ebp - 0x290]
call fcn.004050fc
mov eax, dword [ebp - 0x290]
call fcn.005199b4
pop ecx
test al, al
jne 0x519e9d
xor ebx, ebx
mov edx, 0x519f68
lea eax, [ebp - 0xb8]
call fcn.004036b8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0xb8]
mov cl, 0x41
call fcn.00403688
lea edx, [ebp - 0xb8]
lea eax, [ebp - 0x280]
call fcn.004036b8
mov edx, 0x519f70
lea eax, [ebp - 0x280]
mov cl, 0x48
call fcn.00403688
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x294]
call fcn.004050fc
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 4]
call fcn.0051a1b0
mov eax, dword [ebp - 0xc]
call fcn.00405328
mov edx, eax
lea eax, [ebp - 0x298]
call fcn.00405090
mov eax, dword [ebp - 0x298]
call fcn.00405328
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519f30
lea eax, [ebp - 0x298]
mov edx, 6
call fcn.00404ebc
lea eax, [ebp - 0x234]
call fcn.00404e98
lea eax, [ebp - 0x1a0]
call fcn.00404e98
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404ebc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404ebc
lea eax, [ebp - 0x5c]
call fcn.00404e98
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404ebc
ret